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

Repeatedly checking configuration in TextRecordWriter/Reader hurts performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      We check configuration to decide whether to escape certain characters each time write/read a record for custom scripts.
      In our benchmark this becomes a hot spot method. And fixing it improves the execution of the custom script by 7% (3TB TPCx-BB dataset).

      Attachments

        1. HIVE-13789.1.patch
          2 kB
          Rui Li

        Activity

          People

            lirui Rui Li
            lirui Rui Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: