-
Couldn't load subscription status.
- Fork 338
SQL Catalog #503
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
SQL Catalog #503
Changes from 51 commits
1409590
d372098
a12bd20
1790e1e
08ad46f
761f03f
8685c5a
83829e8
2b54962
ca6fe42
ac8623b
3ebb8ef
5e82b78
c51cd96
07b531e
f4c3196
0d7fb09
1e0258c
cd34f87
0651db0
fca5338
88e7a32
de91409
bc69606
5c1e7f0
9746a29
da85c88
131555e
7115401
5e3749c
077427f
ec28753
5ea41af
b356c95
ce58c76
2c27294
0e53c31
2262f64
50295cc
17c56ad
1c55256
0ddf09a
dc36b83
6f33fae
327517e
4bb2fde
2c4ca25
605184f
a16cd56
b2ce80b
b099ee9
b91b818
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # 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-catalog-sql" | ||
| version = { workspace = true } | ||
| edition = { workspace = true } | ||
| homepage = { workspace = true } | ||
| rust-version = { workspace = true } | ||
|
|
||
| categories = ["database"] | ||
| description = "Apache Iceberg Rust Sql Catalog" | ||
| repository = { workspace = true } | ||
| license = { workspace = true } | ||
| keywords = ["iceberg", "sql", "catalog"] | ||
|
|
||
| [dependencies] | ||
| async-trait = { workspace = true } | ||
| iceberg = { workspace = true } | ||
| serde_json = { workspace = true } | ||
| sqlx = { version = "0.7.4", features = ["tls-rustls", "any" ], default-features = false } | ||
| typed-builder = { workspace = true } | ||
| uuid = { workspace = true, features = ["v4"] } | ||
|
|
||
| [dev-dependencies] | ||
| iceberg_test_utils = { path = "../../test_utils", features = ["tests"] } | ||
| itertools = { workspace = true } | ||
| regex = "1.10.5" | ||
| sqlx = { version = "0.7.4", features = ["tls-rustls", "runtime-tokio", "any", "sqlite", "migrate"], default-features = false } | ||
| tempfile = { workspace = true } | ||
| tokio = { workspace = true } | ||
|
|
||
| [features] | ||
| sqlite = ["sqlx/sqlite"] | ||
| postgres = ["sqlx/postgres"] | ||
| mysql = ["sqlx/mysql"] | ||
|
Comment on lines
+48
to
+50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi, I'm considering whether it's possible to avoid providing features ourselves. Instead, users can active whether they want by adding iceberg_catalog_sql = "0.x"
sqlx = { version = "0.7.4", features = ["sqlite", "postgres"] }So we only depends on the interface of sqlx. Users can pick up whatever driver they want (even those implemented by their own). |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <!-- | ||
| ~ 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. | ||
| --> | ||
|
|
||
| # Apache Iceberg Sql Catalog Official Native Rust Implementation | ||
|
|
Uh oh!
There was an error while loading. Please reload this page.