Skip to content

Conversation

@alipourhabibi
Copy link

Add support for clickhouse as the engine for arrays and custom types specified in proto/types/types.proto file

Add support for clickhouse as the engine for for arrays and custom types
specified in proto/types/types.proto file
@alipourhabibi alipourhabibi marked this pull request as draft December 11, 2023 09:18
@alipourhabibi alipourhabibi marked this pull request as ready for review December 11, 2023 09:19

if strings.EqualFold(params["engine"], "postgres") {
builder.dbEngine = ENGINE_POSTGRES
} else if strings.EqualFold(params["engine"], "clickhouse") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since now we're introducing a new engine, its high time we modularize it by refactoring it. May be we can define an interface & include the methods which are different for different engines.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chinmayb Should i start working on this new refactoring you talked about?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, i will open a new PR when i'm done with that

@chinmayb chinmayb requested a review from Calebjh December 15, 2023 08:50
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.

2 participants