drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [drill] eevanwong commented on pull request #2168: DRILL-7712: Fix issues after ZK upgrade
Date Mon, 08 Mar 2021 17:59:20 GMT

eevanwong commented on pull request #2168:
URL: https://github.com/apache/drill/pull/2168#issuecomment-792953371


   Hey I've made the [jira ticket](https://issues.apache.org/jira/projects/DRILL/issues/DRILL-7876?filter=addedrecently)
   
   I also tried a variety of different queries, albeit not very complex ones.
   
   `select education_level,max(salary) as maxSalary
   2.......semicolon> from `employee.json`
   3.......semicolon> group by education_level;
   +---------------------+-----------+
   |   education_level   | maxSalary |
   +---------------------+-----------+
   | Graduate Degree     | 80000.0   |
   | Bachelors Degree    | 45000.0   |
   | Partial College     | 50000.0   |
   | High School Degree  | 17000.0   |
   | Partial High School | 13000.0   |
   +---------------------+-----------+`
   
   `
   apache drill (cp)> select employee_id,full_name,salary from `employee.json` where store_id
= 9 and education_level = 'Bachelors Degree';
   +-------------+----------------+---------+
   | employee_id |   full_name    | salary  |
   +-------------+----------------+---------+
   | 8           | Kim Brunner    | 10000.0 |
   | 733         | Wanda Vernon   | 5900.0  |
   | 742         | Mae Anderson   | 3700.0  |
   | 744         | Chris Bidelman | 20.0    |
   | 746         | Sara Breer     | 20.0    |
   +-------------+----------------+---------+
   `
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message