datafusion
Use this skill for work involving DataFusion, Arrow schemas, SQL planning/execution, and table providers.
Implementation guidance:
- Use existing schema registry helpers for Arrow schema construction; memoize schemas where supported.
- Implement or extend TableProvider with correct schema, statistics, and scan behavior.
- Keep SQL handling in kalamdb-core/sql/executor and route through handler modules.
- Use DataFusion’s logical plan for validation; avoid manual SQL parsing unless required.
- Keep table/provider creation cheap; cache shared providers if appropriate.
- Ensure column types map correctly to Arrow types and are consistent across writes and reads.
Best practices:
- Respect DataFusion’s async execution model; avoid blocking IO in scan/exec paths.
- Prefer predicate pushdown where the provider supports it.
- Align system tables with kalamdb-commons models and constants.
Pitfalls:
- Mismatched schema ordering or nullability between writer and provider.
- Unbounded in-memory collection during scans.
- Creating new providers per request when a shared instance is intended.
More from jamals86/kalamdb
rust-skills
>
22vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with
21raft
Raft replication in KalamDB: log replication, leader election, snapshots, membership changes, and safety rules. Keywords: raft, consensus, leader, follower, log, snapshot, term.
20vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
19mvcc
MVCC in KalamDB: versioned records, visibility rules, snapshot reads, compaction, and transaction lifecycles. Keywords: mvcc, snapshot, visibility, commit, abort, tombstone, vacuum.
18web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
17