uccross / skyhookdm-ceph-cls

Skyhook Data Management: Storage and management of tabular data in Ceph.
https://www.skyhookdm.com
GNU Lesser General Public License v2.1
13 stars 9 forks source link

Add query validation for projection and aggregation #56

Closed aditigupta17 closed 4 years ago

aditigupta17 commented 4 years ago

This PR:

The validation is important to achieve as, if an aggregate function is used in the query, then the projected columns must be either being aggregated over or being performed a GROUP BY clause on.

To see this in action, please take a look here, wherein different queries have been demonstrated along with success and error messages.