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 file_stream_provider example compilation failure on windows #10975

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

lewiszlw
Copy link
Member

Which issue does this PR close?

Closes #.

Rationale for this change

file_stream_provider example depends on nix crate which not support windows os. We could use cfg to avoid compilation failure on windows.

What changes are included in this PR?

Not change any code, just move code behind cfg flag.

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lewiszlw -- this makes sense to me

For any other reviewers, I found ignoring whitespace made this change much easier to follow; https://github.com/apache/datafusion/pull/10975/files?w=1

@alamb alamb merged commit ea0ba99 into apache:main Jun 19, 2024
23 checks passed
@alamb
Copy link
Contributor

alamb commented Jun 19, 2024

Thanks agian @lewiszlw

xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jun 22, 2024
…ache#10975)

* Fix file_stream_provider on windows

* Add .await & fmt
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jun 22, 2024
…ache#10975)

* Fix file_stream_provider on windows

* Add .await & fmt
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
…ache#10975)

* Fix file_stream_provider on windows

* Add .await & fmt
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.

None yet

2 participants