Skip to content

Accept pathlib.Path, os.PathLike, bytes, and file-like objects in read_parquet/from_parquet - #489

Merged
evertlammerts merged 1 commit into
duckdb:v1.5-variegatafrom
evertlammerts:read-parquet-pathlike
Jun 10, 2026
Merged

evertlammerts merged 1 commit into
duckdb:v1.5-variegatafrom
evertlammerts:read-parquet-pathlike

Conversation

@evertlammerts

Copy link
Copy Markdown
Member

This PR makes the first arg ofread_parquet/from_parquet go through GetPathLike() (like read_csv/read_json) so they accept pathlib.Path, generic os.PathLike, bytes, file-like objects, and mixed lists in addition to the existing str/Sequence[str].

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

Successfully merging this pull request may close these issues.

1 participant