[ 
https://issues.apache.org/jira/browse/CALCITE-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986535#comment-17986535
 ] 

xiong duan commented on CALCITE-815:
------------------------------------

1)I noticed that in the current PR, the EMPTY_STRING_IS_NULL method has been 
newly created. I think it would be better to implement the same semantics using 
the CASE WHEN statement, and then the corresponding function can be pushed down 
during the sql-dialect transformation process.

2)The corresponding function return type needs to be corrected, and to ensure 
its validity, the necessary conversions should be performed during the Rex2Rex 
or SqlNode2Rex processes.

> Add an option to allow empty strings to represent null values
> -------------------------------------------------------------
>
>                 Key: CALCITE-815
>                 URL: https://issues.apache.org/jira/browse/CALCITE-815
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Wei Xue
>            Assignee: ZheHu
>            Priority: Major
>              Labels: dialect, phoenix
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to