-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-5324][SQL] Results of describe can't be queried #4249
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
|
/cc @marmbrus |
|
Can one of the admins verify this patch? |
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: I'd prefer that the test name said what the correct behavior is, rather than the old bug it is checking for. I think its better when we're looking at test output, or if there is a regression on this and a dev needs to figure out what is being tests.
Maybe I am wrong about this, though -- we haven't applied that universally so far
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.
that's a great idea
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.
Use checkAnswer for test that check the results of queries.
|
ok to test |
|
Test build #26485 has started for PR 4249 at commit
|
|
Test build #26485 has finished for PR 4249 at commit
|
|
Test PASSed. |
|
Test build #26518 has started for PR 4249 at commit
|
d541a35 to
354ad71
Compare
|
Test build #26519 has started for PR 4249 at commit
|
|
Test build #26518 has finished for PR 4249 at commit
|
|
Test PASSed. |
|
Test build #26519 has finished for PR 4249 at commit
|
|
Test PASSed. |
|
Test build #26754 has started for PR 4249 at commit
|
|
/cc @marmbrus |
|
Test build #26754 has finished for PR 4249 at commit
|
|
Test PASSed. |
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.
I think it's OK to just change the def to a val without moving output into constructor argument list, so that we don't have to use named parameter isExtended = ... elsewhere. Did I miss something here?
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.
Hmm, i guess that is okay for leaf nodes since they will never be copied...
|
Test build #26831 has started for PR 4249 at commit
|
|
Test build #26831 has finished for PR 4249 at commit
|
|
Test PASSed. |
|
@marmbrus is this ready to go ? |
|
Test build #26905 has started for PR 4249 at commit
|
|
Test build #26905 has finished for PR 4249 at commit
|
|
Test PASSed. |
Make below code works.
```
sql("DESCRIBE test").registerTempTable("describeTest")
sql("SELECT * FROM describeTest").collect()
```
Author: OopsOutOfMemory <[email protected]>
Author: Sheng, Li <[email protected]>
Closes #4249 from OopsOutOfMemory/desc_query and squashes the following commits:
6fee13d [OopsOutOfMemory] up-to-date
e71430a [Sheng, Li] Update HiveOperatorQueryableSuite.scala
3ba1058 [OopsOutOfMemory] change to default argument
aac7226 [OopsOutOfMemory] Merge branch 'master' into desc_query
68eb6dd [OopsOutOfMemory] Merge branch 'desc_query' of github.com:OopsOutOfMemory/spark into desc_query
354ad71 [OopsOutOfMemory] query describe command
d541a35 [OopsOutOfMemory] refine test suite
e1da481 [OopsOutOfMemory] refine test suite
a780539 [OopsOutOfMemory] Merge branch 'desc_query' of github.com:OopsOutOfMemory/spark into desc_query
0015f82 [OopsOutOfMemory] code style
dd0aaef [OopsOutOfMemory] code style
c7d606d [OopsOutOfMemory] rename test suite
75f2342 [OopsOutOfMemory] refine code and test suite
f942c9b [OopsOutOfMemory] initial
11559ae [OopsOutOfMemory] code style
c5fdecf [OopsOutOfMemory] code style
aeaea5f [OopsOutOfMemory] rename test suite
ac2c3bb [OopsOutOfMemory] refine code and test suite
544573e [OopsOutOfMemory] initial
(cherry picked from commit 0b7eb3f)
Signed-off-by: Michael Armbrust <[email protected]>
|
Thanks! Merged to master and 1.3 |
Make below code works.