-
Notifications
You must be signed in to change notification settings - Fork 101
feat: generic sql based on spark sql #324
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
base: next
Are you sure you want to change the base?
Conversation
|
能否支持 insert into/overwrite db.tab [(column list)] select *, 目前db-sql-parser语法不报错需要去掉column list, 但是sparksql是支持这个语法的,https://spark.apache.org/docs/latest/sql-ref-syntax-dml-insert-table.html |
@tcodehuber 你好,能提供下你写的 SQL 吗,我这边验证的 SQL 没有语法飘红报错: INSERT INTO TABLE my_table (col1, col2, col3)
SELECT colA, colB, colC
FROM source_table
WHERE condition = 'value'; 另外我看了下语法文件,官方的 和我们的都支持了 |
@tcodehuber 看下你依赖的版本是多少,我这边是 |
估计是依赖的版本问题,目前还是vue2。我们再排查下,感谢🙏 |
ba9c2b3
to
7338423
Compare
7338423
to
6b05f94
Compare
6b05f94
to
2358d95
Compare
这一个基础sql的修改,为何里面有对 sparkSql 的变更? |
d1b1429
to
4062a56
Compare
基于 SparkSQL 改动,发现了一些问题,已经单独提 PR,这里应该是构建时不小心添加上来的 |
考虑基于 postgresql |
还要等你这个pr么,不需要的话修改下label状态,在备注下原因 |
和 @JackWang032 沟通,目前 StarRocks 和 Doris 使用 SparkSQL 语法会有报错,离线资产都是通过关闭语法飘红去使用的,需要考虑下当时实现方式是否合理,或者新增 sql 方言的支持。暂不跟随发版。 |
简介
添加通用 SQL 的语法文件,内容基于 spark sql 改动
参考资料