Skip to content

Commit d030aad

Browse files
committed
docs(ingest): name iggy wherever the family lists are spelled
The --family help and its error, the --dest-table-prefix doc, and the skill's prefix note listed the families without iggy, so the CLI's own help contradicted the skill. The skill's --stream note also named derived, a family the CLI never exposes. One overlong string line rewrapped.
1 parent 25ea101 commit d030aad

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎skills/hotdata/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,13 @@ hotdata ingest create --source "prod postgres" --table orders --schema public \
384384
# --stream shorthand for --type continuous (still needs --every).
385385
# Offered only where `hotdata ingest sources fields
386386
# <family>` says `continuous: yes` — today filesystem,
387-
# derived, kafka, iggy; the server refuses it elsewhere.
387+
# kafka, iggy; the server refuses it elsewhere.
388388
# Destination flags instead of --destination:
389389
# --database-id (required) --dest-schema (default public) --write-mode (default replace)
390390
# --dest-table <name> for sources that land ONE table: buckets, delta,
391391
# --raw-sql (defaults to --table there)
392392
# --dest-table-prefix <p> for sources that land SEVERAL (sql --table/--sql,
393-
# iceberg, ducklake, kafka, rest): `orders` lands as
393+
# iceberg, ducklake, kafka, iggy, rest): `orders` lands as
394394
# `<p>_orders`. Optional, but only one prefix-less
395395
# ingest can own a database+schema — a second one
396396
# must pick a prefix or it overwrites the first.

‎src/commands/datasource.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub enum DatasourceCommands {
6464
#[command(name = "test")]
6565
Validate {
6666
/// Source family — the shape of --config: sql, filesystem, iceberg,
67-
/// delta, ducklake, kafka, rest. Use `sql` for any SQL dialect (the
67+
/// delta, ducklake, kafka, iggy, rest. Use `sql` for any SQL dialect (the
6868
/// dialect goes in the config) and `filesystem` for buckets.
6969
///
7070
/// Not validated here on purpose: the service decides which families
@@ -93,7 +93,7 @@ pub enum DatasourceCommands {
9393
#[command(name = "add")]
9494
Create {
9595
/// Source family — the shape of --config: sql, filesystem, iceberg,
96-
/// delta, ducklake, kafka, rest. Use `sql` for any SQL dialect (the
96+
/// delta, ducklake, kafka, iggy, rest. Use `sql` for any SQL dialect (the
9797
/// dialect goes in the config) and `filesystem` for buckets.
9898
///
9999
/// Omit it on a terminal to pick a source type from the catalog.
@@ -184,7 +184,7 @@ pub enum DatasourceCommands {
184184
/// script to build a form from.
185185
Fields {
186186
/// Family to describe — the FAMILY column of `hotdata ingest sources
187-
/// types`, e.g. sql, filesystem, iceberg, kafka, rest
187+
/// types`, e.g. sql, filesystem, iceberg, kafka, iggy, rest
188188
family: Option<String>,
189189
},
190190
}
@@ -509,7 +509,7 @@ fn create(
509509
let from_flags = (!payload.is_empty() || !util::is_interactive()).then(|| {
510510
let Some(family) = family else {
511511
fail(
512-
"--family is required (sql, filesystem, iceberg, delta, ducklake, kafka, rest). \
512+
"--family is required (sql, filesystem, iceberg, delta, ducklake, kafka, iggy, rest). \
513513
Run 'hotdata ingest sources add' in a terminal to be asked instead.",
514514
);
515515
};

‎src/commands/ingest.rs‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ pub enum IngestCommands {
228228
dest_table: Option<String>,
229229

230230
/// Common prefix for the destination tables of a source that lands
231-
/// SEVERAL: SQL --table/--sql, Iceberg, DuckLake, Kafka, REST. Each
232-
/// source table `orders` lands as `<prefix>_orders`.
231+
/// SEVERAL: SQL --table/--sql, Iceberg, DuckLake, Kafka, Iggy, REST.
232+
/// Each source table `orders` lands as `<prefix>_orders`.
233233
///
234234
/// Optional. Without it the source names are used unchanged, which is
235235
/// what a raw mirror of a schema or a catalog wants — but only one
@@ -839,8 +839,9 @@ fn build_selector(plan: &CreatePlan) -> Result<(serde_json::Value, Option<String
839839
if selector.is_empty() {
840840
return Err(
841841
"nothing to read — pass --table <name> (SQL, Iceberg, DuckLake), --table-path \
842-
<path> (Delta), --topic <name> (Kafka; Iggy as stream/topic), --format with an optional --glob \
843-
(buckets), --sql, --raw-sql, --all, or the whole --selector as JSON. A REST \
842+
<path> (Delta), --topic <name> (Kafka; Iggy as stream/topic), --format with an \
843+
optional --glob (buckets), --sql, --raw-sql, --all, or the whole --selector as \
844+
JSON. A REST \
844845
source is --selector only: its resources carry endpoints, not just names \
845846
('hotdata ingest sources fields rest')"
846847
.into(),

0 commit comments

Comments
 (0)