Skip to content

Conversation

@Kimahriman
Copy link
Contributor

What changes were proposed in this pull request?

Don't override the user-provided basePath for streaming file source reads without globbing.

Why are the changes needed?

#14803 fixed an issue reading partition values for streaming file source reads without globbing, but it always overwrites the basePath option. If the user provides a custom basePath in this case, there can be a mismatch in partition schema from when the stream is loaded to when a batch is executed, causing errors.

Does this PR introduce any user-facing change?

Bug fix.

How was this patch tested?

New UT

Was this patch authored or co-authored using generative AI tooling?

No

@Kimahriman
Copy link
Contributor Author

Re-opening from #49220 which was approved but never merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant