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

no support lateral view grammar #470

Closed
chenshaoxing opened this issue Jul 13, 2017 · 3 comments · Fixed by #1778
Closed

no support lateral view grammar #470

chenshaoxing opened this issue Jul 13, 2017 · 3 comments · Fixed by #1778

Comments

@chenshaoxing
Copy link

select lat,lng from gas_station lateral view amap2basegps(-76.1419264,-136.0134856) p as lat,lng;

Exception:
Exception in thread "main" net.sf.jsqlparser.JSQLParserException
at net.sf.jsqlparser.parser.CCJSqlParserManager.parse(CCJSqlParserManager.java:40)
at com.huoyunren.bigdata.platform.service.SqlParseService.main(SqlParseService.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "LATERAL" "lateral "" at line 1, column 34.
Was expecting one of:

@AnEmortalKid
Copy link
Contributor

@chenshaoxing would you have the time to try to support LATERAL? What DB is this for?

@hk-lrzy
Copy link

hk-lrzy commented Dec 20, 2017

i think it's hive with function explode()

@manticore-projects
Copy link
Contributor

Duplicate #239

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

Successfully merging a pull request may close this issue.

4 participants