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

Compactor doesn't pass Table properties to the Orc writer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.13.0
    • None
    • Transactions
    • None

    Description

       

       CompactorMap.getWrite()/getDeleteEventWriter() both do AcidOutputFormat.Options.tableProperties() but
      OrcOutputFormat.getRawRecordWriter() does

      final OrcFile.WriterOptions opts =
      OrcFile.writerOptions(options.getConfiguration());
      

      which ignores tableProperties value.
      It should do

      final OrcFile.WriterOptions opts =
      OrcFile.writerOptions(options.getTableProperties(), options.getConfiguration());
      

      Attachments

        1. HIVE-18460.01.patch
          5 kB
          Eugene Koifman
        2. HIVE-18460.02.patch
          6 kB
          Eugene Koifman
        3. HIVE-18460.03.patch
          6 kB
          Eugene Koifman
        4. HIVE-18460.04.patch
          6 kB
          Eugene Koifman

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: