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

RelOptUtil.pushDownJoinConditions does not correctly adjust ASOF joins match conditions

    XMLWordPrintableJSON

Details

    Description

      ASOF join was introduced recently by CALCITE-6372

      The implementation parallels the join implementation. However, the function RelOptUtil.pushDownJoinConditions may adjust the join condition. When that happens, the asof matchCondition may need to be adjusted too. This last adjustment is missing, which can cause the matchCondition to be wrong, because the offsets of the RexInputRef fields are not appropriately adjusted.

      Attachments

        Issue Links

          Activity

            People

              mbudiu Mihai Budiu
              mbudiu Mihai Budiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: