Skip to content

Commit b7e4635

Browse files
Remove paste dependency by expanding previously macro-generated code (#1138)
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #1064. ## What changes are included in this PR? <!-- Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates. --> * Remove `paste` as a dependency from Cargo files * Expand code that was previously generated through macros that used `paste!` (as suggested in #1064) ## Are these changes tested? <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> Given that this is a refactoring that does not add new functionality, I rely on the existing test suite to surface any errors.
1 parent 314af4c commit b7e4635

File tree

4 files changed

+287
-140
lines changed

4 files changed

+287
-140
lines changed

Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ arrow-ord = { version = "54.1.0" }
5050
arrow-schema = { version = "54.1.0" }
5151
arrow-select = { version = "54.1.0" }
5252
arrow-string = { version = "54.1.0" }
53-
async-stream = "0.3.5"
5453
async-trait = "0.1.86"
5554
async-std = "1.12"
5655
aws-config = "1"
@@ -62,13 +61,11 @@ chrono = "0.4.38"
6261
ctor = "0.2.8"
6362
datafusion = "45"
6463
derive_builder = "0.20"
65-
either = "1"
6664
env_logger = "0.11.0"
6765
fnv = "1.0.7"
6866
futures = "0.3"
6967
iceberg = { version = "0.4.0", path = "./crates/iceberg" }
7068
iceberg-catalog-rest = { version = "0.4.0", path = "./crates/catalog/rest" }
71-
iceberg-catalog-hms = { version = "0.4.0", path = "./crates/catalog/hms" }
7269
iceberg-catalog-memory = { version = "0.4.0", path = "./crates/catalog/memory" }
7370
iceberg-datafusion = { version = "0.4.0", path = "./crates/integrations/datafusion" }
7471
itertools = "0.13"
@@ -80,7 +77,6 @@ once_cell = "1.20"
8077
opendal = "0.51.2"
8178
ordered-float = "4"
8279
parquet = "54.1.0"
83-
paste = "1.0.15"
8480
pilota = "0.11.2"
8581
pretty_assertions = "1.4"
8682
port_scanner = "0.1.5"
@@ -100,7 +96,6 @@ thrift = "0.17.0"
10096
tokio = { version = "1.36", default-features = false }
10197
typed-builder = "0.20"
10298
url = "2.5.4"
103-
urlencoding = "2"
10499
uuid = { version = "1.13.1", features = ["v7"] }
105100
volo-thrift = "0.10"
106101
hive_metastore = "0.1"

crates/iceberg/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ once_cell = { workspace = true }
6969
opendal = { workspace = true }
7070
ordered-float = { workspace = true }
7171
parquet = { workspace = true, features = ["async"] }
72-
paste = { workspace = true }
7372
rand = { workspace = true }
7473
reqwest = { workspace = true }
7574
roaring = { workspace = true }

0 commit comments

Comments
 (0)