Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3575

IndexOutOfBoundsException when converting sql to rel

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.18.0, 1.19.0, 1.20.0, 1.21.0
    • Fix Version/s: 1.22.0
    • Component/s: core

      Description

      In the case,  a join statement with equal condition and left is expression instead of column, will fire the bug. the reason is pushDownJoinConditions method does't add left project node to SqlToRelConverter.leaves。

      My english is poor, did I make myself clear? 

        Attachments

        1. image-2019-12-06-14-30-26-738.png
          453 kB
          小黑一点都不黑

          Issue Links

            Activity

              People

              • Assignee:
                Chunwei Lei Chunwei Lei
                Reporter:
                小白次 小黑一点都不黑
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h