[
https://issues.apache.org/jira/browse/ASTERIXDB-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876234#comment-14876234
]
Ian Maxon commented on ASTERIXDB-1102:
--------------------------------------
I am wondering about how this will work for open datatypes. For example, if I
have a big nested JSON object, and it contains one really big string field, but
lots of other smaller ones, what will that end up looking like? How will the
parser determine whether or not to use text in place of string?
> 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
>
> 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)