Skip to content

docs: fix three stale README claims - #55

Merged
eddietejeda merged 2 commits into
mainfrom
docs/readme-accuracy
Sep 10, 2026
Merged

docs: fix three stale README claims#55
eddietejeda merged 2 commits into
mainfrom
docs/readme-accuracy

Conversation

@eddietejeda

@eddietejeda eddietejeda commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Found while auditing the hotdata.dev docs against their source repos (hotdata-dev/www#423).

  • Requirements line said hotdata ≥0.7,<0.9; pyproject pins >=0.9.0,<0.10
  • "Table names must be declared when the database is created" is stale: the loads endpoint creates an undeclared table automatically ("declaring tables up front is optional" per the API spec), and create_table does no client-side check. Second commit applies the same fix to the create_table docstring
  • The existing-sources example passed "my_postgres" where a connection id belongs: list_catalogs() returns connection ids and the discovery calls filter by id, so a display name matches nothing

Everything else in the README verified against source.

- Requirements named hotdata >=0.7,<0.9; pyproject pins >=0.9.0,<0.10
- "Table names must be declared when the database is created" is no
  longer true: the loads endpoint creates an undeclared table
  automatically ("declaring tables up front is optional" per the API
  spec), and create_table calls it with no client-side check
- The existing-sources example passed "my_postgres" where a connection
  id belongs: list_catalogs() returns connection ids (c["id"]), and
  list_databases/list_tables filter by that id, so a display name
  matches nothing
@eddietejeda
eddietejeda requested a review from a team as a code owner September 10, 2026 02:56
@eddietejeda
eddietejeda requested review from rohan-hotdata and removed request for a team September 10, 2026 02:56
Comment thread README.md
```

Table names must be declared when the database is createdyou cannot upload to a table name that was not listed in `tables=`.
Declaring table names in `tables=` is optionalloading into a table that was not declared creates it automatically as part of the load.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super nit: the section intro still states the old requirement. Line 88 says "Declare a database and its tables", and the code comment on line 93 says "Declare the database and all table names up front". A reader meets a requirement at the top of the section and an optional rule at the bottom. Consider rewording line 93 to "Declare the database; table names are optional." (not blocking)

claude[bot]
claude Bot previously approved these changes Sep 10, 2026
…ared

Same staleness the README fix corrects: the loads endpoint creates an
undeclared table automatically, so 'declared managed table' overstates
the precondition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant