-
Notifications
You must be signed in to change notification settings - Fork 148
Create workspace with core and util crates #1414
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
Open
timsaucer
wants to merge
13
commits into
apache:main
Choose a base branch
from
timsaucer:feat/add-util-crate
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
500faa9
Break up the repository into a workspace with three crates
timsaucer 01817f7
We have a workspace cargo lock file now so this is not needed
timsaucer 9266f9a
Cleanup
timsaucer a421b1f
These files should be redundant because of the build.rs file
timsaucer ec3b81a
More moving around of utils to clean up
timsaucer bc2d53a
Add note on how to run FFI example tests
timsaucer 0f2c73a
Add back in dep removed during rebase
timsaucer 59826a0
taplo fmt
timsaucer 0be1501
Since we have a workspace we know the example version is in sync so w…
timsaucer 6dd67b5
Add description, homepage, and repository to Cargo.toml
timsaucer 15afaca
Add description, homepage, and repository to Cargo.toml
timsaucer b73c850
Add description, homepage, and repository to Cargo.toml
timsaucer 2c1491f
Removed unused include
timsaucer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| [package] | ||
| name = "datafusion-python" | ||
| version.workspace = true | ||
| edition.workspace = true | ||
| rust-version.workspace = true | ||
| license.workspace = true | ||
| description.workspace = true | ||
| homepage.workspace = true | ||
| repository.workspace = true | ||
| include = [ | ||
| "src", | ||
| "../LICENSE.txt", | ||
| "build.rs", | ||
| "../pyproject.toml", | ||
| "Cargo.toml", | ||
| "../Cargo.lock", | ||
| ] | ||
|
|
||
| [dependencies] | ||
| tokio = { workspace = true, features = [ | ||
| "macros", | ||
| "rt", | ||
| "rt-multi-thread", | ||
| "sync", | ||
| ] } | ||
| pyo3 = { workspace = true, features = [ | ||
| "extension-module", | ||
| "abi3", | ||
| "abi3-py310", | ||
| ] } | ||
| pyo3-async-runtimes = { workspace = true, features = ["tokio-runtime"] } | ||
| pyo3-log = { workspace = true } | ||
| arrow = { workspace = true, features = ["pyarrow"] } | ||
| arrow-select = { workspace = true } | ||
| datafusion = { workspace = true, features = ["avro", "unicode_expressions"] } | ||
| datafusion-substrait = { workspace = true, optional = true } | ||
| datafusion-proto = { workspace = true } | ||
| datafusion-ffi = { workspace = true } | ||
| prost = { workspace = true } # keep in line with `datafusion-substrait` | ||
| serde_json = { workspace = true } | ||
| uuid = { workspace = true, features = ["v4"] } | ||
| mimalloc = { workspace = true, optional = true, features = [ | ||
| "local_dynamic_tls", | ||
| ] } | ||
| async-trait = { workspace = true } | ||
| futures = { workspace = true } | ||
| cstr = { workspace = true } | ||
| object_store = { workspace = true, features = ["aws", "gcp", "azure", "http"] } | ||
| url = { workspace = true } | ||
| log = { workspace = true } | ||
| parking_lot = { workspace = true } | ||
| datafusion-python-util = { workspace = true } | ||
|
|
||
| [build-dependencies] | ||
| prost-types = { workspace = true } | ||
| pyo3-build-config = { workspace = true } | ||
|
|
||
| [features] | ||
| default = ["mimalloc"] | ||
| protoc = ["datafusion-substrait/protoc"] | ||
| substrait = ["dep:datafusion-substrait"] | ||
|
|
||
| [lib] | ||
| name = "datafusion_python" | ||
| crate-type = ["cdylib", "rlib"] | ||
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.