hasura / hasura/graphql-engine
Error in `Get Started with Hasura DDN and ClickHouse` Guide
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
I'm following this tutorial exactly: https://hasura.io/docs/3.0/how-to-build-with-ddn/with-clickhouse
The `ddn connector introspect` command is failing with this error:
```
❯ ddn connector introspect my_ch
8:39PM INF Using Subgraph config file "app/subgraph.yaml" found in context.
8:39PM INF Using localEnvFile ".env" found in context.
Error: reqwest::Error { kind: Decode, source: Error("invalid type: integer `0`, expected a boolean", line: 52, column: 21) }
8:39PM ERR introspect failed with error: exit status 1
```
Versions:
- `ddn --version`: `DDN CLI Version: v2.20.1` (latest)
- `clickhouse/clickhouse-server:latest` is `sha256:e80057e6e7f35356252afa13a69a42dee47a43652682b67d786ea46611d3a339`
In case it's useful:
```
❯ ddn connector introspect my_ch --log-level DEBUG
8:46PM DBG global config directory is not pre-set, defaulting
8:46PM DBG global config directory set as '/Users/u/.ddn'
8:46PM DBG global config file set as '/Users/u/.ddn/config.yaml'
8:46PM DBG global config file exists, verifying contents
8:46PM DBG global config is not pre-set, reading from current env
8:46PM DBG global config: uuid: 890324d9-e988-4b3e-b1f9-bff28a0a966d
8:46PM DBG global config: enableTelemetry: true
8:46PM DBG global config: showUpdateNotification: true
8:46PM DBG global config: cliEnvironment: default
8:46PM DBG execution id: 15458465-94f3-4f58-b864-2c629dbee6f9
8:46PM DBG Supergraph config not supplied by flag. Attempting to find a SubgraphConfig config...
8:46PM INF Using Subgraph config file "app/subgraph.yaml" found in context.
8:46PM DBG Using Subgraph config "/Users/u/my-project/app/subgraph.yaml"
8:46PM INF Using localEnvFile ".env" found in context.
8:46PM DBG loading plugin clickhouse
8:46PM DBG finding plugin manifest files in directory /Users/u/.ddn/plugins/index/plugins
8:46PM DBG loading plugins
8:46PM DBG plugin already installed for connector hasura/clickhouse:v1.0.5. proceeding to execution
8:46PM DBG plugin installation successful for connector hasura/clickhouse:v1.0.5
8:46PM DBG Executing the command Command="/bin/bash -c hasura-clickhouse update" Dir= Env vars=[...]
Error: reqwest::Error { kind: Decode, source: Error("invalid type: integer `0`, expected a boolean", line: 52, column: 21) }
8:46PM DBG telemetry: beamed
8:46PM ERR introspect failed with error: exit status 1
```
Contributor guide
Research direction
Reproduce the guide at https://hasura.io/docs/3.0/how-to-build-with-ddn/with-clickhouse using ddn v2.20.1 and clickhouse/clickhouse-server:latest. Start with ddn connector introspect my_ch --log-level DEBUG and the hasura/clickhouse:v1.0.5 plugin output; done means the command completes without the boolean decode error and the tutorial works as written.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clickhouse
- Domain
- cli, databases, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100