Expand description
Import V2 module.
This module provides the V2 implementation of database import functionality, featuring:
- DDL-based schema import
- Dry-run mode for verification
ยงExample
# Dry-run import (verify without executing)
greptime cli data import-v2 \
--addr 127.0.0.1:4000 \
--from file:///tmp/snapshot \
--dry-run
# Actual import
greptime cli data import-v2 \
--addr 127.0.0.1:4000 \
--from s3://bucket/snapshots/prod-20250101Re-exportsยง
pub use command::ImportV2Command;
Modulesยง
- command ๐
- Import V2 CLI command.
- coordinator ๐
- error
- executor
- DDL execution for import.
- state ๐