[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenhai updated ASTERIXDB-1429:
------------------------------
    Description: 
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}


  was:
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{}



> 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)

Reply via email to