SELECT sum(net_value), sales_manager_name FROM "sales*"
?
It generates error:
Whoops! Expression failed
Expression failed with the message:
[essql] > Unexpected error from Elasticsearch: [verification_exception] Found 1 problem(s) line 1:45: Cannot use non-grouped column [sales_manager_name], expected
In first number, second text.
I've mamaged this by adding GROUP BY; SELECT sum(net_value), sales_manager_name FROM "sales*" GROUP BY sales_manager_name
Original query has limited sense but is correct anyway
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.