-
Notifications
You must be signed in to change notification settings - Fork 28
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
Clickhouse #397
Clickhouse #397
Conversation
|
||
type ClickHouseClient interface { | ||
RunQueryWithoutResult(ctx context.Context, query *query.Query) error | ||
Select(ctx context.Context, query *query.Query) ([][]interface{}, error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can put SelectWithSchema and Ping here
1abedc0
to
5d8146c
Compare
return err | ||
} | ||
|
||
for _, queryString := range materializedQueries { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In another operators we seem to be running only one query per task , will this be different in click house ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it will be. Some platforms allow you to send several statements in a single batch something like :
SELECT * from table;
INSERT ....;
DELETE ... FROM TABLE;
As long as they are separated by a ;
Some others don't allow batches, you need to send statements one by one.
Other examples of this besides Clickhouse are Athena or Synapse
* Fix select methods to work with clickhouse * Fix tests
440122f
to
4944449
Compare
56ca11e
to
9214bda
Compare
No description provided.