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

TAJO-1126: Join condition including functions throws IllegalArgumentExce...#209

Closed
hyunsik wants to merge 1 commit into
apache:masterfrom
hyunsik:TAJO-1126
Closed

TAJO-1126: Join condition including functions throws IllegalArgumentExce...#209
hyunsik wants to merge 1 commit into
apache:masterfrom
hyunsik:TAJO-1126

Conversation

@hyunsik
Copy link
Copy Markdown
Member

@hyunsik hyunsik commented Oct 24, 2014

...ption.

See https://issues.apache.org/jira/browse/TAJO-1126.

Thank you for enclosing the reproducible query and detailed bug reports.

In addition to above description, I discussed this problem with Hyoungjun in offline chat. He informed me the bug where the parameterized unit tests in TestJoin does not work. The fact that QueryUnitRequesttImpl newly creates TajoConf instance instead of taking existing TajoConf causes this bug. So, given parameters were lost during unit tests. This problem is hiding the unit test failures. As he mentioned, I could find about 20 test failures in TestJoin when I fixed this parameters loss problem.

I found the bug from PlannerUtil::isJoinQual. I improved this method to take two schemas of both relations for join, and I also enabled the method to ensure by checking schemas if both expressions composes a join condition. As a result, all the failures in TestJoin are passed.

@hyunsik
Copy link
Copy Markdown
Member Author

hyunsik commented Oct 25, 2014

rebased.

@jinossy
Copy link
Copy Markdown
Member

jinossy commented Oct 27, 2014

+1 Looks great to me.

@asfgit asfgit closed this in d9ba02b Oct 27, 2014
babokim pushed a commit to babokim/tajo that referenced this pull request Dec 11, 2014
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