Skip to content

Conversation

@OopsOutOfMemory
Copy link
Contributor

Make below code works.

sql("DESCRIBE test").registerTempTable("describeTest")
sql("SELECT * FROM describeTest").collect()

@OopsOutOfMemory
Copy link
Contributor Author

/cc @marmbrus

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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.

@marmbrus
Copy link
Contributor

marmbrus commented Feb 2, 2015

ok to test

@SparkQA
Copy link

SparkQA commented Feb 2, 2015

Test build #26485 has started for PR 4249 at commit 11559ae.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 2, 2015

Test build #26485 has finished for PR 4249 at commit 11559ae.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26485/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Feb 2, 2015

Test build #26518 has started for PR 4249 at commit d541a35.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 2, 2015

Test build #26519 has started for PR 4249 at commit 354ad71.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 2, 2015

Test build #26518 has finished for PR 4249 at commit d541a35.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26518/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Feb 2, 2015

Test build #26519 has finished for PR 4249 at commit 354ad71.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26519/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Feb 4, 2015

Test build #26754 has started for PR 4249 at commit 3ba1058.

  • This patch merges cleanly.

@OopsOutOfMemory
Copy link
Contributor Author

/cc @marmbrus
make the references as default argument.

@SparkQA
Copy link

SparkQA commented Feb 4, 2015

Test build #26754 has finished for PR 4249 at commit 3ba1058.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26754/
Test PASSed.

Copy link
Contributor

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?

Copy link
Contributor

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...

@SparkQA
Copy link

SparkQA commented Feb 5, 2015

Test build #26831 has started for PR 4249 at commit e71430a.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 5, 2015

Test build #26831 has finished for PR 4249 at commit e71430a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26831/
Test PASSed.

@OopsOutOfMemory
Copy link
Contributor Author

@marmbrus is this ready to go ?

@SparkQA
Copy link

SparkQA commented Feb 6, 2015

Test build #26905 has started for PR 4249 at commit 6fee13d.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 6, 2015

Test build #26905 has finished for PR 4249 at commit 6fee13d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26905/
Test PASSed.

asfgit pushed a commit that referenced this pull request Feb 6, 2015
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]>
@asfgit asfgit closed this in 0b7eb3f Feb 6, 2015
@marmbrus
Copy link
Contributor

marmbrus commented Feb 6, 2015

Thanks! Merged to master and 1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants