-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-10495] [SQL] Read date values in JSON data stored by Spark 1.5.0. #8806
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 #42630 has finished for PR 8806 at commit
|
// For UDT, udt.serialize will produce SQL types. So, we need the following three cases. | ||
case (ArrayType(ty, _), v: ArrayData) => | ||
gen.writeStartArray() | ||
v.foreach(ty, (_, value) => valWriter(ty, value)) |
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.
Should probably replace this foreach
with a while
.
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.
This foreach is provided by ArrayData
.
test this please |
Test build #1774 has finished for PR 8806 at commit
|
Test build #42687 has finished for PR 8806 at commit
|
https://issues.apache.org/jira/browse/SPARK-10681 Author: Yin Huai <yhuai@databricks.com> Closes #8806 from yhuai/SPARK-10495. (cherry picked from commit 0494c80) Signed-off-by: Cheng Lian <lian@databricks.com>
LGTM, merged to master and branch-1.5. |
https://issues.apache.org/jira/browse/SPARK-10681 Author: Yin Huai <yhuai@databricks.com> Closes apache#8806 from yhuai/SPARK-10495. (cherry picked from commit 0494c80) Signed-off-by: Cheng Lian <lian@databricks.com> (cherry picked from commit 7ab4d17)
https://issues.apache.org/jira/browse/SPARK-10681