Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15336

Non-understandable column names in case of running count(*) on aggregation queries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.0.21.Final
    • Remote Querying
    • None

    Description

      When running the query `select name, count from org.infinispan.Person group by name` on console (which uses REST API in the background), I am getting the following response:

      {"total_results":3,"hits":[{"hit":{"__HSearch_This":2,"name":"Elaia"}},{"hit":{"__HSearch_This":2,"name":"Anna"}},{"hit":{"__HSearch_This":2,"name":"Hayk"}}]}
      

      When running query: `select name, count(age) from org.infinispan.Person group by name` the response looks as:

      {"total_results":3,"hits":[{"hit":{"name":"Elaia","age":2}},{"hit":{"name":"Anna","age":2}},{"hit":{"name":"Hayk","age":1}}]}
      

      So the field names "__HSearch_This" and in second case "age" are non-understandable. Would be great to have more user friendly column names.

      The same refers to the running query over CLI.

      Attachments

        Activity

          People

            Unassigned Unassigned
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: