You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, local_expression.SplitPart is being used to parse and generate SQL for the custom dialects (Snow and Databricks, etc.). We should use the built-in sqlglot.expression.SplitPart instead, as it is available now. Using local_expression.SplitPart is creating some issues in reconciliation with user-provided transformation for the target. Also, in Databricks custom dialect, we don't need to override splitpart_sql method.
Expected Behavior
Use sqlglot.expression.SplitPart
Steps To Reproduce
No response
Relevant log output or Exception details
No response
Sample Query
No response
Operating System
macOS
Version
latest via Databricks CLI
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Category of Bug / Issue
ReconcileError
Current Behavior
Currently, local_expression.SplitPart is being used to parse and generate SQL for the custom dialects (Snow and Databricks, etc.). We should use the built-in
sqlglot.expression.SplitPart
instead, as it is available now. Using local_expression.SplitPart is creating some issues in reconciliation with user-provided transformation for the target. Also, in Databricks custom dialect, we don't need to overridesplitpart_sql
method.Expected Behavior
Use sqlglot.expression.SplitPart
Steps To Reproduce
No response
Relevant log output or Exception details
No response
Sample Query
No response
Operating System
macOS
Version
latest via Databricks CLI
The text was updated successfully, but these errors were encountered: