You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till Westmann (JIRA)" <ji...@apache.org> on 2016/07/23 01:06:20 UTC
[jira] [Updated] (ASTERIXDB-1394) TweetParser can only take dataset
with specific fields in specific order
[ https://issues.apache.org/jira/browse/ASTERIXDB-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Westmann updated ASTERIXDB-1394:
-------------------------------------
Assignee: Xikui Wang
> TweetParser can only take dataset with specific fields in specific order
> ------------------------------------------------------------------------
>
> Key: ASTERIXDB-1394
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1394
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: Adapters
> Reporter: Xikui Wang
> Assignee: Xikui Wang
> Priority: Minor
>
> The TweetParser can only take dataset definition with specific order as follow:
> {quote}
> create type Tweet if not exists as open\{
> id: string,
> user: TwitterUser,
> latitude:double,
> longitude:double,
> created_at:string,
> message_text:string
> \};
> {quote}
> Different order will cause type cast exception since the order is fixed in code. Also the names of field and number is also fixed, no more or less.
> Also Tweet cannot have extra field, and extra field will cause ArrayIndexOutOfBoundsException in IDataParser.writeRecord
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)