crealytics / spark-excel

A Spark plugin for reading and writing Excel files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Incorrect date formatting if I indicate sheet Spark Read Excel

violetareimer opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have detected what appears to be an error with the sheet selection option in pyspark, I don't really understand the reason but when I read an Excel indicating the first sheet it formats the date incorrectly. When I don't indicate it, it formats correctly.

imagen-withoption
imagen-withoutoption

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- Spark version:spark version 3.3.2
- Spark-Excel version:com.crealytics:spark-excel-2.12.17-3.2.2_2.12:3.2.2_0.18.1
- Cluster environment: databricks
- Library souce: Maven, Coordinates com.crealytics:spark-excel_2.12:3.2.1_0.16.5-pre1

Anything else?

No response

Can you try the newest version (0.20.3) and also the version using .format("excel")?