-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi team, I'm trying to analyze table dependencies in a set of BigQuery queries, but I haven't found any lightweight and robust solution written in Python yet:
- Google released their parser framework but seems that it's almost not runnable on common laptop
- Didn't find any decent parser that works on all my queries (all verified as valid syntax in BigQuery console) 😿
Currently I just only need to pick out all the tables that appears in the query with no BigQuery view involved, which I think the approach proposed in this package (regex-matching potential candidates) looks promising for solving this type of question. Right now this package requires BigQuery access to retrieve query defined in the dataset with no offline support. Any possibility to provide module that extracts potential source dependency (table and view names), given a string that represents some BigQuery SELECT statement?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels