@Test
  public void testREPLACEHplSQLFunction() throws Throwable {
    String scriptText = "SELECT replace('2016-03-03', '-', '');";
    testScriptFile(scriptText, args(), "20160303");
  }
Start up a local Hive Server 2 for these tests
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java