added having clause to groupby queries
fixed aggregation equalTo and simplified and or nesting
report druid error
Merge branch 'druid_error_output'