We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 (Velox)
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:
CREATE TABLE tbl(a STRING) ; insert into tbl values("2022-01-04 14:52:40.017")
gluten result:
select unix_timestamp(a) from tbl; > NULL
spark3.5 result:
set spark.sql.legacy.timeParserPolicy=LEGACY; select unix_timestamp(a) from tbl; > 1641279160
Spark-3.5.x
No response
The text was updated successfully, but these errors were encountered:
Allow partial date parsing when simple datetime formatter is used (#1…
5b274e3
…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
Sorry, something went wrong.
Hi @NEUpanning, thanks for your contribution. Do we have any unit test in Gluten to ensure this issue has been fixed?
@rui-mo Thanks for catching that. I've added unit tests in #7975
No branches or pull requests
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: