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

Jianfeng Jia commented on ASTERIXDB-1102:
-----------------------------------------

Per our discussion this morning, we decided to choose the variable length 
encoding for the String type without adding new type. 

Then we need to revisit the existing fixed length encoding types to replace 
them with the variable length encoding format if reasonable to avoid similar 
problem happening again in future. 



> Add a TEXT-like data type to enable storing the string longer than 64K
> ----------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1102
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1102
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: Data Model
>            Reporter: Jianfeng Jia
>            Assignee: Jianfeng Jia
>
> The current "String" type can't handle the string longer than 64K. The first 
> reason is that we are using java DataOutputStream to serialize it. It stores 
> the length using two bytes. However, it should serve the basic requirement 
> for "string" type.
> We need a special TEXT-like datatype to deal with long strings. And probably 
> add some search-related functionalities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to