-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-2287] [SQL] Make ScalaReflection be able to handle Generic case classes. #1226
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
|
Merged build triggered. |
|
Merged build started. |
|
This will cause merge conflict with #1193, but I can fix it soon. |
Conflicts: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala
|
Merged build triggered. |
|
Merged build started. |
|
Fixed merge conflict with #1193. |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. |
1 similar comment
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16143/ |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16140/ |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16147/ |
|
Could you please retest this? |
|
test this please |
|
I think Jenkins only listens to committers, but you could always just push a new commit (or the same commit with something like |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16165/ |
|
@marmbrus I see, I will do it next time, thanks. |
|
Yeah, I don't know. Seems to work for me locally and you didn't touch anything hive related... test this please |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16203/ |
|
Passed Hive tests. Why? Just merged master. |
|
test this please. |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16210/ |
|
Hi @marmbrus, I found that there is a case at my local throwing the same exception with even if my patch is not applied. And I added a line to then it worked. Would it be a help for you? |
|
Ah, we must call |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
…e classes. Author: Takuya UESHIN <[email protected]> Closes #1226 from ueshin/issues/SPARK-2287 and squashes the following commits: 32ef7c3 [Takuya UESHIN] Add execution of `SHOW TABLES` before `TestHive.reset()`. 541dc8d [Takuya UESHIN] Merge branch 'master' into issues/SPARK-2287 fac5fae [Takuya UESHIN] Remove unnecessary method receiver. d306e60 [Takuya UESHIN] Merge branch 'master' into issues/SPARK-2287 7de5706 [Takuya UESHIN] Make ScalaReflection be able to handle Generic case classes. (cherry picked from commit bc7041a) Signed-off-by: Michael Armbrust <[email protected]>
…e classes. Author: Takuya UESHIN <[email protected]> Closes #1226 from ueshin/issues/SPARK-2287 and squashes the following commits: 32ef7c3 [Takuya UESHIN] Add execution of `SHOW TABLES` before `TestHive.reset()`. 541dc8d [Takuya UESHIN] Merge branch 'master' into issues/SPARK-2287 fac5fae [Takuya UESHIN] Remove unnecessary method receiver. d306e60 [Takuya UESHIN] Merge branch 'master' into issues/SPARK-2287 7de5706 [Takuya UESHIN] Make ScalaReflection be able to handle Generic case classes. (cherry picked from commit bc7041a) Signed-off-by: Michael Armbrust <[email protected]>
|
Thanks! I've merged this into master and the 1.0 branches. |
…e classes. Author: Takuya UESHIN <[email protected]> Closes apache#1226 from ueshin/issues/SPARK-2287 and squashes the following commits: 32ef7c3 [Takuya UESHIN] Add execution of `SHOW TABLES` before `TestHive.reset()`. 541dc8d [Takuya UESHIN] Merge branch 'master' into issues/SPARK-2287 fac5fae [Takuya UESHIN] Remove unnecessary method receiver. d306e60 [Takuya UESHIN] Merge branch 'master' into issues/SPARK-2287 7de5706 [Takuya UESHIN] Make ScalaReflection be able to handle Generic case classes.
### What changes were proposed in this pull request? This PR cherry-picks the code for SNAPSHOT and MIGRATE commands to Spark 3.2. ### Why are the changes needed? A catalog can now implement MigrateSupport and SnapshotSupport which are mapped to SQL that matches the ADT grammar used previously. ### Does this PR introduce _any_ user-facing change? Yes but the changes are isolated. ### How was this patch tested? This PR comes with tests. More tests in Iceberg.
No description provided.