Replies: 2 comments 14 replies
-
However, SQLAlchemy does not currently support PARTITION BY and CLUSTER BY for BigQuery. That thread is from 2022, I would say the first thing is to check (including on that thread) if there has been any progress. It will be much easier to support this feature in LinkML if it's in SQLA. Otherwise, we can explore ways to bolt these, on e.g.. by subclassing the generator, but this may be complicated |
Beta Was this translation helpful? Give feedback.
-
Using SQLA would result in generation of python code. The end user in this situation prefers the generation of SQL queries similar to what we get from |
Beta Was this translation helpful? Give feedback.
-
I have data in BigQuery tables, does LinkML's gen-sqltables have the possibility of generating queries having PARTITION BY and CLUSTER BY right out of the box?
My initial thought was to create a
BigQueryGenerator
class inheriting fromSQLTableGenerator
, along with agen-bigquery
command, and extending the schema to includepartition_by
andclustered_by
attributes.Slack thread
Beta Was this translation helpful? Give feedback.
All reactions