-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-18207][SQL] Fix a compilation error due to HashExpression.doGenCode #15745
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
Changes from 1 commit
71c3284
aa11c59
24a6320
3fdc813
049e477
6a57ba5
e96742e
2c405a1
a2544df
798fd85
61504c3
fa31521
a2b2408
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1743,6 +1743,7 @@ class DataFrameSuite extends QueryTest with SharedSQLContext { | |
| val widePlus2 = widePlus.withColumn("d_rank", lit(0)) | ||
| widePlus2.createOrReplaceTempView("wide_plus2") | ||
|
|
||
| // union operation in this SQL involves computation of hash for a row | ||
| val df = spark.sqlContext.sql("select * from wide_plus union select * from wide_plus2") | ||
| df.count | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you need to revert this change.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry for my typo. It is time for me to have to sleep.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No problem. Happens to us all :) |
||
|
|
||
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: Actually the hash computation is happened at HashAggregate.
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.
Thanks. Updated the comment