ClientInputHandler handler, Connection ccxn, boolean isExplain,
String sql, Object[] userParams, Object[] userPartitionKey, AuthSystem.AuthUser user) {
List<String> sqlStatements = MiscUtils.splitSQLStatements(sql);
String[] stmtsArray = sqlStatements.toArray(new String[sqlStatements.size()]);
AdHocPlannerWork ahpw = new AdHocPlannerWork(
m_siteId,
task.clientHandle, handler.connectionId(),
handler.isAdmin(), ccxn,
sql, stmtsArray, userParams, null, isExplain,
userPartitionKey == null, userPartitionKey,