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

Tajo 830: Some filter conditions with a SUBQUERY are removed by optimizer.#12

Closed
babokim wants to merge 4 commits into
apache:masterfrom
babokim:TAJO-830
Closed

Tajo 830: Some filter conditions with a SUBQUERY are removed by optimizer.#12
babokim wants to merge 4 commits into
apache:masterfrom
babokim:TAJO-830

Conversation

@babokim
Copy link
Copy Markdown
Contributor

@babokim babokim commented May 20, 2014

I refactored FilterPushDownRule.
FilterPushDown rule
processing when visits each node
- If a target which is corresponding on a filter EvalNode's column is not FieldEval, do not PushDown.
- Replace filter EvalNode's column with child node's output column.
If there is no child node's output column, do not PushDown.
- When visit ScanNode, add filter eval to ScanNode's qual
- When visit GroupByNode, Find aggregation column in a filter EvalNode and
. If a parent is HavingNode, add filter eval to parent HavingNode.
. It not, create new HavingNode and set parent's child.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove the korean comment?

@hyunsik
Copy link
Copy Markdown
Member

hyunsik commented May 26, 2014

+1

The patch looks good to me. There are only a few of trivial things to be fixed. Since they are very trivial, I just fixed them. For example, I removed some commented out line including your name, and I add more comments in several methods. I'll commit it shortly.

@asfgit asfgit closed this in e2d0464 May 26, 2014
babokim pushed a commit to babokim/tajo that referenced this pull request Dec 11, 2014
…LIN-69

Add Bruch.io to mvn build process for zeppein-web
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.

2 participants