google_api_big_query v0.8.0 GoogleApi.BigQuery.V2.Model.JobStatistics2 View Source
Attributes
- billingTier (integer()): [Output-only] Billing tier for the job. Defaults to:
null
. - cacheHit (boolean()): [Output-only] Whether the query result was fetched from the query cache. Defaults to:
null
. - ddlOperationPerformed (String.t): The DDL operation performed, possibly dependent on the pre-existence of the DDL target. Possible values (new values might be added in the future): "CREATE": The query created the DDL target. "SKIP": No-op. Example cases: the query is CREATE TABLE IF NOT EXISTS while the table already exists, or the query is DROP TABLE IF EXISTS while the table does not exist. "REPLACE": The query replaced the DDL target. Example case: the query is CREATE OR REPLACE TABLE, and the table already exists. "DROP": The query deleted the DDL target. Defaults to:
null
. - ddlTargetRoutine (RoutineReference): The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE queries. Defaults to:
null
. - ddlTargetTable (TableReference): The DDL target table. Present only for CREATE/DROP TABLE/VIEW queries. Defaults to:
null
. - estimatedBytesProcessed (String.t): [Output-only] The original estimate of bytes processed for the job. Defaults to:
null
. - modelTraining (BigQueryModelTraining): [Output-only, Beta] Information about create model query job progress. Defaults to:
null
. - modelTrainingCurrentIteration (integer()): [Output-only, Beta] Deprecated; do not use. Defaults to:
null
. - modelTrainingExpectedTotalIteration (String.t): [Output-only, Beta] Deprecated; do not use. Defaults to:
null
. - numDmlAffectedRows (String.t): [Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. Defaults to:
null
. - queryPlan ([ExplainQueryStage]): [Output-only] Describes execution plan for the query. Defaults to:
null
. - referencedTables ([TableReference]): [Output-only] Referenced tables for the job. Queries that reference more than 50 tables will not have a complete list. Defaults to:
null
. - reservationUsage ([JobStatisticsReservationUsage]): [Output-only] Job resource usage breakdown by reservation. Defaults to:
null
. - schema (TableSchema): [Output-only] The schema of the results. Present only for successful dry run of non-legacy SQL queries. Defaults to:
null
. - statementType (String.t): The type of query statement, if valid. Possible values (new values might be added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. "UPDATE": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. "MERGE": MERGE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. "ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER VIEW query. "CREATE_FUNCTION": CREATE FUNCTION query. "CREATE_MODEL": CREATE [OR REPLACE] MODEL ... AS SELECT ... . "CREATE_PROCEDURE": CREATE PROCEDURE query. "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... . "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... . "DROP_FUNCTION" : DROP FUNCTION query. "DROP_PROCEDURE": DROP PROCEDURE query. "DROP_TABLE": DROP TABLE query. "DROP_VIEW": DROP VIEW query. Defaults to:
null
. - timeline ([QueryTimelineSample]): [Output-only] [Beta] Describes a timeline of job execution. Defaults to:
null
. - totalBytesBilled (String.t): [Output-only] Total bytes billed for the job. Defaults to:
null
. - totalBytesProcessed (String.t): [Output-only] Total bytes processed for the job. Defaults to:
null
. - totalBytesProcessedAccuracy (String.t): [Output-only] For dry-run jobs, totalBytesProcessed is an estimate and this field specifies the accuracy of the estimate. Possible values can be: UNKNOWN: accuracy of the estimate is unknown. PRECISE: estimate is precise. LOWER_BOUND: estimate is lower bound of what the query would cost. UPPER_BOUND: estimate is upper bound of what the query would cost. Defaults to:
null
. - totalPartitionsProcessed (String.t): [Output-only] Total number of partitions processed from all partitioned tables referenced in the job. Defaults to:
null
. - totalSlotMs (String.t): [Output-only] Slot-milliseconds for the job. Defaults to:
null
. - undeclaredQueryParameters ([QueryParameter]): Standard SQL only: list of undeclared query parameters detected during a dry run validation. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.BigQuery.V2.Model.JobStatistics2{
billingTier: any(),
cacheHit: any(),
ddlOperationPerformed: any(),
ddlTargetRoutine: GoogleApi.BigQuery.V2.Model.RoutineReference.t(),
ddlTargetTable: GoogleApi.BigQuery.V2.Model.TableReference.t(),
estimatedBytesProcessed: any(),
modelTraining: GoogleApi.BigQuery.V2.Model.BigQueryModelTraining.t(),
modelTrainingCurrentIteration: any(),
modelTrainingExpectedTotalIteration: any(),
numDmlAffectedRows: any(),
queryPlan: [GoogleApi.BigQuery.V2.Model.ExplainQueryStage.t()],
referencedTables: [GoogleApi.BigQuery.V2.Model.TableReference.t()],
reservationUsage: [
GoogleApi.BigQuery.V2.Model.JobStatisticsReservationUsage.t()
],
schema: GoogleApi.BigQuery.V2.Model.TableSchema.t(),
statementType: any(),
timeline: [GoogleApi.BigQuery.V2.Model.QueryTimelineSample.t()],
totalBytesBilled: any(),
totalBytesProcessed: any(),
totalBytesProcessedAccuracy: any(),
totalPartitionsProcessed: any(),
totalSlotMs: any(),
undeclaredQueryParameters: [GoogleApi.BigQuery.V2.Model.QueryParameter.t()]
}
t() :: %GoogleApi.BigQuery.V2.Model.JobStatistics2{ billingTier: any(), cacheHit: any(), ddlOperationPerformed: any(), ddlTargetRoutine: GoogleApi.BigQuery.V2.Model.RoutineReference.t(), ddlTargetTable: GoogleApi.BigQuery.V2.Model.TableReference.t(), estimatedBytesProcessed: any(), modelTraining: GoogleApi.BigQuery.V2.Model.BigQueryModelTraining.t(), modelTrainingCurrentIteration: any(), modelTrainingExpectedTotalIteration: any(), numDmlAffectedRows: any(), queryPlan: [GoogleApi.BigQuery.V2.Model.ExplainQueryStage.t()], referencedTables: [GoogleApi.BigQuery.V2.Model.TableReference.t()], reservationUsage: [ GoogleApi.BigQuery.V2.Model.JobStatisticsReservationUsage.t() ], schema: GoogleApi.BigQuery.V2.Model.TableSchema.t(), statementType: any(), timeline: [GoogleApi.BigQuery.V2.Model.QueryTimelineSample.t()], totalBytesBilled: any(), totalBytesProcessed: any(), totalBytesProcessedAccuracy: any(), totalPartitionsProcessed: any(), totalSlotMs: any(), undeclaredQueryParameters: [GoogleApi.BigQuery.V2.Model.QueryParameter.t()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.