Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21710

FlinkRelMdUniqueKeys gets incorrect result on TableScan after project push-down

    XMLWordPrintableJSON

Details

    Description

      FlinkRelMdUniqueKeys#getTableUniqueKeys uses the original columns to find the index of primary keys. But after project push-down, the indexes is incorrect based on original columns, and the new columns should be used.

      Attachments

        Issue Links

          Activity

            People

              godfreyhe godfrey he
              godfreyhe godfrey he
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: