Skip to content

Add CockroachDB PeerType support#1

Closed
viragtripathi wants to merge 1 commit intomainfrom
add-cockroachdb-peertype
Closed

Add CockroachDB PeerType support#1
viragtripathi wants to merge 1 commit intomainfrom
add-cockroachdb-peertype

Conversation

@viragtripathi
Copy link
Owner

Added CockroachDB as a supported peer type following the same pattern as other database types (ClickHouse, Elasticsearch, etc.). This enables PeerDB integration with CockroachDB.

Changes

  • Added COCKROACHDB keyword to src/keywords.rs
  • Added CockroachDB variant to PeerType enum in src/ast/mod.rs
  • Updated Display impl for PeerType
  • Updated parse_peer_type function in src/parser/mod.rs

Testing

  • All existing tests pass
  • Code formatted with cargo fmt

Added CockroachDB as a supported peer type following the same pattern as other database types (ClickHouse, Elasticsearch, etc.). This enables PeerDB integration with CockroachDB.
@viragtripathi
Copy link
Owner Author

Closing this PR as it was created on the upstream repository: PeerDB-io#39

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