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

Webhcat hive job fails for like query containing %%

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Unicode character is part of an execute parameter.
      Example command:
      curl -i -u <username>:<password>
      -d user.name=<username>
      -d statusdir="/hss/HiveLikeOutput"
      -d execute="SELECT * FROM table1 WHERE content LIKE '%%E7%8B%9D%';"
      -s http://localhost:30111/templeton/v1/hive

      The ‘%’ symbol causes an issue. Templeton throws Error 500 !hex:5c
      I have tried to escape the '%' character using '<backslash>%'. That doesn't work as well.

      Attachments

        Activity

          People

            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: