GeezerVison is showing github.com — JSQLParser Version : 4.4 hql alter table can not be parsed · Issue #1524 · JSQLParser/JSqlParser
JSQLParser Version : 4.4 hql alter table can not be parsed #1524
Description
SQL Example
- Simplyfied Query Exmple, focusing on the failing feature
ALTER TABLE tablename add column (field string)
Software Information
- JSqlParser version
- Database (hive )
Activity
manticore-projects commented on May 1, 2022
Greetings.
Thank you for your report. Unfortunately HIVE seems to prefer its own SQL dialect far away from the SQL Standard:
ALTER TABLE name ADD COLUMNS (col_spec[, col_spec ...])
Pay attention to the COLUMNS keyword.
Its not supported by JSQLParser and you would need to either send a PR or sponsor an implementation to make Hive support happening.
manticore-projects commented on May 1, 2022
From https://www.ibm.com/analytics/hadoop/hive: "Hive enables SQL developers to write Hive Query Language (HQL) statements that are similar to standard SQL statements for data query and analysis."
Emphasis is on similar. I
added a commit that references this issue
on Aug 3, 2022#1524 support hive alter sql : ALTER TABLE name ADD COLUMNS (col_spec…
zhumin-zizhu commented on Aug 4, 2022
ContributorAuthor
More actions
Metadata
Metadata
Development
No branches or pull requestsIssue actions