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

EnumerableMergeJoinRule fails with NPE on nullable join keys

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.21.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Sample exception:

      Caused by: java.lang.NullPointerException
      at java.lang.Short.compareTo(Short.java:445)
      at java.lang.Short.compareTo(Short.java:43)
      at org.apache.calcite.linq4j.EnumerableDefaults$MergeJoinEnumerator.advance(EnumerableDefaults.java:3866)
      at org.apache.calcite.linq4j.EnumerableDefaults$MergeJoinEnumerator.moveNext(EnumerableDefaults.java:3918)
      at org.apache.calcite.linq4j.EnumerableDefaults.aggregate(EnumerableDefaults.java:118)
      at org.apache.calcite.linq4j.DefaultEnumerable.aggregate(DefaultEnumerable.java:104)
      at Baz.bind(Unknown Source)
      at org.apache.calcite.jdbc.CalcitePrepare$CalciteSignature.enumerable(CalcitePrepare.java:355)
      at org.apache.calcite.jdbc.CalciteConnectionImpl.enumerable(CalciteConnectionImpl.java:315)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vladimirsitnikov Vladimir Sitnikov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: