This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* import iceberg * server struct * rename crates to libs * init db
- Loading branch information
1 parent
5eeeea3
commit 4fd1c28
Showing
59 changed files
with
18,916 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -14,4 +14,6 @@ Cargo.lock | |
*.pdb | ||
|
||
# macOS resource forks and .DS_Store files | ||
.DS_Store | ||
.DS_Store | ||
|
||
.vscode |
This file contains 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 |
---|---|---|
@@ -1,8 +1,33 @@ | ||
# 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 = "catalog2" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/cmu-db/15721-s24-catalog2" | ||
rust-version = "1.75.0" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
rocket = { version = "0.5.0", features = ["json", "http2"] } | ||
iceberg = { src = "./libs/iceberg" } | ||
dotenv = "0.15.0" | ||
pickledb = "^0.5.0" |
This file contains 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,54 @@ | ||
# 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. | ||
|
||
.EXPORT_ALL_VARIABLES: | ||
|
||
RUST_LOG = debug | ||
|
||
build: | ||
cargo build | ||
|
||
run: | ||
cargo build | ||
target/debug/catalog2 | ||
|
||
check-fmt: | ||
cargo fmt --all -- --check | ||
|
||
check-clippy: | ||
cargo clippy --all-targets --all-features --workspace -- -D warnings | ||
|
||
cargo-sort: | ||
cargo install cargo-sort | ||
cargo sort -c -w | ||
|
||
fix-toml: | ||
cargo install taplo-cli --locked | ||
taplo fmt | ||
|
||
check-toml: | ||
cargo install taplo-cli --locked | ||
taplo check | ||
|
||
check: check-fmt check-clippy cargo-sort check-toml | ||
|
||
unit-test: | ||
cargo test --no-fail-fast --lib --all-features --workspace | ||
|
||
test: | ||
cargo test --no-fail-fast --all-targets --all-features --workspace | ||
cargo test --no-fail-fast --doc --all-features --workspace |
This file contains 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,67 @@ | ||
# 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 = "iceberg" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
rust-version = { workspace = true } | ||
|
||
categories = ["database"] | ||
description = "Apache Iceberg Rust implementation" | ||
repository = { workspace = true } | ||
license = { workspace = true } | ||
keywords = ["iceberg"] | ||
|
||
[dependencies] | ||
anyhow = { workspace = true } | ||
apache-avro = { workspace = true } | ||
arrow-arith = { workspace = true } | ||
arrow-array = { workspace = true } | ||
arrow-schema = { workspace = true } | ||
async-trait = { workspace = true } | ||
bimap = { workspace = true } | ||
bitvec = { workspace = true } | ||
chrono = { workspace = true } | ||
derive_builder = { workspace = true } | ||
either = { workspace = true } | ||
futures = { workspace = true } | ||
itertools = { workspace = true } | ||
lazy_static = { workspace = true } | ||
log = { workspace = true } | ||
murmur3 = { workspace = true } | ||
once_cell = { workspace = true } | ||
opendal = { workspace = true } | ||
ordered-float = { workspace = true } | ||
reqwest = { workspace = true } | ||
rust_decimal = { workspace = true } | ||
serde = { workspace = true } | ||
serde_bytes = { workspace = true } | ||
serde_derive = { workspace = true } | ||
serde_json = { workspace = true } | ||
serde_repr = { workspace = true } | ||
serde_with = { workspace = true } | ||
typed-builder = { workspace = true } | ||
url = { workspace = true } | ||
urlencoding = { workspace = true } | ||
uuid = { workspace = true } | ||
|
||
[dev-dependencies] | ||
pretty_assertions = { workspace = true } | ||
tempfile = { workspace = true } | ||
tera = { workspace = true } | ||
tokio = { workspace = true } |
Oops, something went wrong.