project | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided |
dataset | string or SelectItem | Yes | - | Select the BigQuery dataset to create the table in |
table_id | string | Yes | - | Table name (letters, numbers, underscore). Must not already exist unless ‘Skip Error If Already There’ is enabled. |
schema_mode | string or SelectableOption | Yes | - | Provide schema manually or auto-detect from data. Default is auto |
schema_json | string | No | - | (Manual mode) JSON array of column definitions. Example: [{“name”:“user_id”,“type”:“STRING”,“mode”:“REQUIRED”}] |
sample_data | array of object (also accepts a comma-separated string) | No | - | (Auto mode) Sample rows (list of objects) for schema autodetection |
exists_ok | boolean | No | False | If true, reuse existing table if it already exists instead of erroring. |
enable_partitioning | boolean | No | False | Enable time partitioning (use partition_field & partition_type). |
partition_field | string | No | - | Optional column name to use for time partitioning (must be DATE or TIMESTAMP in schema/autodetected). If provided and table exists already, this operation does not modify the existing table’s partitioning. |
partition_type | string or SelectableOption | No | - | Partition granularity (DAY, HOUR, MONTH, YEAR) when partition_field is set. |