-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coral-hive: Added support for WITH clauses #125
Conversation
@wmoustafa @funcheetah @antumbde This is a follow-up diff to support WITH clauses in Hive. Please take a look when you get a chance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @uzshao
Integration test succeeded.
@@ -62,6 +62,40 @@ public void testBasic() { | |||
verifyRel(rel, expected); | |||
} | |||
|
|||
@Test | |||
public void testBasic2() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we share the common code between testBasic
and testBasic2
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fixed it by extracting the common code into a separate function.
b6a9571
to
67e49bb
Compare
@wmoustafa Can you take a look again? I extracted the common code, and also added one more test case on with. |
|
||
@Test | ||
public void testWithNested() { | ||
// Test if the code can handle the use of the second alias from the WithList |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: the comment is the same as testWith2
, should also be changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Just pushed a fix to the comment.
67e49bb
to
0861a08
Compare
No description provided.