/** * Parses a SQL expression. * * @throws SqlParseException if there is a parse error */ public SqlNode parseExpression() throws SqlParseException { try { return parser.parseSqlExpressionEof(); } catch (Throwable ex) { if ((ex instanceof EigenbaseContextException) && (originalInput != null)) { ((EigenbaseContextException) ex).setOriginalStatement( originalInput); } throw parser.normalizeException(ex); } }