Skip to content

Commit 44cd718

Browse files
authored
Rename iceberg-cli crate to iceberg-playground (#1427)
Signed-off-by: xxchan <[email protected]> ## Which issue does this PR close? #1243 ## What changes are included in this PR? ## Are these changes tested? Signed-off-by: xxchan <[email protected]>
1 parent b78542f commit 44cd718

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

Cargo.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/integrations/cli/Cargo.toml renamed to crates/integrations/playground/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description = "Apache iceberg client"
2020
edition.workspace = true
2121
homepage.workspace = true
2222
license.workspace = true
23-
name = "iceberg-cli"
23+
name = "iceberg-playground"
2424
readme = "README.md"
2525
repository.workspace = true
2626
rust-version.workspace = true

crates/integrations/cli/README.md renamed to crates/integrations/playground/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020

2121
# Introduction
2222

23-
Iceberg CLI (`iceberg-cli`) is a small command line utility that runs SQL queries against tables,
23+
Iceberg Playground (`iceberg-playground`) is a small command line utility that runs SQL queries against tables,
2424
which is backed by the DataFusion engine.
2525

crates/integrations/cli/src/lib.rs renamed to crates/integrations/playground/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// under the License.
1717

1818
#![doc = include_str!("../README.md")]
19-
pub const ICEBERG_CLI_VERSION: &str = env!("CARGO_PKG_VERSION");
19+
pub const ICEBERG_PLAYGROUND_VERSION: &str = env!("CARGO_PKG_VERSION");
2020

2121
mod catalog;
2222
pub use catalog::*;

crates/integrations/cli/src/main.rs renamed to crates/integrations/playground/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use datafusion::prelude::{SessionConfig, SessionContext};
2626
use datafusion_cli::exec;
2727
use datafusion_cli::print_format::PrintFormat;
2828
use datafusion_cli::print_options::{MaxRows, PrintOptions};
29-
use iceberg_cli::{ICEBERG_CLI_VERSION, IcebergCatalogList};
29+
use iceberg_playground::{ICEBERG_PLAYGROUND_VERSION, IcebergCatalogList};
3030

3131
#[derive(Debug, Parser, PartialEq)]
3232
#[clap(author, version, about, long_about= None)]
@@ -76,7 +76,7 @@ async fn main_inner() -> anyhow::Result<()> {
7676
let args = Args::parse();
7777

7878
if !args.quiet {
79-
println!("ICEBERG CLI v{}", ICEBERG_CLI_VERSION);
79+
println!("ICEBERG PLAYGROUND v{}", ICEBERG_PLAYGROUND_VERSION);
8080
}
8181

8282
let session_config = SessionConfig::from_env()?.with_information_schema(true);

0 commit comments

Comments
 (0)