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

RelMetadataTest fails with NPE due to unsafe RelMetadataQuery.instance call

    XMLWordPrintableJSON

    Details

      Description

      org.apache.calcite.test.RelMetadataTest > testColumnUniquenessForMinusWithConstantColumns() FAILED
          java.lang.NullPointerException
              at java.util.Objects.requireNonNull(Objects.java:203)
              at org.apache.calcite.rel.metadata.RelMetadataQuery.<init>(RelMetadataQuery.java:141)
              at org.apache.calcite.rel.metadata.RelMetadataQuery.<init>(RelMetadataQuery.java:106)
              at org.apache.calcite.rel.metadata.RelMetadataQuery.instance(RelMetadataQuery.java:174)
              at org.apache.calcite.test.RelMetadataTest.testColumnUniquenessForMinusWithConstantColumns(RelMetadataTest.java:1057)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vladimirsitnikov Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 50m
                  50m