Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1853

Masking functions based on custom masking of string types fails to unescape quotes properly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.7.2
    • 1.0.0, 0.7.2
    • Ranger
    • None

    Description

      When a custom masking function is written which uses strings that need to be quote in the UI, the quotes in the string are not unescaped properly. When the policy with such incorrectly escaped stings is saved and executed, any Hive queries that invoke this policy fail to parse causing Hive query to throw a syntax error.

      Attachments

        1. RANGER-1853.patch
          2 kB
          Nitin Galave

        Issue Links

          Activity

            People

              nitin.galave Nitin Galave
              srikvenk Srikanth Venkat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: