Returns false for hidden fields and true for non-hidden. For non-hidden, change "node" if the field is part of an implicit join.
| 2997 | // For non-hidden, change "node" if the field is part of an |
| 2998 | // implicit join. |
| 2999 | bool dsql_ctx::getImplicitJoinField(const MetaName& name, NestConst<ValueExprNode>& node) |
| 3000 | { |
| 3001 | ImplicitJoin* impJoin; |
| 3002 | if (ctx_imp_join.get(name, impJoin)) |
| 3003 | { |
| 3004 | if (impJoin->visibleInContext == this) |
| 3005 | { |
| 3006 | node = impJoin->value; |
| 3007 | return true; |
| 3008 | } |
| 3009 | |
| 3010 | return false; |
| 3011 | } |
| 3012 | |
| 3013 | return true; |
| 3014 | } |
| 3015 | |
| 3016 | // Returns (creating, if necessary) the WindowMap of a given partition (that may be NULL). |
| 3017 | WindowMap* dsql_ctx::getWindowMap(DsqlCompilerScratch* dsqlScratch, WindowClause* windowNode) |
no test coverage detected