Skip to content

[CALCITE-6908] Add Apache kvrocks adapter#4842

Open
caicancai wants to merge 2 commits intoapache:mainfrom
caicancai:calcite-6908-kvrocks-adapter
Open

[CALCITE-6908] Add Apache kvrocks adapter#4842
caicancai wants to merge 2 commits intoapache:mainfrom
caicancai:calcite-6908-kvrocks-adapter

Conversation

@caicancai
Copy link
Member

@caicancai caicancai commented Mar 22, 2026

https://issues.apache.org/jira/browse/CALCITE-6908

Summary

This PR introduces a complete Kvrocks module with 12 source files, providing Calcite integration for Apache Kvrocks. The module serves as a clean, Kvrocks-specific alternative to the existing Redis adapter, with enhanced features and improved code quality.

How This Differs from the Redis Adapter

More Data Types

STREAM (via XRANGE)

JSON (ReJSON-RL)

BLOOM (MBbloom--)

Namespace Support

Supports Kvrocks namespaces for multi-tenancy via an optional namespace parameter in KvrocksConfig, replacing Redis's SELECT database model.

Proper Test Infrastructure

  • Uses apache/kvrocks:latest Docker image instead of redis:7.2.4
  • Eliminates embedded-redis dependency that couldn't exercise Kvrocks-specific features

@caicancai caicancai marked this pull request as draft March 22, 2026 06:12
@caicancai caicancai force-pushed the calcite-6908-kvrocks-adapter branch from c2b07ad to b805e0c Compare March 22, 2026 07:04
@caicancai caicancai force-pushed the calcite-6908-kvrocks-adapter branch from ba4bd0a to 00fb27f Compare March 22, 2026 07:30
@sonarqubecloud
Copy link

@caicancai caicancai marked this pull request as ready for review March 22, 2026 16:04
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