BigQuery syntax change: CREATE CAPACITY / RESERVATION ASSIGNMENT
nene opened this issue · comments
Rene Saarsoo commented
CREATE CAPACITY
project_id.location.commitment_id
AS JSON
capacity_json_object;
CREATE RESERVATION
project_id.location.reservation_id
AS JSON
reservation_json_object;
CREATE ASSIGNMENT
project_id.location.reservation_id.assignment_id
AS JSON
assignment_json_object;
New syntax (since January 12th 2023):
CREATE CAPACITY
`project_id.location_id.commitment_id`
OPTIONS (capacity_commitment_option_list);
CREATE RESERVATION
`project_id.location_id.reservation_id`
OPTIONS (reservation_option_list);
CREATE ASSIGNMENT
`project_id.location_id.reservation_id.assignment_id`
OPTIONS (assignment_option_list);
Rene Saarsoo commented
Wrong repo. Moved to: nene/sql-parser-cst#29