Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8281

Info schema LIKE with ESCAPE push down bug

    XMLWordPrintableJSON

Details

    Description

      DRILL-8057 brought in a regression whereby info schema LIKE patterns containing an escape character are not correctly processed. For example if a storage plugin called dfs_foo (note the presence of the special '_') is present then the following query wrongly returns no records.

      apache drill> show databases where schema_name like 'dfs^_foo.%' escape '^';
      No rows selected (2.305 seconds)

      Attachments

        Issue Links

          Activity

            People

              dzamo James Turton
              dzamo James Turton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: