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

fix: Also split on forward slashes during hive path inference on Windows #19282

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Oct 17, 2024

ref #19103 (comment)

We currently only split on backslashes, but Windows paths can use both forwards and backwards slashes as separators

This should fix the test

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 17, 2024
@nameexhaustion nameexhaustion changed the title fix: Windows paths fix: Split Windows paths that contain forward slashes for hive path inference Oct 17, 2024
@nameexhaustion nameexhaustion marked this pull request as ready for review October 17, 2024 15:06
@nameexhaustion nameexhaustion changed the title fix: Split Windows paths that contain forward slashes for hive path inference fix: Include forward slashes for path splitting on Windows during hive path inference Oct 17, 2024
@nameexhaustion nameexhaustion marked this pull request as draft October 17, 2024 15:13
@nameexhaustion nameexhaustion marked this pull request as ready for review October 17, 2024 15:17
@nameexhaustion nameexhaustion changed the title fix: Include forward slashes for path splitting on Windows during hive path inference fix: Also split on forward slashes during hive path inference on Windows Oct 17, 2024
@ritchie46 ritchie46 merged commit 01a4e06 into pola-rs:main Oct 17, 2024
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants