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

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

Wenhai created ASTERIXDB-1429:
---------------------------------

             Summary: 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: Test
          Components: Data Formats
         Environment: mac/linux
            Reporter: Wenhai
            Assignee: Yingyi Bu
            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)