sp: parser: add subkeys support to GROUP BY
@@ -534,6 +534,12 @@ select: SELECT keys FROM source window where groupby ';'
$$ = FLB_SP_TIME_HOUR;
}
gb_keys: IDENTIFIER
+ {
+ flb_sp_cmd_gb_key_add(cmd, $1);
+ flb_free($1);
+ }
+ |
+ IDENTIFIER subkey
{
flb_sp_cmd_gb_key_add(cmd, $1);
flb_free($1);
