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

Struct type liquibase update error, sql syntax erro #109

Open
Paul-Dias opened this issue Feb 26, 2024 · 0 comments
Open

Struct type liquibase update error, sql syntax erro #109

Paul-Dias opened this issue Feb 26, 2024 · 0 comments

Comments

@Paul-Dias
Copy link

Paul-Dias commented Feb 26, 2024

Reason: liquibase.exception.DatabaseException: [Databricks]JDBCDriver ERROR processing query/statement. Error Code: 0, SQL state: 42601, Query: CREATE TAB***, Error message from Server: org.apache.hive.service.cli.HiveSQLException: Error running query: [PARSE_SYNTAX_ERROR] org.apache.spark.sql.catalyst.parser.ParseException:
[PARSE_SYNTAX_ERROR] Syntax error at or near '<'.(line 1, pos 75)

when a column is generated it's build like : STRUCT<TYPE:(255), but when you try to update your Changelog to databricks it doesnt work because of the size of column, if you remove "(255)" liquibase update on databricks works

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