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

Sheet selection does not work for Open Document files (ods) #1702

Open
jze opened this issue Nov 4, 2024 · 0 comments
Open

Sheet selection does not work for Open Document files (ods) #1702

jze opened this issue Nov 4, 2024 · 0 comments

Comments

@jze
Copy link
Contributor

jze commented Nov 4, 2024

Overview

The selection of sheets does not work for Open Document files (ods). The first sheet is always used. However, it works for Excel files.

How to reproduce

frictionless describe --yaml --sheet TableB multi.ods

results in

name: multi
type: table
path: multi.ods
scheme: file
format: ods
mediatype: application/vnd.oasis.opendocument.spreadsheet
encoding: utf-8
dialect:
  excel:
    sheet: TableB
schema:
  fields:
    - name: a
      type: integer
    - name: b
      type: integer
    - name: c
      type: integer

However, the second sheet contains different information. This happens when you do the same with the Excel file:

frictionless describe --yaml --sheet TableB multi.xlsx

results in

name: multi
type: table
path: multi.xlsx
scheme: file
format: xlsx
mediatype: application/vnd.ms-excel
encoding: utf-8
dialect:
  excel:
    sheet: TableB
schema:
  fields:
    - name: x
      type: integer
    - name: y
      type: integer
    - name: z
      type: integer

Version: 5.18.0

multi.ods
multi.xlsx

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

1 participant