Skip to content

Conversation

@andygrove
Copy link
Member

@andygrove andygrove commented Aug 3, 2020

The core arrow crate had a dependency on the arrow-flight crate, which doesn't make sense. Arrow should have minimal dependencies and should not depend on protocols or servers. Flight should depend on Arrow instead.

I also changed the name of lib from flight to arrow_flight to match the Cargo manifest. I did this because I ran into compilation issues but I think this is worth changing anyway since there is already a flight crate on crates.io (unrelated to Arrow). I can try and roll back this change though if there are objections.

@vertexclique
Copy link
Contributor

Before merging this, please take a look at mine: #7894
I simplified a bit of what happens when feature gates are enabled.

@github-actions
Copy link

github-actions bot commented Aug 3, 2020

@andygrove andygrove marked this pull request as ready for review August 4, 2020 01:35
@andygrove
Copy link
Member Author

@vertexclique I would prefer to have this PR only change the dependency between arrow and flight. This is quite a large change in itself. We can create follow-on PRs to make changes to feature gates.

@andygrove andygrove requested a review from sunchao August 4, 2020 01:42
@nevi-me
Copy link
Contributor

nevi-me commented Aug 4, 2020

@vertexclique I would prefer to have this PR only change the dependency between arrow and flight. This is quite a large change in itself. We can create follow-on PRs to make changes to feature gates.

or rebase the feature-gating PR against this one when it's merged ...

Copy link
Contributor

@nevi-me nevi-me left a comment

Choose a reason for hiding this comment

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

Thanks Andy

@vertexclique
Copy link
Contributor

vertexclique commented Aug 4, 2020

@nevi-me @andygrove
ok so yeah what I can do moving forward is:

  1. create a ticket and rebase master on top.
  2. Finalize ARROW-9608: [Rust] Leaner feature gating for arrow in parquet #7873 to make parquet also use the raw arrow.

Sounds good?

@andygrove andygrove closed this in c20e2f6 Aug 4, 2020
kszucs pushed a commit to kszucs/arrow that referenced this pull request Aug 17, 2020
…round

The core `arrow` crate had a dependency on the `arrow-flight` crate, which doesn't make sense. Arrow should have minimal dependencies and should not depend on protocols or servers. Flight should depend on Arrow instead.

I also changed the name of lib from `flight` to `arrow_flight` to match the Cargo manifest. I did this because I ran into compilation issues but I think this is worth changing anyway since there is already a `flight` crate on crates.io (unrelated to Arrow). I can try and roll back this change though if there are objections.

Closes apache#7892 from andygrove/ARROW-9631

Authored-by: Andy Grove <[email protected]>
Signed-off-by: Andy Grove <[email protected]>
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.

3 participants