-
Notifications
You must be signed in to change notification settings - Fork 49
docs: add compression_type option for CSV/JSON import/export #2222
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
Conversation
Co-authored-by: WenyXu <32535939+WenyXu@users.noreply.github.com>
Deploying greptime-docs with
|
| Latest commit: |
b015eaa
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://81f0695e.greptime-docs.pages.dev |
| Branch Preview URL: | https://copilot-update-nightly-docs-ibvx.greptime-docs.pages.dev |
|
@copilot it supports following compression type COPY test_csv_export TO '${SQLNESS_HOME}/import/test_csv_gzip.csv.gz' WITH (format='csv', compression_type='gzip');
COPY test_csv_export TO '${SQLNESS_HOME}/import/test_csv_zstd.csv.zst' WITH (format='csv', compression_type='zstd');
COPY test_csv_export TO '${SQLNESS_HOME}/import/test_csv_bzip2.csv.bz2' WITH (format='csv', compression_type='bzip2');
COPY test_csv_export TO '${SQLNESS_HOME}/import/test_csv_xz.csv.xz' WITH (format='csv', compression_type='xz'); |
…, bzip2, xz) Co-authored-by: WenyXu <32535939+WenyXu@users.noreply.github.com>
... Updated the documentation to include all supported compression types ( |
|
@copilot COPY test_json_import_gzip FROM '${SQLNESS_HOME}/import/test_json_gzip.json.gz' WITH (format='json', compression_type='gzip'); |
Co-authored-by: WenyXu <32535939+WenyXu@users.noreply.github.com>
|
@copilot Polish all text while respecting its original style and tone. Ensure English reads like native English, and Chinese reads like native Chinese. Keep technical content, formatting, and structur... |
Co-authored-by: WenyXu <32535939+WenyXu@users.noreply.github.com>
Polished all text to read more naturally in both English and Chinese while maintaining the technical content and formatting. Changes made in commit 87fea8d. |
i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/copy.md
Outdated
Show resolved
Hide resolved
Co-authored-by: jeremyhi <jiachun_feng@proton.me>
Co-authored-by: WenyXu <32535939+WenyXu@users.noreply.github.com>
What's Changed in this PR
Documents the new
compression_typeoption forCOPY TOandCOPY FROMcommands introduced in GreptimeTeam/greptimedb#7162.Updated sections:
compression_typeparameter toCOPY TOWITH options tablecompression_typeparameter toCOPY FROMWITH options tablecompression_typeparameter toCOPYquery results WITH options tableExample usage:
Supported compression types:
gzip- Gzip compression (.gz extension)zstd- Zstandard compression (.zst extension)bzip2- Bzip2 compression (.bz2 extension)xz- XZ compression (.xz extension)Important notes:
.gzfor gzip,.zstfor zstd,.bz2for bzip2, and.xzfor xzChecklist
Please confirm that all corresponding versions of the documents have been revised.
Please ensure that the content in
sidebars.tsmatches the current document structure when you changed the document structure.This change requires follow-up update in localized docs.
Fixes Update docs for feat: implement compressed CSV/JSON export functionality #2213
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.