Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1429

int16 doesn't work, bug or my mistake?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • EXT - External data
    • None
    • mac/linux

    Description

      When we import a text file into the denoted schema, we got a int16 parser factory error.
      Schema

      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;
      

      Load update

      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"="|"));
      

      Error

      No value parser factory for fields of type INT16 [NotImplementedException]
      

      Attachments

        Activity

          People

            amoudi Abdullah Alamoudi
            lwhay Wenhai Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: