Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1434

Generated impala CREATE TABLE statements say bool is unsupported

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: impala
    • Labels:
      None

      Description

      We have a table with a BOOL field and the generated CREATE TABLE statement looks like this:

      CREATE EXTERNAL TABLE `namespace` (
      `prefix` STRING,
      `name` STRING,
      `blocks` BINARY,
      `offsets` BINARY,
      `lengths` BINARY,
      `length` BIGINT,
      `ctime` TIMESTAMP,
      `atime` TIMESTAMP,
      `is_dir` [unsupported type bool!]
      )
      TBLPROPERTIES(
        'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
        'kudu.table_name' = 'namespace',
        'kudu.master_addresses' = 'adar-1.vpc.cloudera.com:7051',
        'kudu.key_columns' = 'prefix, name'
      );
      

      Looks like BOOL is missing from the switch statement in HtmlOutputImpalaSchema (webui_util.cc).

        Attachments

          Activity

            People

            • Assignee:
              wdberkeley William Berkeley
              Reporter:
              adar Adar Dembo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: