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

Generated impala CREATE TABLE statements say bool is unsupported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • impala
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: