flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...
Date Mon, 24 Oct 2016 10:00:19 GMT
Github user fhueske commented on the issue:

    HI @wuchong, thanks for this feature. This looks really interesting :-)
    I haven't looked at the PR in detail yet. However, I would like to avoid customizing the
parser if possible. I haven't tested it but would it be possible to express `OUTER APPLY`
and `CROSS APPLY` with Calcite's `LATERAL` tables?
    `CROSS APPLY` corresponds to: 
    SELECT MyTable.*, t.s  FROM MyTable, LATERAL TABLE(split(MyTable.a)) AS t(s)
    `OUTER APPLY` could be:
    SELECT MyTable.*, t.s  
      FROM MyTable LEFT JOIN LATERAL TABLE(split(MyTable.a)) AS t(s)
    Adding `crossApply` and `outerApply` for the Table API is fine with me.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message