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

Wrong output in sql client's table mode

    XMLWordPrintableJSON

Details

    Description

      When I run the following sql example, I get the wrong output

      
      SELECT name, COUNT(*) AS cnt FROM (VALUES ('Bob'), ('Alice'), ('Greg'), ('Bob')) AS NameTable(name) GROUP BY name; 

       

                            Bob                         1
                           Alice                         1
                            Greg                         1
                             Bob                         2 

      This is due to we add kind in Row, so the sematics of equals method changes

      Attachments

        Issue Links

          Activity

            People

              zjffdu Jeff Zhang
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: