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

Include ClickHouse beta JSON type results in super command doc #5513

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

philrz
Copy link
Contributor

@philrz philrz commented Dec 3, 2024

What's Changing

Query performance results are added to the super command doc for the ClickHouse beta JSON type.

Why

In initial attempts on our Macbooks to load the test data into a table column of this type, we consistently experienced an "too many open files" error. However, when I got the automated scripts running on a larger AWS instance in #5506, I found the data would load successfully into ClickHouse, hence the motivation to circle back and support running this permutation in the scripts and including the results in the doc,

/etc/apt/sources.list.d/clickhouse.list
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y clickhouse-server clickhouse-client
sudo cp clickhouse-storage.xml /etc/clickhouse-server/config.d
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved the ClickHouse installation after the cloning of the super repo so I could grab this XML config file to make sure the instance SSD was used for DB storage.

@@ -759,7 +766,7 @@ For the _search_ test, we'll search for the string pattern
```
in the field `payload.pull_request.body`
and we'll just count the number of matches found.
The number of matches is small (3) so the query performance is dominated
The number of matches is small (2) so the query performance is dominated
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I happened to notice and fix this small error that had been there previously. It's actually the "Search+" test that returns 3 matches.

@philrz philrz requested a review from a team December 3, 2024 20:31
@philrz philrz merged commit 5ff9972 into main Dec 3, 2024
5 checks passed
@philrz philrz deleted the super-cmd-clickhouse-db branch December 3, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants