private InputStream sourceStream(Arguments arguments) throws FileNotFoundException {
    return arguments.execString != null
            ? new ByteArrayInputStream(arguments.execString.getBytes(StandardCharsets.UTF_8))
            : new FileInputStream(arguments.fileName);
  }
Set SQL_NO_DATA as the result of SQL execution
hplsql/src/main/java/org/apache/hive/hplsql/Exec.java