@Test
  public void testTO_TIMESTAMPHplSQLFunction1() throws Throwable {
    String scriptText = "SELECT TO_TIMESTAMP('2015-04-02', 'YYYY-MM-DD');";
    testScriptFile(scriptText, args(), "2015-04-02 00:00:00.0");
  }
Start up a local Hive Server 2 for these tests
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java