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

        Gary Colman created issue -
        Namit Jain made changes -
        Field Original Value New Value
        Assignee Gary Colman [ garyc ]
        Gary Colman made changes -
        Gary Colman made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Namit Jain added a comment -
        Show
        Namit Jain added a comment - Can you create a phabricator entry ? https://cwiki.apache.org/Hive/phabricatorcodereview.html https://reviews.facebook.net/D7521
        Hide
        Namit Jain added a comment -

        comments on phabricator

        Show
        Namit Jain added a comment - comments on phabricator
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Show
        Gary Colman added a comment - https://reviews.facebook.net/D7641
        Hide
        Namit Jain added a comment -

        comments on phabricator

        Show
        Namit Jain added a comment - comments on phabricator

          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