Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

analyzer: fix fields of subqueries too on prune_columns #574

Merged
merged 1 commit into from
Dec 17, 2018

Conversation

erizocosmico
Copy link
Contributor

Also, removes subqueryBarrier, as SubqueryAlias already acts as a barrier.

Since the subqueries are fully analyzed way before the main tree gets to prune_columns, it's important that in this last pass the field fixing is done for every part of the tree to consolidate the schema after later rules have been executed on the subquery trees.

@erizocosmico erizocosmico force-pushed the fix/column-prune-fix-fields branch from 47d2551 to ec6bee6 Compare December 13, 2018 14:52
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@ajnavarro ajnavarro merged commit ac59802 into src-d:master Dec 17, 2018
@erizocosmico erizocosmico deleted the fix/column-prune-fix-fields branch December 17, 2018 10:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy