module table_mixin
Mixin class containing Table specific methods
To be used by OpenMetadata class
Global Variables
- LRU_CACHE_SIZE
class OMetaTableMixin
OpenMetadata API methods related to Tables.
To be inherited by OpenMetadata
method create_or_update_custom_metric
custom_metric(CreateCustomMetricRequest): custom metric to be create or updated
method create_or_update_table_profiler_config
fqn: Table FQN
profile_sample: new profile sample to set
Returns:
Updated table
method get_latest_table_profile
fqn(str): table fully qualified name
Optional[Table]: OM table object
method get_profile_data
fqn(str): fullyQualifiedNamestart_ts(int): start timestampend_ts(int): end timestamplimit(int, optional): limit of record to return. Defaults to 100.after(type, optional): use for API pagination. Defaults to None. profile_type (Union[Type[TableProfile], Type[ColumnProfile]], optional): Profile type to retrieve. Defaults to TableProfile.
TypeError: ifprofile_typeis not TableProfile or ColumnProfile
EntityList: EntityList list object
method get_sample_data
method ingest_profile_data
table: Table Entity to update
table_profile: Profile data to add
method ingest_table_data_model
table: Table Entity to update
data_model: Model to add
method ingest_table_sample_data
table: Table Entity to update
sample_data: Data to add
method publish_frequently_joined_with
table: Table Entity to update
table_join_request: Join data to add
method publish_table_usage
table: Table Entity to update
table_usage_request: Usage data to add