Skip to content


definition: str


Displays the feature definition file of the feature. The file is the single source of truth for a feature version. The file is generated automatically after a feature is declared in the SDK and is stored in the FeatureByte Service.

This file uses the same SDK syntax as the feature declaration and provides an explicit outline of the intended operations of the feature declaration, including those that are inherited but not explicitly declared by the user. These operations may include feature job settings and cleaning operations inherited from tables metadata.

The feature definition file serves as the basis for generating the final logical execution graph, which is then transpiled into platform-specific SQL (e.g. SnowSQL, SparkSQL) for feature materialization.


  • str


>>> feature = catalog.get_feature("InvoiceCount_60days")
>>> feature_definition = feature.definition