You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "dhatchayani (JIRA)" <ji...@apache.org> on 2018/01/31 12:48:01 UTC

[jira] [Updated] (CARBONDATA-1918) Incorrect data is displayed when String is updated using Sentences

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

dhatchayani updated CARBONDATA-1918:
------------------------------------
    Description: 
update t_carbn01 set (active_status)= (sentences('Hello there! How are you?'));
+---------+--+
| Result  |
+---------+--+
+---------+--+
No rows selected (2.784 seconds)
select active_status from t_carbn01;
+---------------------------------+--+
|          active_status          |
+---------------------------------+--+
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
*| Hello\:there\\$How\:are\:you\\  |*
+---------------------------------+–+

 

The issue for sentences function also occurs when the below update is performed.
  update t_carbn01 set (active_status)= (split('ab', 'a'));

> Incorrect data is displayed when String is updated using Sentences
> ------------------------------------------------------------------
>
>                 Key: CARBONDATA-1918
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1918
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: dhatchayani
>            Assignee: dhatchayani
>            Priority: Minor
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> update t_carbn01 set (active_status)= (sentences('Hello there! How are you?'));
> +---------+--+
> | Result  |
> +---------+--+
> +---------+--+
> No rows selected (2.784 seconds)
> select active_status from t_carbn01;
> +---------------------------------+--+
> |          active_status          |
> +---------------------------------+--+
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> *| Hello\:there\\$How\:are\:you\\  |*
> +---------------------------------+–+
>  
> The issue for sentences function also occurs when the below update is performed.
>   update t_carbn01 set (active_status)= (split('ab', 'a'));



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)