google / zetasql

ZetaSQL - Analyzer Framework for SQL
Apache License 2.0
2.28k stars 214 forks source link

Creating a simple catalog with tables and columns using local service #120

Open ozandogrultan opened 1 year ago

ozandogrultan commented 1 year ago

We are using a python client binding for ZetaSQL GRPC local service in our application to analyze statements and extract referenced tables and columns.

However, from what I see here, the local service doesn't have the full functionalities of the Java service, mainly creating simple catalog with tables and columns to analyze any SQL statement. Also setting analyzer options doesn't seem to be possible.

Can you point out how we can analyze statements using only the local service?