Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-641

HCatClient::createTable() doesn't allow SerDe class to be specified.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.5, 0.4.1
    • None
    • client
    • None

    Description

      HCatCreateTableDesc::Builder allows for StorageHandler to be specified, but not the SerDe class. So if records are serialized (in custom row-format) to a known file-format, there's no way for that table to be created (with the equivalent of ROW FORMAT SERDE 'com.my.custom.SerDe' STORED AS sequencefile).

      The workaround (for the moment) is to either only create tables using the hive cli, or always specify a StorageHandler.

      I've a patch to fix this.

      Attachments

        1. HCATALOG-641.trunk.patch
          5 kB
          Mithun Radhakrishnan
        2. HCATALOG-641.branch5.patch
          5 kB
          Mithun Radhakrishnan

        Activity

          People

            mithun Mithun Radhakrishnan
            mithun Mithun Radhakrishnan
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: