-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grpc: add clickhouse dest #354
Open
alltilla
wants to merge
12
commits into
axoflow:main
Choose a base branch
from
alltilla:grpc-clickhouse
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Attila Szakacs <[email protected]>
It will be needed there as well. Signed-off-by: Attila Szakacs <[email protected]>
We are planning to introduce an opt-in grpc_dest_schema_option nonterminal. Signed-off-by: Attila Szakacs <[email protected]>
In order to opt-in for schema support, a derived class must: * include grpc_dest_schema_option in the grammar * implement the string -> descriptor type mapping * store and init a Schema instance in the driver * implement the get_schema() method to return the stored Schema instance The derived class can interface with the Schema by these functions: * init() * empty() * format() * get_schema_descriptor() Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Imported from: https://github.com/ClickHouse/ClickHouse/blob/5b9f9a26071f00302fb2ee0176185d758d38d580/src/Server/grpc_protos/clickhouse_grpc.proto Signed-off-by: Attila Szakacs <[email protected]>
This is needed, because these symbols collide with the ones in syslog.h. Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Based on: https://clickhouse.com/docs/en/sql-reference/data-types Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
This Pull Request introduces config grammar changesaxoflow/bda0770260d8797db983961a3371577ec40221fc -> alltilla/grpc-clickhouse --- a/destination
+++ b/destination
+clickhouse(
+ auth(
+ adc(<empty>)
+ alts(
+ <empty>
+ target-service-accounts(
+ <empty>
+ <string>
+ )
+ )
+ insecure(<empty>)
+ tls(
+ <empty>
+ ca-file(<string>)
+ cert-file(<string>)
+ key-file(<string>)
+ )
+ )
+ batch-bytes(<positive-integer>)
+ batch-lines(<nonnegative-integer>)
+ batch-timeout(<positive-integer>)
+ channel-args(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ compression(<yesno>)
+ database(<string>)
+ disk-buffer(
+ capacity-bytes(<number>)
+ compaction(<yesno>)
+ dir(<string>)
+ disk-buf-size(<number>)
+ flow-control-window-bytes(<nonnegative-integer>)
+ flow-control-window-size(<nonnegative-integer>)
+ front-cache-size(<nonnegative-integer>)
+ mem-buf-length(<nonnegative-integer>)
+ mem-buf-size(<nonnegative-integer>)
+ prealloc(<yesno>)
+ qout-size(<nonnegative-integer>)
+ reliable(<yesno>)
+ truncate-size-ratio(<nonnegative-float>)
+ )
+ flags(
+ <empty>
+ <string>
+ )
+ frac-digits(<nonnegative-integer>)
+ headers(
+ <empty>
+ <string> => <template-content>
+ <string> => <template-reference>
+ )
+ hook-commands(
+ setup(<string>)
+ shutdown(<string>)
+ startup(<string>)
+ teardown(<string>)
+ )
+ internal(<yesno>)
+ keep-alive(
+ <empty>
+ max-pings-without-data(<nonnegative-integer>)
+ time(<nonnegative-integer>)
+ timeout(<nonnegative-integer>)
+ )
+ local-time-zone(<string>)
+ log-fifo-size(<positive-integer>)
+ on-error(<string>)
+ password(<string>)
+ persist-name(<string>)
+ protobuf-schema(<path> => <template-content-list>)
+ retries(<positive-integer>)
+ schema(
+ <empty>
+ <string> <string> => <template-content>
+ <string> => <template-content>
+ )
+ send-time-zone(<string>)
+ table(<string>)
+ template-escape(<yesno>)
+ throttle(<nonnegative-integer>)
+ time-reopen(<positive-integer>)
+ time-zone(<string>)
+ ts-format(<string>)
+ url(<string>)
+ user(<string>)
+ worker-partition-key(<template-content>)
+ workers(<positive-integer>)
+)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO:
Depends on #338