hsfs.core.data_source #
[source] DataSource #
Metadata object used to provide data source information.
You can obtain data sources using [FeatureStore.get_data_source][hsfs.feature_store.FeatureStore.get_data_source].
The DataSource class encapsulates the details of a data source that can be used for reading or writing data. It supports various types of sources, such as SQL queries, database tables, file paths, and storage connectors.
[source] query property writable #
query: str | None
Get or set the SQL query string for the data source.
| RETURNS | DESCRIPTION |
|---|---|
str | None | The SQL query string. |
[source] database property writable #
database: str | None
Get or set the database name for the data source.
| RETURNS | DESCRIPTION |
|---|---|
str | None | The database name. |
[source] group property writable #
group: str | None
Get or set the group/schema name for the data source.
| RETURNS | DESCRIPTION |
|---|---|
str | None | The group or schema name. |