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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.4.1, 1.5.0
    • Table SQL / API
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: