cloudspannerecosystem / memefish

memefish is the foundation to analyze Spanner SQL
https://cloudspannerecosystem.dev/memefish/
MIT License
76 stars 19 forks source link

Support CREATE PLACEMENT statement #165

Closed apstndb closed 2 days ago

apstndb commented 3 weeks ago

https://cloud.google.com/spanner/docs/reference/standard-sql/data-definition-language#create-placement

CREATE PLACEMENT `placement_name` [ partition_def ]

where partition_def is:
    { OPTIONS ( instance_partition="partition_id" [, default_leader="leader_region_id" ] ) }