Skip to content
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

[BUG] Old excel files are not supported. #752

Closed
1 task done
akshayjain3450 opened this issue Jun 30, 2023 · 1 comment
Closed
1 task done

[BUG] Old excel files are not supported. #752

akshayjain3450 opened this issue Jun 30, 2023 · 1 comment

Comments

@akshayjain3450
Copy link

akshayjain3450 commented Jun 30, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Error:

Exception in thread "main" org.apache.poi.hssf.OldExcelFormatException: The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format. POI only supports BIFF8 format (from Excel versions 97/2000/XP/2003)

Expected Behavior

No response

Steps To Reproduce

Sample Spark Program:

def read(): Unit = {
  val df = spark.read.format("excel").load("examples/elsec09t.xls")
  df.show(10)
}

elsec09t.xls

Environment

- Spark version: 3.3.1
- Spark-Excel version: 3.3.1_0.18.5
- OS: MacOS

Anything else?

No response

@nightscape
Copy link
Owner

Nothing we can do here...
Please convert your Excel files a non-ancient version 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants