You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Abdullah Alamoudi (JIRA)" <ji...@apache.org> on 2016/05/23 23:13:12 UTC

[jira] [Comment Edited] (ASTERIXDB-1429) int16 doesn't work, bug or my mistake?

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

Abdullah Alamoudi edited comment on ASTERIXDB-1429 at 5/23/16 11:12 PM:
------------------------------------------------------------------------

I have other bugs/tasks which have higher priority. Once I am done with them, I will fix this.


was (Author: amoudi):
If approved by Till, I will  work on it. It will take a few hours :)

> int16 doesn't work, bug or my mistake?
> --------------------------------------
>
>                 Key: ASTERIXDB-1429
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1429
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Data Formats
>         Environment: mac/linux
>            Reporter: Wenhai
>            Assignee: Abdullah Alamoudi
>            Priority: Critical
>
> When we import a text file into the denoted schema, we got a int16 parser factory error.
> Schema
> {noformat}
> drop dataverse test if exists;
> create dataverse test;
> use dataverse test;
> create type ZipfanType as closed {
>   id: uuid,
>   zipfan_double1: double,
>   uniform_int1: int32,
>   zipfan_long1: int64,
>   gaussian_short1: int16,
>   zipfan_double2: double,
>   uniform_int2: int32,
>   zipfan_long2: int64,
>   gaussian_short2: int16,
>   log_string: string
> }
> create dataset Zipfan(ZipfanType)
>   primary key id autogenerated;
> {noformat}
> Load update
> {noformat}
> use dataverse test;
> load dataset Zipfan
> using localfs
> (("path"="asterix_nc1://data/skew/zipfan1.tbl,asterix_nc2://data/skew/zipfan2.tbl"),
> ("format"="delimited-text"),("delimiter"="|"));
> {noformat}
> Error
> {noformat}
> No value parser factory for fields of type INT16 [NotImplementedException]
> {noformat}



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