Skip to content

Commit

Permalink
feat: add gendata command in bendsql (#593)
Browse files Browse the repository at this point in the history
* feat: add gendata command in bendsql

* feat: add gendata command in bendsql

* feat: add gendata command in bendsql

* feat: add gendata command in bendsql
  • Loading branch information
sundy-li authored Feb 18, 2025
1 parent dfe2fb3 commit 1e1ec86
Show file tree
Hide file tree
Showing 21 changed files with 539 additions and 209 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

default: build

lint: check

check:
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
Expand Down
5 changes: 4 additions & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ arrow = { workspace = true }
async-recursion = "1.1.0"
async-trait = "0.1"
clap = { version = "4.4", features = ["derive", "env"] }
ctrlc = { version = "3.2.3", features = ["termination"] }
comfy-table = "7.1"
csv = "1.3"
ctrlc = { version = "3.2.3", features = ["termination"] }
databend-common-ast = "0.1.3"
duckdb = { version = "0.10.2", features = ["bundled"] }
fern = { version = "0.6", features = ["colored"] }
indicatif = "0.17"
log = "0.4"
mime_guess = "2.0"
nom = "8.0.0"
once_cell = "1.18"
percent-encoding = "2.3"
rust-embed = "6.8.1"
Expand All @@ -38,6 +40,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sled = "0.34"
sqlformat = "0.3.3"
tempfile = "3.17.1"
terminal_size = "0.3"
tokio = { version = "1.34", features = [
"macros",
Expand Down
8 changes: 4 additions & 4 deletions cli/frontend/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.c6b44981.css",
"main.js": "/static/js/main.454cfec1.js",
"main.css": "/static/css/main.a94f3081.css",
"main.js": "/static/js/main.900dc5c4.js",
"static/media/download.svg": "/static/media/download.1a2f96254a617a2765b0fca418a3e5bf.svg",
"static/media/zoom-in.svg": "/static/media/zoom-in.b8e914df4e9fbb889ceec372b13f62d1.svg",
"static/media/full-screen.svg": "/static/media/full-screen.972c352cc40ca74a17222b04ad2b1316.svg",
"index.html": "/index.html",
"static/media/zoom-out.svg": "/static/media/zoom-out.9600557781b9acd42f24eddad00f6f36.svg"
},
"entrypoints": [
"static/css/main.c6b44981.css",
"static/js/main.454cfec1.js"
"static/css/main.a94f3081.css",
"static/js/main.900dc5c4.js"
]
}
2 changes: 1 addition & 1 deletion cli/frontend/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/logo.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Databend</title><script defer="defer" src="/static/js/main.454cfec1.js"></script><link href="/static/css/main.c6b44981.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/logo.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Databend</title><script defer="defer" src="/static/js/main.900dc5c4.js"></script><link href="/static/css/main.a94f3081.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
3 changes: 3 additions & 0 deletions cli/frontend/build/static/css/main.a94f3081.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions cli/frontend/build/static/css/main.c6b44981.css

This file was deleted.

2 changes: 0 additions & 2 deletions cli/frontend/build/static/js/main.454cfec1.js

This file was deleted.

Loading

0 comments on commit 1e1ec86

Please sign in to comment.