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

TableResult#print() should correctly stringify values

    XMLWordPrintableJSON

Details

    Description

      Currently TableResult#print()} simply use {{Object#toString() as the string representation of the fields. This is not SQL compliant, because for TIMESTAMP and TIMESTAMP_LZ, the string representation should be 2021-02-23 17:30:00 instead of 2021-02-23T17:30:00Z.

      Note: we may need to update PrintUtils#rowToString(Row) and also SQL Client which invokes this method.

      Attachments

        Issue Links

          Activity

            People

              francescoguard Francesco Guardiani
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: