Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3818

Identify VOID datatype in generated table and notify the user accordingly

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              garyc Gary Colman
              Reporter:
              garyc 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