Skip to content
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

Fix Clickhouse Test #455

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Fix Clickhouse Test #455

merged 1 commit into from
Apr 10, 2024

Conversation

murfffi
Copy link
Contributor

@murfffi murfffi commented Apr 10, 2024

Fix a couple of issues in drivers/clickhouse/clickhouse_test.go

  • docker/cli and docker/docker versions in go.mod had gotten out of sync and the test didn't compile
  • three function aliases were expected but not present in select name from system.functions . This is the case either for 22.7 used by the test or the latest Clickhouse. Looking at Clickhouse bugs like Missing functions in system.functions ClickHouse/ClickHouse#48260 , Clickhouse rarely includes aliases in system.functions.

go test ./drivers/clickhouse passes with these changes.

@murfffi
Copy link
Contributor Author

murfffi commented Apr 10, 2024

My ultimate goal is to make a PR improving \copy support for Clickhouse but didn't want to include unrelated test fixes there.

@nineinchnick nineinchnick merged commit 99e974d into xo:master Apr 10, 2024
1 check passed
@murfffi murfffi deleted the fix/clickhouse_test branch April 10, 2024 16:10
@murfffi
Copy link
Contributor Author

murfffi commented Apr 10, 2024

Thanks for taking a look, @nineinchnick !

kenshaw added a commit to xo/homebrew-xo that referenced this pull request May 11, 2024
## What's Changed
* Fix Clickhouse Test by @murfffi in xo/usql#455
* chore: fix function name in comment by @oftenoccur in xo/usql#456
* Fixes in \copy implementation for Clickhouse by @murfffi in xo/usql#457

## New Contributors
* @murfffi made their first contribution in xo/usql#455
* @oftenoccur made their first contribution in xo/usql#456

**Full Changelog**: xo/usql@v0.18.1...v0.19.0
archlinux-github pushed a commit to archlinux/aur that referenced this pull request May 11, 2024
## What's Changed
* Fix Clickhouse Test by @murfffi in xo/usql#455
* chore: fix function name in comment by @oftenoccur in xo/usql#456
* Fixes in \copy implementation for Clickhouse by @murfffi in xo/usql#457

## New Contributors
* @murfffi made their first contribution in xo/usql#455
* @oftenoccur made their first contribution in xo/usql#456

**Full Changelog**: xo/usql@v0.18.1...v0.19.0
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