clickhouse-rust-type-mismatches
Skill265 starsChanged 11 days agoMPL-2.0View on GitHub
Fix ClickHouse query errors in Rust when using clickhouse-rs crate. Use when: (1) "string is not valid utf8" errors - typically FixedString columns need CAST to String, (2) "tag for enum is not valid" errors - typically Option<T> fields receiving non-NULL values, (3) Sum/count aggregations returning Float64 but Rust expects u64, (4) LEFT JOIN results with empty strings where Rust expects Option::None, (5) "not enough data, probably a row type mismatches a database schema" - query SELECT returns fewer columns than the Rust Row struct expects (common when multiple query functions share the same struct but one function is missing columns added later), (6) Garbled/corrupted data when INSERTing to FixedString(N) columns using String Rust type - silently corrupts data (no error!) because String adds a length prefix but FixedString expects exactly N raw bytes. Fix: use [u8; N] with #[serde(with = "BigArray")] from serde-big-array, (7) "the trait bound `[u8; 64]: serde::Serialize` is not satisfied" when using [u8; N] arrays in Row structs - need #[serde(with = "BigArray")] annotation from serde-big-array crate.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- divinevideo/divine-mobileword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- divinevideo/divine-mobile★ 263100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository228 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- argocd-externalsecret-namespace-permissionSkill
- art-directSkill
- async-await-null-race-conditionSkill
- aws-v4-signing-custom-headers-gcsSkill
- bash-herestring-newline-secretsSkill
- blossom-content-addressed-url-filteringSkill
- certmanager-dns01-gke-private-clusterSkill
- check-l10nSkill
- claudeceptionSkill
- clickhouse-aggregatingmergetree-state-mergeSkill
- clickhouse-cloud-multi-table-renameSkill
- clickhouse-materialized-column-view-filterSkill
- clickhouse-nip33-addressable-dedupSkill
- clickhouse-rust-view-column-orderSkill
- clickhouse-system-log-disk-exhaustionSkill
- cloud-run-gpu-image-update-quota-bypassSkill
- cloud-run-job-cloudsql-setupSkill
- cloud-run-static-outbound-ipSkill
- cloud-scheduler-permission-deniedSkill
- cloudsql-idle-connection-timeoutSkill
- content-addressable-storage-immutabilitySkill
- curl-head-vs-get-header-debuggingSkill
- dart-lifecycle-disposed-flag-overloadSkill
- dead-cdn-dns-bypassSkill
- denormalized-priority-column-stalenessSkill
- divine-contextSkill
- divine-relay-video-requirementsSkill
- docker-buildx-stale-rust-binarySkill
- e2e-testSkill
- equatable-linkedhashmap-lru-reorderSkill
- fastly-compute-async-request-reliabilitySkill
- fastly-compute-backend-production-setupSkill
- fastly-compute-deployment-debuggingSkill
- fastly-compute-native-test-linker-failureSkill
- fastly-compute-publish-ignores-draft-versionsSkill
- fastly-compute-rust-edition2024-fixSkill
- fastly-compute-well-known-spa-fallbackSkill
- fastly-domain-v1-activationSkill
- fastly-kv-concurrent-write-retrySkill
- fastly-multi-service-routing-debugSkill
- fastly-wildcard-subdomain-compute-edgeSkill
- ffmpeg-kit-macos-codesign-crashSkill
- figma-designerSkill
- flutter-async-test-unhandled-future-rejectionSkill
- flutter-deactivate-setstate-during-buildSkill
- flutter-dispose-timer-test-failureSkill
- flutter-dynamic-tabcontroller-ticker-mixinSkill
- flutter-macos-duplicate-camera-pluginSkill
- flutter-macos-permission-handler-camera-failureSkill
- flutter-macos-tcc-responsible-process-camera-denialSkill
- flutter-pageview-scroll-position-preservationSkill
- flutter-pageview-url-routing-reorder-loopSkill
- flutter-startup-network-blockingSkill
- flutter-svg-icon-colorfilter-visibilitySkill
- funnelcake-deployment-workflowSkill
- gcloud-builds-tag-deploy-false-successSkill
- gcs-rust-download-object-apiSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
Licensed with conditions — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

