Skip to content

PowerMind FeatureHub User Guide - Best Practices & Troubleshooting


This guide provides checklists, naming recommendations, and troubleshooting strategies to help you operate FeatureHub effectively in production environments.

1. Production Readiness Checklist

Follow these practices when moving from experimentation to production deployment:

  • Workspace Isolation: Establish distinct workspaces for environment tiers (e.g., Staging ML, Production ML) or different business units. Avoid mixing dev testing and production serving within the same workspace.
  • Always Preview First: Prior to authoring a feature view, invoke the datasource preview endpoint or use the preview option in the UI. Confirm that the exact spelling and casing of your database columns match what you write in your configurations.
  • Natural Join Keys: Whenever possible, specify natural identifiers (like user_id or product_id) as the join key. Rely on auto-generated synthetic keys only as a last resort.
  • Materialization Frequency: Materialize active feature views that contain stored features before invoking online serving lookups. Coordinate materialization updates with your batch data pipeline ingestion schedules.
  • Stable Serving Contracts: Always interface your models with Feature Services rather than raw feature references. Feature services provide a stable layer that handles version updates in the background without requiring model service restarts.
  • Secure Key Management: Plaintext integration keys are only revealed once upon creation. Keep these keys secure using a dedicated secret manager and rotate them if a leak is suspected. Revoke inactive or expired keys.

2. Naming Conventions

Using clean, descriptive naming conventions makes feature sharing and workspace navigation straightforward.

Resource Type Pattern / Rule Examples
Workspace Clear title case indicating team, project, or environment. Fraud Detection, User Recommendations, Staging Env
Datasource Lowercase snake_case, ending with the source type. customer_profiles_csv, order_history_db, clicks_stream_s3
Feature View Lowercase snake_case describing the entity or aggregation. customer_activity, merchant_risk_profile, session_clicks
Feature Service Lowercase snake_case describing the model or application domain. fraud_inference_v1, recommendation_ranking, credit_scoring

3. Troubleshooting Common Issues

Use this lookup table to resolve common errors and unexpected behaviors:

Problem Potential Root Cause Recommended Solution
Cannot create feature view The configured column names do not exist in the source data. Open the Data Sources page in the UI or query the preview endpoint to verify column spelling and casing.
Online lookup returns empty / missing values The feature view was created but not materialized. Click Materialize in the UI or call the materialization API to sync stored features to the serving database.
Online lookup returns stale features The source data updated, but the view was not re-materialized. Trigger a new materialization job after your data source completes its ingestion cycle.
Entity lookup fails You are querying with a key that doesn't match the resolved join_key. Check the feature view response metadata. If you did not supply a natural ID, use the synthetic __fh_entity_id.
Derived expression fails Syntactical error in math operators, or null division. Check division columns and protect them using nullif(col, 0). Verify that referenced columns are in the inputs array.
Data export fails The selected feature view does not contain any offline database records. Verify that the underlying datasource is fully connected and holds rows by using the preview tool.
Integration key rejected The API key and requested workspace do not match. Verify that the key was generated in the correct workspace. The key's workspace takes precedence over headers.