Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
Hi, I wrote some codes for query parser. These diffs are aimed to pass test
case of query parser, especially org.apache.drill.parsers.DrqlParserTest.
To do that, I modified the DrqlAntlr.g and AntlrParser.java.
- Add some rules (N_AGGREGATE_FUNCTION, aggregateFunc, ... )
- Swap groupbyClause rule and havingCaluse rule in selectStatement
- Modify some parsing routine in AntlrParser.java
I think that the defined grammar still has some problems even if this diff
is applied. Also, it is not important thing. However, you can pass test
case