Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error when applying definitions.py #1444

Open
DeCockPieter-Jan opened this issue May 9, 2024 · 0 comments
Open

[Bug]: Error when applying definitions.py #1444

DeCockPieter-Jan opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DeCockPieter-Jan
Copy link

Expected Behavior

When applying the definitions.py file, Featureform should successfully register all providers, sources, transformations, features...

ClickHouse and Redis are used as providers.

Actual Behavior

When applying the definitions.py file, Featureform successfully register the providers, sources and transformations, but returns an error when trying to register a feature and label: transformation not found and table not found.

COMPLETED                                                                                                                                                                                                
 Resource Type              Name (Variant)                                      Status      Error                                                                                                        
 Provider                   clickhouse ()                                       READY                                                                                                                    
 Provider                   redis ()                                            READY                                                                                                                    
 SourceVariant              metric_events (2024-05-09t20-40-15)                 READY                                                                                                                    
 Transformation             hourly_metric_average (2024-05-09t20-40-15)         READY                                                                                                                    
 FeatureVariant             hourly_avg (2024-05-09t20-40-15)                    FAILED       transformation not found: featureform_primary__hourly_metric_average__2024-05-09t20-40-15                   
 LabelVariant               value_bool (2024-05-09t20-40-15)                    FAILED       Table metric_events Variant 2024-05-09t20-40-15 not found.                                                  
 TrainingSetVariant         metrics_training (2024-05-09t20-40-15)              FAILED       feature could not complete job: feature registration failed: name: hourly_avg, variant: 2024-05-09t20-40-15

Steps To Reproduce

  • Deploy Featureform on (local) K8s cluster using Helm
  • Portforward Featureform API server:kubectl port-forward --namespace featureform svc/featureform-api-server 7878:7878 &
  • Set Featureform host env variable: export FEATUREFORM_HOST=localhost:7878
  • Define providers, sources, transformations, features, labels... in definitions.py
  • Apply definitions: featureform apply definitions.py --insecure

What mode are you running Featureform in?

Local

What version of Python are you running?

3.10

Featureform Python Package Version

1.12.6

Featureform Helm Chart Version

0.12.1

Kubernetes Version

1.27.3

Relevant log output

No response

@DeCockPieter-Jan DeCockPieter-Jan added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant