pnowojski commented on issue #6519: [FLINK-9559] [table] The type of a union of 
CHAR columns of different lengths should be VARCHAR
URL: https://github.com/apache/flink/pull/6519#issuecomment-415443589
 
 
   At least according to draft of 2008 SQL Standard, this PR violates it 
(paragraph 9.3, section 3) iii) 3) says that the result type in this case 
should be `CHAR(N)` where N is the maximum of the inputs. If any of the inputs 
is `VARCHAR(x)`, the result should be also `VARCHAR`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to