Skip to content

Fix README query example: transactions table does not exist#1

Merged
DreamingInBinary merged 1 commit into
mainfrom
fix-readme-query-example
Jul 22, 2026
Merged

Fix README query example: transactions table does not exist#1
DreamingInBinary merged 1 commit into
mainfrom
fix-readme-query-example

Conversation

@DreamingInBinary

Copy link
Copy Markdown
Contributor

The README's ClickHouse example fails against a real account:

POST /v2/organizations/…/query → HTTP 404 - Code: 60. DB::Exception:
Unknown table expression identifier 'transactions' (UNKNOWN_TABLE)

Analytics tables live in the sw and open_revenue databases; there is no transactions table. Swaps the example for SELECT count() FROM sw.events_rep, verified live, and consistent with the superwall skill's data-analytics.md reference and the new docs CLI guide (superwall/docs#249).

🤖 Generated with Claude Code

`superwall query "SELECT count() FROM transactions"` fails against
live ClickHouse with UNKNOWN_TABLE. Analytics tables live in the `sw`
and `open_revenue` databases; use the verified `sw.events_rep`
example instead (matches the docs and the superwall skill's
data-analytics reference).

Co-Authored-By: Claude Fable 5 <[email protected]>
@DreamingInBinary
DreamingInBinary merged commit 85a47b8 into main Jul 22, 2026
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