-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-11967][SQL] Consistent use of varargs for multiple paths in DataFrameReader #9945
Conversation
cc @koertkuipers since you did the change for load(Array) - I'm changing it to varargs here. |
Test build #46623 has finished for PR 9945 at commit
|
Test build #46638 has finished for PR 9945 at commit
|
Test build #46641 has finished for PR 9945 at commit
|
Test build #46642 has finished for PR 9945 at commit
|
Test FAILed. |
…taFrameReader This patch makes it consistent to use varargs in all DataFrameReader methods, including Parquet, JSON, text, and the generic load function. Also added a few more API tests for the Java API. Author: Reynold Xin <rxin@databricks.com> Closes #9945 from rxin/SPARK-11967. (cherry picked from commit 25bbd3c) Signed-off-by: Reynold Xin <rxin@databricks.com>
@@ -298,4 +298,27 @@ public void pivot() { | |||
Assert.assertEquals(48000.0, actual[1].getDouble(1), 0.01); | |||
Assert.assertEquals(30000.0, actual[1].getDouble(2), 0.01); | |||
} | |||
|
|||
public void testGenericLoad() { |
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.
There is no @Test
here, is it by means?
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.
oh we should add it. can you add it in ur next pr?
This patch makes it consistent to use varargs in all DataFrameReader methods, including Parquet, JSON, text, and the generic load function.
Also added a few more API tests for the Java API.