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

包含CTE 的 Insert 在Hive中不能被正确解析 #3973

Closed
guoandzhong opened this issue Sep 28, 2020 · 1 comment
Closed

包含CTE 的 Insert 在Hive中不能被正确解析 #3973

guoandzhong opened this issue Sep 28, 2020 · 1 comment
Labels
Milestone

Comments

@guoandzhong
Copy link

WITH t AS (SELECT * FROM t1 ) INSERT OVERWRITE TABLE t2 SELECT * FROM t;

@guoandzhong guoandzhong changed the title CTE 在Hive Insert 中不能被正确解析 包含CTE 的 Insert 在Hive中不能被正确解析 Sep 28, 2020
@wenshao wenshao added this to the 1.2.0 milestone Oct 5, 2020
@wenshao wenshao added the Bug label Oct 5, 2020
@wenshao wenshao closed this as completed Oct 5, 2020
@guoandzhong
Copy link
Author

WITH t AS (SELECT * FROM t1 ) INSERT OVERWRITE TABLE t2 SELECT * FROM t;

SchemaStatVisitor.getTables(); 解析出的结果是
t2 Insert
t Select
是否没有对CTE处理?

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

No branches or pull requests

2 participants