Skip to main content

Module import_v2

Module import_v2 

Source
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-20250101

Re-exportsยง

pub use command::ImportV2Command;

Modulesยง

command ๐Ÿ”’
Import V2 CLI command.
coordinator ๐Ÿ”’
error
executor
DDL execution for import.
state ๐Ÿ”’