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

BaseSemanticAnalyzer.unescapeSQLString doesn't unescape \u0000 style character literals.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • Parser
    • None

    Description

      BaseSemanticAnalyzer.unescapeSQLString method may have a fault. When "\u0061" style character literals are passed to the method, it's not unescaped successfully.

      In Spark SQL project, we referenced the unescaping logic and noticed this issue (SPARK-14426)

      Attachments

        1. HIVE-13434.1.patch
          3 kB
          Kousuke Saruta

        Issue Links

          Activity

            People

              sarutak Kousuke Saruta
              sarutak Kousuke Saruta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: