Hive
  1. Hive
  2. HIVE-3818

Identify VOID datatype in generated table and notify the user accordingly

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When using rcfile as a datastore, generating a table from a select statement with a null field results in a void data type, and throws an exception (Internal error: no LazyObject for VOID).

      eg.
      set hive.default.fileformat=RCFILE;
      CREATE TABLE test_table AS SELECT NULL, key FROM src;

      Make the message to the user a little more intuitive.

        Activity

          People

          • Assignee:
            Gary Colman
            Reporter:
            Gary Colman
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development