You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/01 09:21:00 UTC

[jira] [Updated] (FLINK-21456) TableResult#print() should correctly stringify values of all data types in SQL format

     [ https://issues.apache.org/jira/browse/FLINK-21456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-21456:
-----------------------------------
    Labels: auto-deprioritized-major auto-unassigned pull-request-available  (was: auto-deprioritized-major auto-unassigned)

> TableResult#print() should correctly stringify values of all data types in SQL format
> -------------------------------------------------------------------------------------
>
>                 Key: FLINK-21456
>                 URL: https://issues.apache.org/jira/browse/FLINK-21456
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>            Reporter: Jark Wu
>            Assignee: Francesco Guardiani
>            Priority: Minor
>              Labels: auto-deprioritized-major, auto-unassigned, pull-request-available
>
> 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)