gopidesupavan commented on code in PR #70134:
URL: https://github.com/apache/airflow/pull/70134#discussion_r3615542359
##########
providers/common/ai/src/airflow/providers/common/ai/utils/sql_validation.py:
##########
@@ -244,7 +248,9 @@ def _is_in_scope_cte(table: exp.Table) -> bool:
return False
-def collect_table_references(statements: list[exp.Expr]) -> TableScan:
+def collect_table_references(
Review Comment:
LIST @mystage is valid Snowflake SQL for listing stage files, but sqlglot
currently parses it as `exp.Alias` can we consider this cases aswell?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]