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

DataSet Should not union a NULL row for AGG without GROUP BY clause.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: Table API & SQL
    • Labels:
      None

      Description

      Currently DataSetAggregateWithNullValuesRule will UINON a NULL row for non grouped aggregate query. when CountAggFunction support COUNT(FLINK-8325). the result will incorrect.
      for example, if Tabble T1 has 3 records. when we run the follow SQL in DataSet:

      SELECT COUNT(*) as cnt from Tab // cnt = 4(incorrect).
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sunjincheng121 sunjincheng
                Reporter:
                sunjincheng121 sunjincheng
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: