Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spark_optimize_delta_tables does not work on databricks #38

Open
stegus64 opened this issue Aug 15, 2024 · 0 comments
Open

spark_optimize_delta_tables does not work on databricks #38

stegus64 opened this issue Aug 15, 2024 · 0 comments

Comments

@stegus64
Copy link

I use dbt on databricks. After upgrading to the latest versions of dbt and all packages, I started getting errors from spark_utils

dbt run-operation spark_optimize_delta_tables
06:24:27 Running with dbt=1.8.4
06:24:28 Registered adapter: databricks=1.8.4
06:24:29 Found 235 models, 17 snapshots, 83 data tests, 6 seeds, 142 sources, 5 exposures, 785 macros
06:24:30 Encountered an error while running operation: Runtime Error
Runtime Error
[PARSE_SYNTAX_ERROR] Syntax error at or near '''': missing 'LIKE'. SQLSTATE: 42601 (line 2, pos 29)
== SQL ==
/
{"app": "dbt", "dbt_version": "1.8.4", "dbt_databricks_version": "1.8.4", "databricks_sql_connector_version": "3.1.2", "profile_name": "liseberg-databricks", "target_name": "dev", "connection_name": "macro_spark_optimize_delta_tables"} /
show table extended in like '
'
-----------------------------^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant