Skip to content
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

[SPARK-19236][Core] Added createOrReplaceGlobalTempView method #16598

Closed
wants to merge 1 commit into from
Closed

[SPARK-19236][Core] Added createOrReplaceGlobalTempView method #16598

wants to merge 1 commit into from

Conversation

arman1371
Copy link
Contributor

What changes were proposed in this pull request?

Added the createOrReplaceGlobalTempView method for dataset

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@arman1371 arman1371 changed the title Added createOrReplaceGlobalTempView method [SPARK-19236] Added createOrReplaceGlobalTempView method Jan 16, 2017
* preserved database `_global_temp`, and we must use the qualified name to refer a global temp
* view, e.g. `SELECT * FROM _global_temp.view1`.
*
* @group basic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should add since version 2.2.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually 2.1.1

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it seems it's not added in 2.1.1

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Global temp view support was added in 2.1. See the PR #14897

Copy link
Contributor Author

@arman1371 arman1371 May 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The createOrReplaceGlobalTempView method is not in Scala API
@rxin said it should be added since 2.1.1

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JAVA API?

Copy link
Contributor Author

@arman1371 arman1371 May 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, in the Scala API
I edited the comment

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API is added by you in this PR. This is for Scala API. Could you also add the corresponding one to Python API?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm not expert in Python

@arman1371 arman1371 changed the title [SPARK-19236] Added createOrReplaceGlobalTempView method [SPARK-19236][Core] Added createOrReplaceGlobalTempView method Jan 17, 2017
@HyukjinKwon
Copy link
Member

Hi @arman1371, is it still active?

@arman1371
Copy link
Contributor Author

@HyukjinKwon Yes

@gatorsmile
Copy link
Member

Merging to master. I will submit a separate PR for resolving the comment. Thanks!

@asfgit asfgit closed this in 4d57981 May 30, 2017
@rxin
Copy link
Contributor

rxin commented May 30, 2017

@gatorsmile this didn't run any tests!!!

@JoshRosen
Copy link
Contributor

@gatorsmile, merging this commit ended up breaking tests because this commit fails Scalastyle checks and the blank line actually had trailing whitespace. I'm pushing a hotfix now to address this, but next time please run tests, even for trivial changes.

@gatorsmile
Copy link
Member

Sorry, I forgot it.

asfgit pushed a commit that referenced this pull request Jun 2, 2017
…method

### What changes were proposed in this pull request?

This PR is to backport two PRs for adding the `createOrReplaceGlobalTempView` method
#18147
#16598

---
Added the createOrReplaceGlobalTempView method for dataset API

### How was this patch tested?
N/A

Author: Xiao Li <gatorsmile@gmail.com>

Closes #18167 from gatorsmile/Backport18147.
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.

6 participants