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

Support deep nested struct for INSERT OVER DIRECTORY

    XMLWordPrintableJSON

Details

    Description

      Currently if we do something similar to:

      INSERT OVERWRITE DIRECTORY <dir> SELECT * FROM <table_with_deeply_nested_columns>
      

      Then Hive may fail with error message like this:

      Error: Error while compiling statement: FAILED: SemanticException org.apache.hadoop.hive.serde2.SerDeException: Number of levels of nesting supported for LazySimpleSerde is 7 Unable to work with level 8. Use hive.serialization.extend.nesting.levels serde property for tables using LazySimpleSerde. (state=42000,code=40000)
      

      It seems there's no way to set serde properties in this case.

      Attachments

        Activity

          People

            ywskycn Wei Yan
            csun Chao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: