Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1886

DSL queries with LIKE fail for composite searches

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      Search DSL was enhanced to support the LIKE query in ATLAS-1807. This was a great enhancement from a usability point of view and works as expected for String attributes of a type - like hive_table.name, hive_table.owner etc.

      Another type of query that is useful is composite searches - for e.g. hive_tables in a DB (given a DB name). This query currently works - hive_table where db.name='xyz'.

      However, when we try a 'like' operator here, it fails - i.e. hive_table where db.name LIKE 'xyz' - this returns an error: Discovery query failed `hive_table` db.name LIKE 'financ'

      Can this be looked into if its an easy fix?

      Attachments

        1. ATLAS-1866.patch
          4 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            yhemanth Hemanth Yamijala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: