Class: Google::Cloud::AIPlatform::V1::FeatureGroup::BigQuery
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::FeatureGroup::BigQuery
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/feature_group.rb
Overview
Input source type for BigQuery Tables and Views.
Defined Under Namespace
Classes: TimeSeries
Instance Attribute Summary collapse
-
#big_query_source ⇒ ::Google::Cloud::AIPlatform::V1::BigQuerySource
Required.
-
#dense ⇒ ::Boolean
Optional.
-
#entity_id_columns ⇒ ::Array<::String>
Optional.
-
#static_data_source ⇒ ::Boolean
Optional.
-
#time_series ⇒ ::Google::Cloud::AIPlatform::V1::FeatureGroup::BigQuery::TimeSeries
Optional.
Instance Attribute Details
#big_query_source ⇒ ::Google::Cloud::AIPlatform::V1::BigQuerySource
Returns Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_group.rb', line 97 class BigQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] timestamp_column # @return [::String] # Optional. Column hosting timestamp values for a time-series source. # Will be used to determine the latest `feature_values` for each entity. # Optional. If not provided, column named `feature_timestamp` of # type `TIMESTAMP` will be used. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#dense ⇒ ::Boolean
Returns 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.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_group.rb', line 97 class BigQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] timestamp_column # @return [::String] # Optional. Column hosting timestamp values for a time-series source. # Will be used to determine the latest `feature_values` for each entity. # Optional. If not provided, column named `feature_timestamp` of # type `TIMESTAMP` will be used. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#entity_id_columns ⇒ ::Array<::String>
Returns Optional. Columns to construct entity_id / row keys.
If not provided defaults to entity_id
.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_group.rb', line 97 class BigQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] timestamp_column # @return [::String] # Optional. Column hosting timestamp values for a time-series source. # Will be used to determine the latest `feature_values` for each entity. # Optional. If not provided, column named `feature_timestamp` of # type `TIMESTAMP` will be used. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#static_data_source ⇒ ::Boolean
Returns Optional. Set if the data source is not a time-series.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_group.rb', line 97 class BigQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] timestamp_column # @return [::String] # Optional. Column hosting timestamp values for a time-series source. # Will be used to determine the latest `feature_values` for each entity. # Optional. If not provided, column named `feature_timestamp` of # type `TIMESTAMP` will be used. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#time_series ⇒ ::Google::Cloud::AIPlatform::V1::FeatureGroup::BigQuery::TimeSeries
Returns 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 with feature_timestamp
as timestamp column and no scan boundary.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_group.rb', line 97 class BigQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] timestamp_column # @return [::String] # Optional. Column hosting timestamp values for a time-series source. # Will be used to determine the latest `feature_values` for each entity. # Optional. If not provided, column named `feature_timestamp` of # type `TIMESTAMP` will be used. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |