protected static void validateTableOfScalarLongs(Client client, String sql, long[] expected) throws NoConnectionsException, IOException, ProcCallException { assertNotNull(expected); VoltTable vt = client.callProcedure("@AdHoc", sql).getResults()[0]; validateTableOfScalarLongs(vt, expected); }