private static long GetCount( RegressionEnvironment env, string statementName, string windowName) { return SupportInfraUtil.GetDataWindowCountNoContext(env, statementName, windowName); }
private static long GetCount( RegressionEnvironment env, RegressionPath path, string statementName, string windowName) { if (env.IsHA) { return env .CompileExecuteFAF("select count(*) as cnt from " + windowName, path) .Array[0] .Get("cnt") .AsInt64(); } return SupportInfraUtil.GetDataWindowCountNoContext(env, statementName, windowName); }