Skip to content
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

Better support for parsing date-related data types from ClickHouse #6863

Merged
merged 6 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
729 changes: 391 additions & 338 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ cargo_metadata = "0.18.1"
chacha20poly1305 = "0.10.1"
cfg-if = "1.0"
chrono = { version = "0.4", features = [ "serde" ] }
chrono-tz = "0.10.0"
ciborium = "0.2.2"
clap = { version = "4.5", features = ["cargo", "derive", "env", "wrap_help"] }
clickhouse-admin-api = { path = "clickhouse-admin/api" }
Expand Down Expand Up @@ -398,6 +399,7 @@ hyper-util = "0.1.9"
hyper-rustls = "0.26.0"
hyper-staticfile = "0.10.0"
illumos-utils = { path = "illumos-utils" }
iana-time-zone = "0.1.61"
indent_write = "2.2.0"
indexmap = "2.6.0"
indicatif = { version = "0.17.8", features = ["rayon"] }
Expand Down
3 changes: 3 additions & 0 deletions oximeter/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ async-trait.workspace = true
bcs.workspace = true
camino.workspace = true
chrono.workspace = true
chrono-tz.workspace = true
clap.workspace = true
clickward.workspace = true
dropshot.workspace = true
futures.workspace = true
gethostname.workspace = true
highway.workspace = true
iana-time-zone.workspace = true
libc.workspace = true
nom.workspace = true
num.workspace = true
omicron-common.workspace = true
omicron-workspace-hack.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion oximeter/db/src/bin/oxdb/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ async fn main() -> anyhow::Result<()> {
.await?
}
#[cfg(feature = "native-sql")]
Subcommand::NativeSql => oximeter_db::shells::native::shell().await?,
Subcommand::NativeSql => {
oximeter_db::shells::native::shell(args.address).await?
}
}
Ok(())
}
Loading
Loading