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

hive解析异常(多种情况) #4248

Closed
axzhcode opened this issue Apr 21, 2021 · 3 comments
Closed

hive解析异常(多种情况) #4248

axzhcode opened this issue Apr 21, 2021 · 3 comments
Labels
Milestone

Comments

@axzhcode
Copy link

貌似无法解析hive里的 ! 符号
例如:
select * from bi.aaa where !array_contains(list, cc_id)

com.alibaba.druid.sql.parser.ParserException: pos 28, line 1, column 28, token !

@axzhcode
Copy link
Author

from insert 时,from 不支持join
from (select name,address from test1) t1 left join (select name,school from test2) t2 on t2.name = t1.name insert overwrite table tt1 select name,address,school insert overwrite table tt2 select name,address

com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'test1) t1 left join (select name,school ', expect INSERT, actual LEFT, pos 45, line 1, column 42, token LEFT

@axzhcode
Copy link
Author

set语法,ip配置,冒号报错

set test.url=xx.test.com:8808;

com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'test.com:8808; , pos 25, line 1, column 25, token :

@axzhcode axzhcode changed the title hive 解析异常 hive解析异常(多种情况) Apr 21, 2021
@axzhcode
Copy link
Author

alter set location
ALTER TABLE bi.bi_xxx_external SET LOCATION 'hdfs://nameservice1/user/hive/warehouse/bi.db/bi_xxx/pt=aaa';

com.alibaba.druid.sql.parser.ParserException: TODO pos 65, line 1, column 58, token IDENTIFIER LOCATION

@wenshao wenshao added this to the 1.2.7 milestone May 4, 2021
@wenshao wenshao closed this as completed in 4e85916 May 4, 2021
@wenshao wenshao added the Bug label May 4, 2021
wenshao added a commit that referenced this issue Sep 20, 2021
@wenshao wenshao modified the milestones: 1.2.7, 1.2.8 Oct 3, 2021
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