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

TweetParser can only take dataset with specific fields in specific order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • EXT - External data
    • None

    Description

      The TweetParser can only take dataset definition with specific order as follow:

      create type Tweet if not exists as open{
      id: string,
      user: TwitterUser,
      latitude:double,
      longitude:double,
      created_at:string,
      message_text:string
      };

      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

      Attachments

        Activity

          People

            idleft Xikui Wang
            idleft Xikui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: