Skip to content

Bug: DataFrame.readCSV("") returns files in the folder #508

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

Closed
Jolanrensen opened this issue Nov 20, 2023 · 3 comments · Fixed by #903
Closed

Bug: DataFrame.readCSV("") returns files in the folder #508

Jolanrensen opened this issue Nov 20, 2023 · 3 comments · Fixed by #903
Assignees
Labels
bug Something isn't working csv CSV / delim related issues
Milestone

Comments

@Jolanrensen
Copy link
Collaborator

image_720

Also happens with readTSV and other functions that use catchHttpResonse.
readJson crashes when trying to read it: com.beust.klaxon.KlaxonException: Unexpected character at position 0: 'b' (ASCII: 98)', but this too should be caught.

@Jolanrensen Jolanrensen added the bug Something isn't working label Nov 20, 2023
@zaleslaw zaleslaw added this to the 0.14.0 milestone Apr 23, 2024
@zaleslaw
Copy link
Collaborator

Could it be a default behavior for dplyr/pandas?

@Jolanrensen
Copy link
Collaborator Author

No, it makes no sense to display list the files in the directory and interpret that String as csv.
It should either throw an exception, or concatenate all CSVs in the directory and read them all :)

@Jolanrensen Jolanrensen self-assigned this Aug 20, 2024
@Jolanrensen Jolanrensen added the csv CSV / delim related issues label Aug 20, 2024
This was referenced Aug 20, 2024
@Jolanrensen Jolanrensen modified the milestones: 0.14.0, 0.15.0 Aug 20, 2024
@Jolanrensen Jolanrensen mentioned this issue Nov 1, 2024
2 tasks
@Jolanrensen
Copy link
Collaborator Author

Will be solved in the new CSV implementation: "dataframe-csv"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working csv CSV / delim related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants