Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,12 @@ clickhousectl cloud clickpipe create bigquery <service-id> \
--table-mapping "dataset.table:target_table"
```

PostgreSQL ClickPipes require one or more complete
`--table-mapping schema.table:target_table` values. Ports must be in
`1..=65535`. `--auth IAM_ROLE` requires `--iam-role`; the CLI rejects
`--iam-role` with basic auth rather than silently ignoring it.
`--replication-slot-name` is valid only with `--replication-mode cdc_only`.

Use `clickhousectl cloud clickpipe create <source> --help` for the full list of options per source type.

#### Discovering a source schema (beta)
Expand Down
7 changes: 7 additions & 0 deletions crates/clickhousectl/src/cloud/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ impl CloudArgs {
}
)
}

pub fn postgres_clickpipe_validation_error(&self) -> Option<String> {
let CloudCommands::ClickPipe { command } = &self.command else {
return None;
};
command.postgres_create_validation_error()
}
}

#[derive(Subcommand)]
Expand Down
Loading