You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/04/23 15:01:00 UTC

[jira] [Commented] (BEAM-9075) Join re-ordering doesn't work for ZetaSQL

    [ https://issues.apache.org/jira/browse/BEAM-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090675#comment-17090675 ] 

Brian Hulette commented on BEAM-9075:
-------------------------------------

Marking this as blocked by Calcite 1.22.0 upgrade since there was some indication it will be easier to resolve after that.

> Join re-ordering doesn't work for ZetaSQL
> -----------------------------------------
>
>                 Key: BEAM-9075
>                 URL: https://issues.apache.org/jira/browse/BEAM-9075
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql-zetasql
>    Affects Versions: 2.17.0
>            Reporter: Brian Hulette
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Join re-ordering can actually break queries in the ZetaSQL planner because Calcite's JoinCommuteRule doesn't work when schemas have nested fields. It only adjusts RexInputRef nodes and not RexFieldAccess.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)