verify(req);
}
public void testParseQueryErrors() {
DataTable dataTable = new DataTable();
dataTable.addColumn(new ColumnDescription("A", ValueType.TEXT, "column1"));
dataTable.addColumn(new ColumnDescription("B", ValueType.BOOLEAN, "column2"));
dataTable.addColumn(new ColumnDescription("C", ValueType.NUMBER, "column3"));
// Wrong column id
checkQueryError("select D", dataTable, "Column [D] does not exist in table.");
checkQueryError("where F > 1", dataTable, "Column [F] does not exist in table.");
// aggregation sum and average only on numeric columns
checkQueryError("select avg(A) group by B", dataTable,