-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-5758][SQL] Use LongType as the default type for integers in JSON schema inference. #4544
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 #27309 has started for PR 4544 at commit
|
lgtm - assuming tests pass. |
Test build #27309 has finished for PR 4544 at commit
|
Test FAILed. |
cc @mengxr this broke MLlib... thoughts? |
I think some Integers are dumped into JSON, then come out as LongType, then break some APIs. |
Yes, we use |
@yhuai I created a JIRA to use json4s directly in MLlib: https://issues.apache.org/jira/browse/SPARK-5757. Could you make a JIRA for this PR and link them? |
@mengxr Sure. I have created https://issues.apache.org/jira/browse/SPARK-5758. |
…json4s This PR detaches MLlib model import/export code from SQL's JSON support, and hence unblocks #4544 . yhuai Author: Xiangrui Meng <meng@databricks.com> Closes #4555 from mengxr/SPARK-5757 and squashes the following commits: b0415e8 [Xiangrui Meng] replace SQL JSON usage by json4s (cherry picked from commit 99bd500) Signed-off-by: Xiangrui Meng <meng@databricks.com>
…json4s This PR detaches MLlib model import/export code from SQL's JSON support, and hence unblocks #4544 . yhuai Author: Xiangrui Meng <meng@databricks.com> Closes #4555 from mengxr/SPARK-5757 and squashes the following commits: b0415e8 [Xiangrui Meng] replace SQL JSON usage by json4s
test this please |
Test build #27365 has started for PR 4544 at commit
|
Test build #27365 has finished for PR 4544 at commit
|
Test PASSed. |
…ON schema inference. Author: Yin Huai <yhuai@databricks.com> Closes #4544 from yhuai/jsonUseLongTypeByDefault and squashes the following commits: 6e2ffc2 [Yin Huai] Use LongType as the default type for integers in JSON schema inference. (cherry picked from commit c352ffb) Signed-off-by: Michael Armbrust <michael@databricks.com>
No description provided.