-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-15914][SQL] Add deprecated method back to SQLContext for backward source code compatibility #13637
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
|
Test build #60387 has finished for PR 13637 at commit
|
|
Test build #60424 has finished for PR 13637 at commit
|
|
Test build #60425 has finished for PR 13637 at commit
|
| * `read().format(source).schema(schema).options(options).load()`. | ||
| */ | ||
| @deprecated("Use read.format(source).schema(schema).options(options).load() instead.", "1.4.0") | ||
| def load(source: String, schema: StructType, options: java.util.Map[String, String]): DataFrame = |
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 the right style is:
def load(
sources: String,
schema: StructType,
options: ...): DataFrame = {
read.format...
}
|
This looks good, just minor commnts |
|
Test build #60433 has finished for PR 13637 at commit
|
|
Test build #60447 has finished for PR 13637 at commit
|
|
Thanks. Merging to master and branch 2.0. |
…ard source code compatibility ## What changes were proposed in this pull request? Revert partial changes in SPARK-12600, and add some deprecated method back to SQLContext for backward source code compatibility. ## How was this patch tested? Manual test. Author: Sean Zhong <[email protected]> Closes #13637 from clockfly/SPARK-15914. (cherry picked from commit 6e8cdef) Signed-off-by: Yin Huai <[email protected]>
What changes were proposed in this pull request?
Revert partial changes in SPARK-12600, and add some deprecated method back to SQLContext for backward source code compatibility.
How was this patch tested?
Manual test.