-
Notifications
You must be signed in to change notification settings - Fork 461
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
[VL] Results are mismatch with vanilla Spark when using unix_timestamp(yyyy-MM-dd HH:mm:ss,SSS) #6227
Comments
This was referenced Jun 26, 2024
facebook-github-bot
pushed a commit
to facebookincubator/velox
that referenced
this issue
Nov 14, 2024
…1386) Summary: The Spark legacy datetime formatter allows parsing date from incomplete text, seeing [code link](https://github.com/openjdk/jdk8/blob/master/jdk/src/share/classes/java/text/DateFormat.java#L351). This PR enables partial date parsing when the `LENIENT_SIMPLE` or `STRICT_SIMPLE` datetime formatter is used. Relates issues: #10354, [gluten#6227](apache/incubator-gluten#6227) Pull Request resolved: #11386 Reviewed By: pedroerp Differential Revision: D65948039 Pulled By: Yuhta fbshipit-source-id: 0d17084f723ebeaded7278178982b5a10d9f9fed
Resolved by velox#11386 |
Hi @NEUpanning, thanks for your contribution. Do we have any unit test in Gluten to ensure this issue has been fixed? |
athmaja-n
pushed a commit
to athmaja-n/velox
that referenced
this issue
Jan 10, 2025
…cebookincubator#11386) Summary: The Spark legacy datetime formatter allows parsing date from incomplete text, seeing [code link](https://github.com/openjdk/jdk8/blob/master/jdk/src/share/classes/java/text/DateFormat.java#L351). This PR enables partial date parsing when the `LENIENT_SIMPLE` or `STRICT_SIMPLE` datetime formatter is used. Relates issues: facebookincubator#10354, [gluten#6227](apache/incubator-gluten#6227) Pull Request resolved: facebookincubator#11386 Reviewed By: pedroerp Differential Revision: D65948039 Pulled By: Yuhta fbshipit-source-id: 0d17084f723ebeaded7278178982b5a10d9f9fed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Backend
VL (Velox)
Bug description
Results are mismatch with vanilla Spark setting "spark.sql.legacy.timeParserPolicy" to "LEGACY" when using unix_timestamp(yyyy-MM-dd HH:mm:ss,SSS).
create table sql:
gluten result:
spark3.5 result:
Spark version
Spark-3.5.x
Spark configurations
No response
System information
No response
Relevant logs
No response
The text was updated successfully, but these errors were encountered: