-
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
Add support for parsing strings as dates in from_json
[databricks]
#9666
Conversation
Signed-off-by: Andy Grove <[email protected]>
from_json
from_json
[databricks]
build |
from_json
[databricks]from_json
[databricks]
build |
build |
sql-plugin/src/main/scala/org/apache/spark/sql/catalyst/json/rapids/GpuJsonScan.scala
Outdated
Show resolved
Hide resolved
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.
Sorry I approved it too soon. Still have a few others to fix.
"", | ||
"yyyy-MM-dd", | ||
# https://github.com/NVIDIA/spark-rapids/issues/9667 | ||
pytest.param("dd/MM/yyyy", marks=pytest.mark.allow_non_gpu('ProjectExec')), |
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: I meant a separate test that does a fallback check, but I think this is okay.
build |
build |
build |
build |
build |
1 similar comment
build |
Part of #9590 (I plan on creating a separate PR for timestamp support).
Changes in this PR:
date
type infrom_json
, but only if the defaultdateFormat
ofyyyy-MM-dd
is used. There is a follow-up issue [FEA][JSON] Add support for non defaultdateFormat
infrom_json
#9667 for supporting other formats.