-
Notifications
You must be signed in to change notification settings - Fork 237
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
Enable JSON Scan and from_json by default #11753
Conversation
Signed-off-by: Robert (Bobby) Evans <[email protected]>
build |
Note that this depends on: |
docs/compatibility.md
Outdated
Spark supports parsing decimal types either formatted as floating point number or integral numbers, even if it is | ||
in a quoted string. If it is in a quoted string the local of the JVM is used to determine the number format. | ||
If the local is not for the `US`, which is the default we will fall back to the CPU because we do not currently | ||
parse those numbers correctly. The `US` format removes all commas ',' from the string. |
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.
Need to clarify this, otherwise this can be misunderstood as removing commas from any string either quoted or unquoted.
parse those numbers correctly. The `US` format removes all commas ',' from the string. | |
parse those numbers correctly. The `US` format removes all commas ',' from the quoted string. |
Signed-off-by: Robert (Bobby) Evans <[email protected]>
build |
@ttnghia please take another look |
build |
@@ -323,7 +323,7 @@ try to call out which releases we offer different results for. JSON parsing is e | |||
except for date and timestamp types where we still have work to complete. If you wish to disable | |||
JSON Scan you can set `spark.rapids.sql.format.json.enabled` or | |||
`spark.rapids.sql.format.json.read.enabled` to false. To disable `from_json` you can set | |||
`spark.rapids.sql.expression.StructsToJson` to false. | |||
`spark.rapids.sql.expression.JsonToStructs` to false. |
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.
Thanks for the fix. Generally I prefer to have someone post a change request instead of pushing to my PR directly. That is so that I can keep my internal development branch in sync with what is in the PR.
this fixes #11630
Note that @ttnghia did a lot of work on MAP support so we are enabling that by default too.