Skip to content

Commit

Permalink
chore: change service image to debian:bookworm (#12176)
Browse files Browse the repository at this point in the history
* chore: change service image to debian:bookworm

* docs: add more example for bendsql load data
  • Loading branch information
everpcpc authored Jul 24, 2023
1 parent ee43431 commit 87f7df3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM debian:bookworm

ARG TARGETPLATFORM

Expand Down
3 changes: 2 additions & 1 deletion docker/debian/meta.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM debian:bullseye
FROM debian:bookworm

ARG TARGETPLATFORM
ENV TERM=dumb
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
3 changes: 2 additions & 1 deletion docker/debian/query.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM debian:bullseye
FROM debian:bookworm

ARG TARGETPLATFORM
ENV TERM=dumb
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
15 changes: 14 additions & 1 deletion docs/doc/13-sql-clients/01-bendsql.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,21 @@ from file:
--format-opt="skip_header=1" \
--set="presigned_url_disabled=1" \
[email protected]
> bendsql \
--query='REPLACE INTO sample VALUES;' \
--format=csv \
--format-opt="compression=auto" \
--format-opt="skip_header=0" \
--format-opt="field_delimiter=," \
--format-opt="record_delimiter=\n" \
--data="@sample.csv.xz"
```
:::note
`presigned_url_disabled=1` would instruct BendSQL to load data directly using `upload_to_stage` api, which would result in additional transfer fee as well as lower performance, and is not recommended for production use.
:::
:::
:::tip
For more information about `--format-opt`, please refer to [Input & Output File Formats](../13-sql-reference/50-file-format-options.md).
:::

1 comment on commit 87f7df3

@vercel
Copy link

@vercel vercel bot commented on 87f7df3 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend-databend.vercel.app
databend.rs
databend.vercel.app
databend-git-main-databend.vercel.app

Please sign in to comment.