-
-
Notifications
You must be signed in to change notification settings - Fork 281
Conversation
Do either of you know what's causing the test failure? (https://circleci.com/gh/plotly/falcon/6819) I don't think it's related to these changes. |
columnnames: [ 'tablename', 'column_name','data_type' ], | ||
rows | ||
})) | ||
} |
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.
👍
package.json
Outdated
@@ -19,6 +19,8 @@ | |||
"docker:mssql:start": "docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 -d microsoft/mssql-server-linux:latest", | |||
"docker:oracle:build": "docker build test/docker/oracle -t falcon-test-oracle --no-cache", | |||
"docker:oracle:start": "docker run --rm -ti -p 1521:1521 falcon-test-oracle", | |||
"docker:clickhouse:build": "docker build test/docker/clickhouse -t falcon-test-clickhouse --no-cache", |
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.
Unless there is a good reason for keeping --no-cache
, we should remove it. It would just slow things for developers.
```sh | ||
docker run -ti -p 8123:8123 -p 9000:9000 falcon-clickhouse | ||
``` |
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.
👍
@@ -244,7 +244,7 @@ | |||
"yamljs": "^0.3.0" | |||
}, | |||
"dependencies": { | |||
"@apla/clickhouse": "^1.5.3", | |||
"@apla/clickhouse": "1.5.3", |
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.
Would be good to mention the reason for locking the dependency version in the commit message. Useful in case we need to upgrade in future.
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.
Good call, updated 👍
97cefec
to
bdb7fb9
Compare
Looks like the tests are still breaking due to changes unrelated to this PR. Running Independent of these issues, the core Clickhouse functionality here should be ready to merge in. I consider this PR blocked pending #543. |
6fd2f38
to
9d4e6ce
Compare
Everything looks green now ✅ Unless you have any other feedback, this should be good to go! |
Thanks @briandennis .. I plan on testing it with on-premise some time later today, and then we should be good to merge it. |
Seems this is a known issue not specific to this connector (see here and here). The reason it's happening is because the driver was able to connect, but encountered an error at a latter step. In this case, the While updating the general connection error behavior on the FE is probably outside the scope of this PR, we should implicitly set |
@tarzzz is that bug report something that only affects Clickhouse connector or does it impact other connector types as well? |
@bpostlethwaite Since we have the "max rows to read" option available only for clickhouse, it is only applicable for this particular connector. |
@tarzzz I'm not sure this is a bug. I don't think the max_rows_to_read setting in Clickhouse is affected by In this instance, if you bump the setting to greater than the exceeded value ( |
@briandennis Bug in a UI sense that providing a value of limit freezes the "Run" button (It does not do anything). If I leave it blank, everything works.. but as soon as I add a value (any value), the "Run" button freezes (and the data table below is empty). If I change the value to be greater than the "exceeded value", it seems to work. |
if the max_rows_to_read setting affects the max size of the table that can be read rather than the result size then perhaps we should just indicate that in the connection-config UI? |
Seems like it. I was wondering whether it is better to skip the option entirely. Having an option incentives setting a value, and users may not understand it or know the number of rows in table they are trying to access. Setting any lesser value will cause the query to error. |
yeah, leaving that option out is maybe a safer choice UX-wise |
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.
Tested on on-prem, and connection and scheduling LGTM..
💃 after rebasing and removing the empty commit: 1db6e4c
* Define Codemirror SQL dialect for ClickHouse * fix up `set` function
For running clickhouse tests.
7384f6f
to
7123c8e
Compare
This PR adds support for connecting to Clickhouse (https://clickhouse.yandex/) databases.
cc @bpostlethwaite