return null; if ((rexLiteral == null) || !config.isCreateValuesRel()) { rowType, 0); if ((rexLiteral != null) && config.isCreateValuesRel()) { tupleList.add(ImmutableList.of(rexLiteral)); continue;
@Deprecated // to be removed before 2.0 protected boolean enableDecorrelation() { // disable sub-query decorrelation when needed. // e.g. if outer joins are not supported. return config.isDecorrelationEnabled(); }
this, isExists, config.isExplain());
call = (SqlBasicCall) subQuery.node; query = call.operand(1); if (!config.isExpand() && !(query instanceof SqlNodeList)) { return; SqlNodeList valueList = (SqlNodeList) query; if (!containsNullLiteral(valueList) && valueList.size() < config.getInSubQueryThreshold()) { if (!config.isExpand()) { return; if (!config.isExpand()) { return;
call = (SqlBasicCall) subQuery.node; query = call.operand(1); if (!config.isExpand() && !(query instanceof SqlNodeList)) { return; SqlNodeList valueList = (SqlNodeList) query; if (!containsNullLiteral(valueList) && valueList.size() < config.getInSubQueryThreshold()) { if (!config.isExpand()) { return; if (!config.isExpand()) { return;
call = (SqlBasicCall) subQuery.node; query = call.operand(1); if (!config.isExpand() && !(query instanceof SqlNodeList)) { return; SqlNodeList valueList = (SqlNodeList) query; if (!containsNullLiteral(valueList) && valueList.size() < config.getInSubQueryThreshold()) { if (!config.isExpand()) { return; if (!config.isExpand()) { return;
call = (SqlBasicCall) subQuery.node; query = call.operand(1); if (!config.isExpand() && !(query instanceof SqlNodeList)) { return; SqlNodeList valueList = (SqlNodeList) query; if (!containsNullLiteral(valueList) && valueList.size() < config.getInSubQueryThreshold()) { if (!config.isExpand()) { return; if (!config.isExpand()) { return;
if (!config.isExpand()) { final SqlCall call; final SqlNode query;
if (!config.isExpand()) { final SqlCall call; final SqlNode query;
return null; if ((rexLiteral == null) || !config.isCreateValuesRel()) { rowType, 0); if ((rexLiteral != null) && config.isCreateValuesRel()) { tupleList.add(ImmutableList.of(rexLiteral)); continue;
return null; if ((rexLiteral == null) || !config.isCreateValuesRel()) { rowType, 0); if ((rexLiteral != null) && config.isCreateValuesRel()) { tupleList.add(ImmutableList.of(rexLiteral)); continue;
return null; if ((rexLiteral == null) || !config.isCreateValuesRel()) { rowType, 0); if ((rexLiteral != null) && config.isCreateValuesRel()) { tupleList.add(ImmutableList.of(rexLiteral)); continue;
this, isExists, config.isExplain());
if (config.isConvertTableAccess()) { tableRel = toRel(table); } else {
if (config.isConvertTableAccess()) { tableRel = toRel(table); } else {
root.withRel(sqlToRelConverter.flattenTypes(root.rel, true)); final RelBuilder relBuilder = config.getRelBuilderFactory().create(cluster, null); return root2.withRel( RelDecorrelator.decorrelateQuery(root.rel, relBuilder));
this, isExists, config.isExplain());
this, isExists, config.isExplain());