@Test
  public void testCastHplSqlFunction() throws Throwable {
    String SCRIPT_TEXT =
            "SELECT CAST('1' AS int);" ;
    testScriptFile(SCRIPT_TEXT, args(), "1");
  }
Start up a local Hive Server 2 for these tests
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java