hops.featurestore_impl.exceptions package

Submodules

hops.featurestore_impl.exceptions.exceptions module

Exceptions thrown by the feature store python client

exception hops.featurestore_impl.exceptions.exceptions.CannotDisableOnlineFeatureServingForOnDemandFeatureGroup

Bases: exceptions.Exception

This exception will be raised if the user calls featurestore.disable_featuregroup_online(fg1) where fg1 is an on-demand feature group

exception hops.featurestore_impl.exceptions.exceptions.CannotEnableOnlineFeatureServingForOnDemandFeatureGroup

Bases: exceptions.Exception

This exception will be raised if the user calls featurestore.enable_featuregroup_online(fg1) where fg1 is an on-demand feature group

exception hops.featurestore_impl.exceptions.exceptions.CannotGetPartitionsOfOnDemandFeatureGroup

Bases: exceptions.Exception

This exception will be raised if the user calls featurestore.get_featuregroup_partitions(fg1) where fg1 is an on-demand feature group

exception hops.featurestore_impl.exceptions.exceptions.CannotInsertIntoOnDemandFeatureGroup

Bases: exceptions.Exception

This exception will be raised if the user calls featurestore.insert_into_featuregroup(fg1) where fg1 is an on-demand feature group

exception hops.featurestore_impl.exceptions.exceptions.CannotUpdateStatisticsOfOnDemandFeatureGroup

Bases: exceptions.Exception

This exception will be raised if the user calls featurestore.update_featuregroup_stats(fg1) where fg1 is an on-demand feature group

exception hops.featurestore_impl.exceptions.exceptions.CouldNotConvertDataframe

Bases: exceptions.Exception

This exception will be raised if a dataframe cannot be converted to/from spark

exception hops.featurestore_impl.exceptions.exceptions.DescriptiveStatisticsNotComputed

Bases: exceptions.Exception

This exception will be raised if the user tries to visualize feature clusters for a feature group or training dataset for which the clusters have not been computed

exception hops.featurestore_impl.exceptions.exceptions.FeatureClustersNotComputed

Bases: exceptions.Exception

This exception will be raised if the user tries to visualize feature clusters for a feature group or training dataset for which the clusters have not been computed

exception hops.featurestore_impl.exceptions.exceptions.FeatureCorrelationsNotComputed

Bases: exceptions.Exception

This exception will be raised if the user tries to visualize feature correlations for a feature group or training dataset for which the correlations have not been computed

exception hops.featurestore_impl.exceptions.exceptions.FeatureDistributionsNotComputed

Bases: exceptions.Exception

This exception will be raised if the user tries to visualize feature distributions for a feature group or training dataset for which the distributions have not been computed

exception hops.featurestore_impl.exceptions.exceptions.FeatureNameCollisionError

Bases: exceptions.Exception

This exception will be raised if a requested feature cannot be uniquely identified in the feature store

exception hops.featurestore_impl.exceptions.exceptions.FeatureNotFound

Bases: exceptions.Exception

This exception will be raised if a requested feature cannot be found

exception hops.featurestore_impl.exceptions.exceptions.FeatureVisualizationError

Bases: exceptions.Exception

This exception will be raised if there is an error in visualization feature statistics

exception hops.featurestore_impl.exceptions.exceptions.FeaturegroupNotFound

Bases: exceptions.Exception

This exception will be raised if a requested featuregroup cannot be found

exception hops.featurestore_impl.exceptions.exceptions.HDF5DatasetFormatNotSupportedForExternalTrainingDatasets

Bases: exceptions.Exception

This exception will be raised if the user tries to create an external training dataset with the .npy format. .npy datasets are not supported for external training datasets.

exception hops.featurestore_impl.exceptions.exceptions.HiveDatabaseNotFound

Bases: exceptions.Exception

This exception will be raised if the hive database of the featurestore could not be found

exception hops.featurestore_impl.exceptions.exceptions.HiveNotEnabled

Bases: exceptions.Exception

This exception will be raised if the user tries to peform featurestore operations using SparkSQL when hive is not enabled.

exception hops.featurestore_impl.exceptions.exceptions.InferJoinKeyError

Bases: exceptions.Exception

This exception will be raised if a join key for a featurestore query cannot be inferred

exception hops.featurestore_impl.exceptions.exceptions.InferTFRecordSchemaError

Bases: exceptions.Exception

This exception will be raised if there is an error in inferring the tfrecord schema of a dataframe

exception hops.featurestore_impl.exceptions.exceptions.InvalidPrimaryKey

Bases: exceptions.Exception

This exception will be raised if a user specified an invalid primary key of a featuregroup

exception hops.featurestore_impl.exceptions.exceptions.NumpyDatasetFormatNotSupportedForExternalTrainingDatasets

Bases: exceptions.Exception

This exception will be raised if the user tries to create an external training dataset with the .npy format. .npy datasets are not supported for external training datasets.

exception hops.featurestore_impl.exceptions.exceptions.OnlineFeaturestoreNotEnabled

Bases: exceptions.Exception

This exception will be raised if the user tries to interact with the online featurestore but it is not enabled

exception hops.featurestore_impl.exceptions.exceptions.OnlineFeaturestorePasswordOrUserNotFound

Bases: exceptions.Exception

This exception will be raised if the user tries to do an operation on the online feature store but a user/password for the online featurestore was not found.

exception hops.featurestore_impl.exceptions.exceptions.SparkToHiveSchemaConversionError

Bases: exceptions.Exception

This exception will be raised if there is an error in translating the spark schema to a hive schema

exception hops.featurestore_impl.exceptions.exceptions.SparkToMySQLSchemaConversionError

Bases: exceptions.Exception

This exception will be raised if there is an error in translating the spark schema to a MySQL schema

exception hops.featurestore_impl.exceptions.exceptions.StatisticsComputationError

Bases: exceptions.Exception

This exception will be raised if there is an error computing the statistics of a feature group or training dataset

exception hops.featurestore_impl.exceptions.exceptions.StorageConnectorNotFound

Bases: exceptions.Exception

This exception will be raised if a requested storage connector cannot be found

exception hops.featurestore_impl.exceptions.exceptions.StorageConnectorTypeNotSupportedForFeatureImport

Bases: exceptions.Exception

This exception will be raised if the user tries to import a feature group using a storage connector type that is not supported

exception hops.featurestore_impl.exceptions.exceptions.TFRecordSchemaNotFound

Bases: exceptions.Exception

This exception will be raised if the tfrecord schema for a training dataset could not be found

exception hops.featurestore_impl.exceptions.exceptions.TrainingDatasetNotFound

Bases: exceptions.Exception

This exception will be raised if a requested training dataset cannot be found

Module contents