Skip to content

no support lateral view grammar #470

Closed

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:

Activity

  1. AnEmortalKid commented on Oct 6, 2017

    @AnEmortalKid
    Contributor

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

  2. hk-lrzy commented on Dec 20, 2017

    @hk-lrzy

    i think it's hive with function explode()

  3. manticore-projects commented on Mar 2, 2023

    @manticore-projects
    Contributor

    Duplicate #239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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