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

[Bugfix] Fix regression error introduced in #29095 #29573

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

tarokkk
Copy link
Contributor

@tarokkk tarokkk commented Nov 29, 2023

Description:
Fixing regression error in #29095

The name of the timeField in generateTTLExpr was ignored and defaulted to Timestamp. The problem is that different tables have different names for this field. Now it is specified at each table creation.

@tarokkk tarokkk requested a review from a team November 29, 2023 21:39
Copy link

linux-foundation-easycla bot commented Nov 29, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

Thanks @tarokkk!

@dmitryax
Copy link
Member

@tarokkk can you please add a bug_fix changelog entry in https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/.chloggen?

@tarokkk
Copy link
Contributor Author

tarokkk commented Dec 1, 2023

@tarokkk can you please add a bug_fix changelog entry in https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/.chloggen?

Done

.chloggen/fix-clickhouse-create-table-bug.yaml Outdated Show resolved Hide resolved
Co-authored-by: Alex Boten <alex@boten.ca>
@Frapschen
Copy link
Contributor

/lgtm

@tarokkk
Copy link
Contributor Author

tarokkk commented Dec 7, 2023

Anything else for this to be merged?

@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Dec 8, 2023
@codeboten codeboten merged commit 536635f into open-telemetry:main Dec 8, 2023
88 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 8, 2023
@tarokkk tarokkk deleted the fix-clickhouse-create-table branch February 24, 2024 22:24
dmitryax pushed a commit that referenced this pull request Mar 18, 2024
**Description:** <Describe what has changed.>

as
#29626 (comment)
mentioned, this PR adds an integration test for clickhouse exporter and
it brings those benefits:
- Verify tables are properly created in clickhouse after any breaking
change(filter out bug like
[this](#29573)
before merge)
- Verify if any bugs occur during data insertion like missed data or
insert into an error
column([30210](#30210))
.etc.
- Compatibility testing for `clickhouse-server:23-alpine` and
`clickhouse-server:22-alpine`

close
#29626

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/clickhouse ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants