cloudspannerecosystem / memefish

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

Support CALL statement #152

Open apstndb opened 3 weeks ago

apstndb commented 3 weeks ago

Syntax

https://cloud.google.com/spanner/docs/reference/standard-sql/procedural-language#call

CALL procedure_name (procedure_argument[, …])

Example

$ go run ./tools/parse --mode statement 'CALL cancel_query("12345");'          
2024/10/20 02:01:51 syntax error: :1:1: unexpected token: <ident>

  1:  CALL cancel_query("12345");
      ^~~~
exit status 1

See also Cancel an expensive query.