[
https://issues.apache.org/jira/browse/ASTERIXDB-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876383#comment-14876383
]
Jianfeng Jia commented on ASTERIXDB-1102:
-----------------------------------------
Good point, it doesn't make sense to add some extra tag to string. If we don't
care about adding two more bytes for each string, then I think we just
customize the String's serializer that store 2more bytes for length will be
good enough?
> 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)