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

Add encoding and decoding for query string config

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We have seen some queries in production where some of the literals passed in the query have control characters, which result in exception when query string is set in the job xml.

      Proposing a solution to encode the query string in configuration and provide getters decoded string.

      Here is a commit in a forked repo : https://github.com/InMobi/hive/commit/2faf5761191fa3103a0d779fde584d494ed75bf5

      Suggestions are welcome on the solution.

        Attachments

        1. HIVE-11483.05.patch
          14 kB
          Rajat Khandelwal
        2. HIVE-11483.04.patch
          14 kB
          Rajat Khandelwal
        3. HIVE-11483.03.patch
          6 kB
          Rajat Khandelwal
        4. HIVE-11483.02.patch
          6 kB
          Rajat Khandelwal
        5. HIVE-11483.01.patch
          6 kB
          Rajat Khandelwal

          Issue Links

            Activity

              People

              • Assignee:
                prongs Rajat Khandelwal
                Reporter:
                amareshwari Amareshwari Sriramadasu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: