Skip to content

no support lateral view grammar #470

@chenshaoxing

Description

@chenshaoxing

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions