Skip to content

Validate correctness of supportsReportingWrittenBytes#17037

Merged
losipiuk merged 6 commits intotrinodb:masterfrom
findepi:findepi/validate-correctness-of-supportsreportingwrittenbytes-7f1bbc
Apr 15, 2023
Merged

Validate correctness of supportsReportingWrittenBytes#17037
losipiuk merged 6 commits intotrinodb:masterfrom
findepi:findepi/validate-correctness-of-supportsreportingwrittenbytes-7f1bbc

Conversation

@findepi
Copy link
Member

@findepi findepi commented Apr 14, 2023

In write statistics tests verify that connector not reporting stats
indeed does not report them, i.e. that the
ConnectorMetadata.supportsReportingWrittenBytes is correct.

@findepi findepi added test no-release-notes This pull request does not require release notes entry labels Apr 14, 2023
@cla-bot cla-bot bot added the cla-signed label Apr 14, 2023
@findepi findepi force-pushed the findepi/validate-correctness-of-supportsreportingwrittenbytes-7f1bbc branch from 5f6e8b0 to 82468b3 Compare April 14, 2023 18:27
@findepi findepi force-pushed the findepi/validate-correctness-of-supportsreportingwrittenbytes-7f1bbc branch from 82468b3 to e0d7155 Compare April 14, 2023 20:51
@findepi
Copy link
Member Author

findepi commented Apr 14, 2023

(just reordered commits, no other changes)

findepi added 6 commits April 14, 2023 23:02
Let `BaseConnectorTest.isReportingWrittenBytesSupported` synthesize
valid table properties (with correct default values). A connector may
depend on property value (either explicit or default).
In write statistics tests verify that connector not reporting stats
indeed does not report them, i.e. that the
`ConnectorMetadata.supportsReportingWrittenBytes` is correct.
@findepi findepi force-pushed the findepi/validate-correctness-of-supportsreportingwrittenbytes-7f1bbc branch from c4b5989 to 4f78cfa Compare April 14, 2023 21:03
@losipiuk losipiuk merged commit ef301e4 into trinodb:master Apr 15, 2023
@github-actions github-actions bot added this to the 414 milestone Apr 15, 2023
@findepi findepi deleted the findepi/validate-correctness-of-supportsreportingwrittenbytes-7f1bbc branch April 17, 2023 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry test

Development

Successfully merging this pull request may close these issues.

3 participants