Getting value accroding to target type in StreamQueryResult has completed.Pull 
Request is #3208 https://github.com/apache/incubator-shardingsphere/pull/3208


--

Yi Yang(Sion)
Apache ShardingSphere



在 2019-10-10 15:34:58,"sunbufu" <sunb...@apache.org> 写道:
>I am agree with Yi Yang, I want to handle the `Clob` conversion.
>
>
>| |
>sunbufu
>|
>|
>邮箱:sunyoub...@163.com
>email:sunb...@apache.com
>|
>签名由网易邮箱大师定制
>
>
>On 10/10/2019 15:25,Sion Yang<schoolp...@163.com> wrote:
>Hi all the contributors and committers,Recently, some of issues like #2956[1] 
>#3017[2] feedback exception when getClob for longVarchar type data.After 
>investigation, this problem is be caused by getting value according to the 
>metadata.ShardingSphere use `getString` to get LongVarchar type data, and 
>return String type, but `getClob` should return Clob type.For fix this 
>problem, we need to get value accroding to target type in StreamQueryResult 
>instead of metadata type.But for MemoryQueryResult, ShardingSphere need to get 
>value before users call getXXX method.
>
>
>So should we transfer the value to target type in 
>ShardingResultSet/EncryptResultSet like `getDate` method do?
>
>
>
>--
>
>Yi Yang(Sion)
>Apache ShardingSphere

Reply via email to