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

[perf] Added tests for data types (DateTime) #2243

Merged
merged 5 commits into from
Mar 25, 2025
Merged

Conversation

chernser
Copy link
Contributor

Summary

This PR adds scaffolding and sample tests for data types.

Checklist

Delete items not relevant to your PR:

  • Closes #
  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

@chernser chernser requested review from Paultagoras and mzitnik March 24, 2025 21:18
@@ -80,7 +81,7 @@ public static class DataState {

@Param({"file://dataset_500k.csv"})
String datasetSourceName;
@Param({"300000", "220000", "100000", "10000"})
@Param({"300000", "100000", "10000"})
Copy link
Contributor

Choose a reason for hiding this comment

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

is it just an experiment? or should keep this?

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 would keep it. It takes time for testing but doesn't give a new information, I think.

@@ -249,6 +252,7 @@ protected static ClickHouseClient getClientV1() {
return ClickHouseClient.builder()
.defaultCredentials(ClickHouseCredentials.fromUserAndPassword(getUsername(), getPassword()))
.nodeSelector(ClickHouseNodeSelector.of(ClickHouseProtocol.HTTP))
.option(ClickHouseClientOption.MAX_QUEUED_BUFFERS, 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

is it a change in client config. Can you explain the effect of it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry, I've missed it.

@chernser chernser requested a review from mzitnik March 25, 2025 13:11
@chernser chernser merged commit 17681b3 into main Mar 25, 2025
25 checks passed
@chernser chernser deleted the perf_typed_tests branch March 25, 2025 13:24
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