-
Bug
-
Resolution: Done
-
Major
-
14.0.21.Final
-
None
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.