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

RelBuilder generates wrong field list for join

    XMLWordPrintableJSON

    Details

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

      Description

      When building OUTER JOIN RelBuilder doesn't change nullability of underlying fields just copying them as is. But with outer join fields shall become nullable at appropriate sides of join.

      The error is at these lines:
      https://github.com/apache/calcite/blob/fb7914ec61fc57c8348d9da144e2fbd608c00c61/core/src/main/java/org/apache/calcite/tools/RelBuilder.java#L1546

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Pavel Gubin Pavel Gubin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: