use of org.apache.drill.exec.planner.sql.parser.impl.DrillSqlParseException in project drill by apache.
the class TestDrillSQLWorker method validateFormattedIs.
private void validateFormattedIs(String sql, SqlParserPos pos, String expected) {
DrillSqlParseException ex = new DrillSqlParseException(sql, pos);
String formatted = ex.getSqlWithErrorPointer();
assertEquals(expected, formatted);
}
Aggregations