Hello there,
In my firm we have the data ingested from various streams all to Bigquery.
The problem is that we have many views(hundreds) written in legacySQL, so when we interrogate the DB when using these views, the synthax must be written in legacy.
In order to fix this problem and be able to improve performance and compatibility for the future, we're thinking about migrating all the views in standardsql.
Could you please help me to understand how this should be managed?
My idea was to first understand the dependencies of the views and tables, in order to start doing tests on the "leaf" nodes, is there any way to do this using any tool in GCP or Vertex?
Then i thought to extract all the queries of the views and using maybe the Gemini API to get the query written in standard, but maybe there is some tool that does this natively.
About the process of changing step by step all the calls to the new views, what would be the best way to do it?
Thanks a lot in advance
Solved! Go to Solution.
Hi @krahel,
Welcome to Google Cloud Community!
To answer your question, you can follow these steps if you are planning to migrate from legacySQL to standard SQL:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @krahel,
Welcome to Google Cloud Community!
To answer your question, you can follow these steps if you are planning to migrate from legacySQL to standard SQL:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.