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

Allow ScriptOperator to consume not all input data

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • None
    • None
    • Reviewed
    • HIVE-869. Allow ScriptOperator to consume not all input data. (Paul Yang via zshao)

    Description

      The ScriptOperator (SELECT TRANSFORM(a, b, c) USING 'myscript' AS (d, e, f) ...) has a problem:
      If the user script exits without consuming all data from standard input, then we will report an error even if the exit code from the user script is 0.

      We want to have an option, when enabled, ScriptOperator will return successfully in that case.

      If the option is not enabled, then we should stick to the current behavior.

      The option can be called: "hive.exec.script.allow.partial.consumption ".

      Attachments

        1. HIVE-869.1.patch
          12 kB
          Paul Yang
        2. HIVE-869.2.patch
          15 kB
          Paul Yang
        3. HIVE-869.3.patch
          15 kB
          Paul Yang

        Issue Links

          Activity

            People

              pauly Paul Yang
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: