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
Copy Markdown
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
Copy Markdown

@caicancai caicancai marked this pull request as ready for review March 22, 2026 16:04
@github-actions
Copy link
Copy Markdown

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@calcite.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant