-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change service image to debian:bookworm (#12176)
* chore: change service image to debian:bookworm * docs: add more example for bendsql load data
- Loading branch information
Showing
4 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:22.04 | ||
FROM debian:bookworm | ||
|
||
ARG TARGETPLATFORM | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). | ||
::: |
87f7df3
There was a problem hiding this comment.
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