private CrossJoinArg[] expandNonNative(
RolapEvaluator evaluator,
Exp exp)
{
ExpCompiler compiler = evaluator.getQuery().createCompiler();
CrossJoinArg[] arg0 = null;
if (shouldExpandNonEmpty(exp)
&& evaluator.getActiveNativeExpansions().add(exp))
{
ListCalc listCalc0 = compiler.compileList(exp);
List<RolapMember> list0 =
Util.cast(listCalc0.evaluateList(evaluator));
// Prevent the case when the second argument size is too large
if (list0 != null) {
Util.checkCJResultLimit(list0.size());