Preconditions.checkNotNull(sqlPath, hiveqlPath);
String sql = FileUtil.readTextFile(new File(BASE_PATH + sqlPath));
String hiveQL = FileUtil.readTextFile(new File(BASE_PATH + hiveqlPath));
Expr expr = parseQuery(sql);
Expr hiveExpr = parseHiveQL(hiveQL);
assertEquals(expr.toJson(), hiveExpr.toJson());
}
@Test
public void testSelect1() throws IOException {
compareJsonResult("select_1.sql");