Google BigQuery - Select rows action (batch)

The Select rows batch action retrieves rows from a Google BigQuery table using WHERE predicates. This action filters rows that meet the specified criteria. If the query takes longer than 60 seconds and Wait for query to complete? is set to No, the action returns only the job ID. Use the Get batch of rows by Job ID action to retrieve results later.

Input

Input fieldDescription
ProjectSelect the project to bill for the query.
DatasetSelect the dataset that contains the target table.
TableSelect the table to query from the dataset.
LocationChoose the region to run the query.
Output columnsSelect the columns to return. Limiting output fields can improve performance.
WHERE PredicatesDefine filter conditions to retrieve matching rows. All predicates are joined with AND. For complex filtering, use custom SQL.
Order bySpecify the column(s) and sort direction. For example: priority asc, created_date desc.
LimitSet the maximum number of rows to return. The default and maximum is 50000. Leave blank to return the full result set.
OffsetSkip a number of rows in the result. For example, input 100 to skip the first 100 rows. The default is 0.
Wait for query to complete?Set to Yes to wait for the query to finish. If set to No, the action returns after 60 seconds with only the job ID. Use the Get batch of rows by Job ID action to retrieve results.
Table FieldsRequired if the Table field uses a datapill. Specify the table schema. It must match across all possible values of the datapill.

Output

Output fieldDescription
Output contains rows?Indicates whether the result includes row data.
RowsAn array of row objects. Each datapill represents a column value.
KindThe type of job executed. This should be queryResponse.
Job referenceIncludes the project ID, job ID, and query location. You can use the Get batch of rows by Job ID action to retrieve additional rows.
Total rowsTotal number of rows returned by the query.
Page tokenToken to retrieve the next page of results.
SchemaThe schema of the query result.
EtagA hash representing the result schema.
Total bytes processedThe number of bytes the query processed. This contributes to your BigQuery billing.
Job completeStatus of the query job. Returns Done if the job completed successfully.
Cache hitReturns true if the result came from the query cache. Returns false otherwise.

Last updated: