Optional. If the source is a time-series source, this can be set to control how downstream sources (ex:FeatureView) will treat time-series sources. If not set, will treat the source as a time-series source withfeature_timestampas timestamp column and no scan boundary.
↳ dense
bool
Optional. If set, all feature values will be fetched from a single row per unique entityId including nulls. If not set, will collapse all rows for each unique entityId into a singe row with any non-null values if present, if no non-null values are present will sync null. ex: If source has schema(entity_id, feature_timestamp, f0, f1)and the following rows:(e1, 2020-01-01T10:00:00.123Z, 10, 15)(e1, 2020-02-01T10:00:00.123Z, 20, null)If dense is set,(e1, 20, null)is synced to online stores. If dense is not set,(e1, 20, 15)is synced to online stores.
getBigQuerySource
Required. Immutable. The BigQuery source URI that points to either a
BigQuery Table or View.
Optional. Columns to construct entity_id / row keys.
If not provided defaults toentity_id.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getStaticDataSource
Optional. Set if the data source is not a time-series.
Returns
Type
Description
bool
setStaticDataSource
Optional. Set if the data source is not a time-series.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getTimeSeries
Optional. If the source is a time-series source, this can be set to
control how downstream sources (ex:FeatureView) will treat
time-series sources. If not set, will treat the source as a time-series
source withfeature_timestampas timestamp column and no scan boundary.
Optional. If the source is a time-series source, this can be set to
control how downstream sources (ex:FeatureView) will treat
time-series sources. If not set, will treat the source as a time-series
source withfeature_timestampas timestamp column and no scan boundary.
Optional. If set, all feature values will be fetched
from a single row per unique entityId including nulls.
If not set, will collapse all rows for each unique entityId into a singe
row with any non-null values if present, if no non-null values are
present will sync null.
ex: If source has schema(entity_id, feature_timestamp, f0, f1)and the following rows:(e1, 2020-01-01T10:00:00.123Z, 10, 15)(e1, 2020-02-01T10:00:00.123Z, 20, null)If dense is set,(e1, 20, null)is synced to online stores. If dense is
not set,(e1, 20, 15)is synced to online stores.
Returns
Type
Description
bool
setDense
Optional. If set, all feature values will be fetched
from a single row per unique entityId including nulls.
If not set, will collapse all rows for each unique entityId into a singe
row with any non-null values if present, if no non-null values are
present will sync null.
ex: If source has schema(entity_id, feature_timestamp, f0, f1)and the following rows:(e1, 2020-01-01T10:00:00.123Z, 10, 15)(e1, 2020-02-01T10:00:00.123Z, 20, null)If dense is set,(e1, 20, null)is synced to online stores. If dense is
not set,(e1, 20, 15)is synced to online stores.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Ai Platform V1 Client - Class BigQuery (1.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.35.0 (latest)](/php/docs/reference/cloud-ai-platform/latest/V1.FeatureGroup.BigQuery)\n- [1.34.0](/php/docs/reference/cloud-ai-platform/1.34.0/V1.FeatureGroup.BigQuery)\n- [1.33.0](/php/docs/reference/cloud-ai-platform/1.33.0/V1.FeatureGroup.BigQuery)\n- [1.32.1](/php/docs/reference/cloud-ai-platform/1.32.1/V1.FeatureGroup.BigQuery)\n- [1.31.0](/php/docs/reference/cloud-ai-platform/1.31.0/V1.FeatureGroup.BigQuery)\n- [1.30.0](/php/docs/reference/cloud-ai-platform/1.30.0/V1.FeatureGroup.BigQuery)\n- [1.26.0](/php/docs/reference/cloud-ai-platform/1.26.0/V1.FeatureGroup.BigQuery)\n- [1.23.0](/php/docs/reference/cloud-ai-platform/1.23.0/V1.FeatureGroup.BigQuery)\n- [1.22.0](/php/docs/reference/cloud-ai-platform/1.22.0/V1.FeatureGroup.BigQuery)\n- [1.21.0](/php/docs/reference/cloud-ai-platform/1.21.0/V1.FeatureGroup.BigQuery)\n- [1.20.0](/php/docs/reference/cloud-ai-platform/1.20.0/V1.FeatureGroup.BigQuery)\n- [1.19.0](/php/docs/reference/cloud-ai-platform/1.19.0/V1.FeatureGroup.BigQuery)\n- [1.18.0](/php/docs/reference/cloud-ai-platform/1.18.0/V1.FeatureGroup.BigQuery)\n- [1.17.0](/php/docs/reference/cloud-ai-platform/1.17.0/V1.FeatureGroup.BigQuery)\n- [1.16.0](/php/docs/reference/cloud-ai-platform/1.16.0/V1.FeatureGroup.BigQuery)\n- [1.15.0](/php/docs/reference/cloud-ai-platform/1.15.0/V1.FeatureGroup.BigQuery)\n- [1.14.0](/php/docs/reference/cloud-ai-platform/1.14.0/V1.FeatureGroup.BigQuery)\n- [1.13.1](/php/docs/reference/cloud-ai-platform/1.13.1/V1.FeatureGroup.BigQuery)\n- [1.12.0](/php/docs/reference/cloud-ai-platform/1.12.0/V1.FeatureGroup.BigQuery)\n- [1.11.0](/php/docs/reference/cloud-ai-platform/1.11.0/V1.FeatureGroup.BigQuery)\n- [1.10.0](/php/docs/reference/cloud-ai-platform/1.10.0/V1.FeatureGroup.BigQuery)\n- [1.9.0](/php/docs/reference/cloud-ai-platform/1.9.0/V1.FeatureGroup.BigQuery)\n- [1.8.0](/php/docs/reference/cloud-ai-platform/1.8.0/V1.FeatureGroup.BigQuery)\n- [1.7.0](/php/docs/reference/cloud-ai-platform/1.7.0/V1.FeatureGroup.BigQuery)\n- [1.6.0](/php/docs/reference/cloud-ai-platform/1.6.0/V1.FeatureGroup.BigQuery)\n- [1.5.0](/php/docs/reference/cloud-ai-platform/1.5.0/V1.FeatureGroup.BigQuery)\n- [1.4.0](/php/docs/reference/cloud-ai-platform/1.4.0/V1.FeatureGroup.BigQuery)\n- [1.3.0](/php/docs/reference/cloud-ai-platform/1.3.0/V1.FeatureGroup.BigQuery)\n- [1.2.0](/php/docs/reference/cloud-ai-platform/1.2.0/V1.FeatureGroup.BigQuery)\n- [1.1.0](/php/docs/reference/cloud-ai-platform/1.1.0/V1.FeatureGroup.BigQuery)\n- [1.0.0](/php/docs/reference/cloud-ai-platform/1.0.0/V1.FeatureGroup.BigQuery)\n- [0.39.0](/php/docs/reference/cloud-ai-platform/0.39.0/V1.FeatureGroup.BigQuery)\n- [0.38.0](/php/docs/reference/cloud-ai-platform/0.38.0/V1.FeatureGroup.BigQuery)\n- [0.37.1](/php/docs/reference/cloud-ai-platform/0.37.1/V1.FeatureGroup.BigQuery)\n- [0.32.0](/php/docs/reference/cloud-ai-platform/0.32.0/V1.FeatureGroup.BigQuery)\n- [0.31.0](/php/docs/reference/cloud-ai-platform/0.31.0/V1.FeatureGroup.BigQuery)\n- [0.30.0](/php/docs/reference/cloud-ai-platform/0.30.0/V1.FeatureGroup.BigQuery)\n- [0.29.0](/php/docs/reference/cloud-ai-platform/0.29.0/V1.FeatureGroup.BigQuery)\n- [0.28.0](/php/docs/reference/cloud-ai-platform/0.28.0/V1.FeatureGroup.BigQuery)\n- [0.27.0](/php/docs/reference/cloud-ai-platform/0.27.0/V1.FeatureGroup.BigQuery)\n- [0.26.2](/php/docs/reference/cloud-ai-platform/0.26.2/V1.FeatureGroup.BigQuery)\n- [0.25.0](/php/docs/reference/cloud-ai-platform/0.25.0/V1.FeatureGroup.BigQuery)\n- [0.24.0](/php/docs/reference/cloud-ai-platform/0.24.0/V1.FeatureGroup.BigQuery)\n- [0.23.0](/php/docs/reference/cloud-ai-platform/0.23.0/V1.FeatureGroup.BigQuery)\n- [0.22.0](/php/docs/reference/cloud-ai-platform/0.22.0/V1.FeatureGroup.BigQuery)\n- [0.21.0](/php/docs/reference/cloud-ai-platform/0.21.0/V1.FeatureGroup.BigQuery)\n- [0.20.0](/php/docs/reference/cloud-ai-platform/0.20.0/V1.FeatureGroup.BigQuery)\n- [0.19.0](/php/docs/reference/cloud-ai-platform/0.19.0/V1.FeatureGroup.BigQuery)\n- [0.18.0](/php/docs/reference/cloud-ai-platform/0.18.0/V1.FeatureGroup.BigQuery)\n- [0.17.0](/php/docs/reference/cloud-ai-platform/0.17.0/V1.FeatureGroup.BigQuery)\n- [0.16.0](/php/docs/reference/cloud-ai-platform/0.16.0/V1.FeatureGroup.BigQuery)\n- [0.15.0](/php/docs/reference/cloud-ai-platform/0.15.0/V1.FeatureGroup.BigQuery)\n- [0.13.0](/php/docs/reference/cloud-ai-platform/0.13.0/V1.FeatureGroup.BigQuery)\n- [0.12.0](/php/docs/reference/cloud-ai-platform/0.12.0/V1.FeatureGroup.BigQuery)\n- [0.11.1](/php/docs/reference/cloud-ai-platform/0.11.1/V1.FeatureGroup.BigQuery)\n- [0.10.0](/php/docs/reference/cloud-ai-platform/0.10.0/V1.FeatureGroup.BigQuery) \nReference documentation and code samples for the Google Cloud Ai Platform V1 Client class BigQuery.\n\nInput source type for BigQuery Tables and Views.\n\nGenerated from protobuf message `google.cloud.aiplatform.v1.FeatureGroup.BigQuery`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AIPlatform \\\\ V1 \\\\ FeatureGroup\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBigQuerySource\n\nRequired. Immutable. The BigQuery source URI that points to either a\nBigQuery Table or View.\n\n### hasBigQuerySource\n\n### clearBigQuerySource\n\n### setBigQuerySource\n\nRequired. Immutable. The BigQuery source URI that points to either a\nBigQuery Table or View.\n\n### getEntityIdColumns\n\nOptional. Columns to construct entity_id / row keys.\n\nIf not provided defaults to `entity_id`.\n\n### setEntityIdColumns\n\nOptional. Columns to construct entity_id / row keys.\n\nIf not provided defaults to `entity_id`.\n\n### getStaticDataSource\n\nOptional. Set if the data source is not a time-series.\n\n### setStaticDataSource\n\nOptional. Set if the data source is not a time-series.\n\n### getTimeSeries\n\nOptional. If the source is a time-series source, this can be set to\ncontrol how downstream sources (ex:\n[FeatureView](/php/docs/reference/cloud-ai-platform/latest/V1.FeatureView) ) will treat\ntime-series sources. If not set, will treat the source as a time-series\nsource with `feature_timestamp` as timestamp column and no scan boundary.\n\n### hasTimeSeries\n\n### clearTimeSeries\n\n### setTimeSeries\n\nOptional. If the source is a time-series source, this can be set to\ncontrol how downstream sources (ex:\n[FeatureView](/php/docs/reference/cloud-ai-platform/latest/V1.FeatureView) ) will treat\ntime-series sources. If not set, will treat the source as a time-series\nsource with `feature_timestamp` as timestamp column and no scan boundary.\n\n### getDense\n\nOptional. If set, all feature values will be fetched\nfrom a single row per unique entityId including nulls.\n\nIf not set, will collapse all rows for each unique entityId into a singe\nrow with any non-null values if present, if no non-null values are\npresent will sync null.\nex: If source has schema\n`(entity_id, feature_timestamp, f0, f1)` and the following rows:\n`(e1, 2020-01-01T10:00:00.123Z, 10, 15)`\n`(e1, 2020-02-01T10:00:00.123Z, 20, null)`\nIf dense is set, `(e1, 20, null)` is synced to online stores. If dense is\nnot set, `(e1, 20, 15)` is synced to online stores.\n\n### setDense\n\nOptional. If set, all feature values will be fetched\nfrom a single row per unique entityId including nulls.\n\nIf not set, will collapse all rows for each unique entityId into a singe\nrow with any non-null values if present, if no non-null values are\npresent will sync null.\nex: If source has schema\n`(entity_id, feature_timestamp, f0, f1)` and the following rows:\n`(e1, 2020-01-01T10:00:00.123Z, 10, 15)`\n`(e1, 2020-02-01T10:00:00.123Z, 20, null)`\nIf dense is set, `(e1, 20, null)` is synced to online stores. If dense is\nnot set, `(e1, 20, 15)` is synced to online stores."]]