Improve parsing error message
The name appears as the prefix of some errors. E.g.,
xxxxx is too large (stack overflow while parsing)
"path specification" reads better than "pathSpec"
@@ -109,7 +109,7 @@ public class SqlParser
public PathSpecification createPathSpecification(String expression)
{
- return (PathSpecification) invokeParser("pathSpecification", expression, SqlBaseParser::standalonePathSpecification, new ParsingOptions());
+ return (PathSpecification) invokeParser("path specification", expression, SqlBaseParser::standalonePathSpecification, new ParsingOptions());
}
private Node invokeParser(String name, String sql, Function<SqlBaseParser, ParserRuleContext> parseFunction, ParsingOptions parsingOptions)
