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

Support read_csv(https) for Compressed Files #4708

Open
stanbrub opened this issue Oct 24, 2023 · 0 comments
Open

Support read_csv(https) for Compressed Files #4708

stanbrub opened this issue Oct 24, 2023 · 0 comments
Assignees
Labels
core Core development tasks csv feature request New feature or request
Milestone

Comments

@stanbrub
Copy link
Contributor

Reading a csv as a compressed file works when reading from the file system, but reading the same file through http(s) does not work. This is currently not supported.

Example reading from a file that works

from deephaven import read_csv
tbl = read_csv('/data/benchmark-results.csv.gz')

Example reading from a remote file that does not work:

from deephaven import read_csv
tbl = read_csv('https://storage.googleapis.com/deephaven-benchmark/nightly/run-183911a69e/benchmark-results.csv.gz')

The error message says:

Value: read csv failed : io.deephaven.csv.util.CsvReaderException: Row 2 has too few columns (expected 3)

So there are two problems here:

  • The error message does not indicate what is wrong
  • Support for a gzipped csv works for local files but not remote files

Given the complexity of how HTTP URLs can be specified, recommend support for some common forms found in cloud services like GCloud bucket as shown above and proper error messages for the rest.

@stanbrub stanbrub added feature request New feature or request triage labels Oct 24, 2023
@rcaudy rcaudy added core Core development tasks csv and removed triage labels Oct 24, 2023
@rcaudy rcaudy added this to the Backlog milestone Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core development tasks csv feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants