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