-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-12542] [SQL] support except/intersect in HiveQl #10622
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
Conversation
|
@hvanhovell This patch can't be compiled, failed with: Have you hit this before? |
|
@davies I haven't seen this one before. We can take a look at the generated source... |
|
@hvanhovell Thanks, I will wait for @viirya's PR go first. |
Conflicts: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala
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.
do we support just union, i.e. alias for union distinct?
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.
Hive 1.2's parser should support union.
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.
Actually this test case shouldn't be here? It should just go into the normal sql test case now, and make sure we also test union.
|
Test build #48882 has finished for PR 10622 at commit
|
|
Test build #48891 has finished for PR 10622 at commit
|
|
LGTM. Would be great for @hvanhovell to take a quick look too. |
|
The following query does not work: I had not figure out a way to fix this. PS: It seems that HiveParse is not a good stand point. lots of corner cases do not work. |
|
Let's open a jira ticket to track that and see if some open source contributors can pick it up. |
|
LGTM |
|
Merging this in. Thanks! |
Parse the SQL query with except/intersect in FROM clause for HivQL.