Skip to content

Small verifier fixes and improvements#12181

Merged
arhimondr merged 6 commits intotrinodb:masterfrom
arhimondr:verifier-generate-expected-results
Apr 29, 2022
Merged

Small verifier fixes and improvements#12181
arhimondr merged 6 commits intotrinodb:masterfrom
arhimondr:verifier-generate-expected-results

Conversation

@arhimondr
Copy link
Copy Markdown
Contributor

Description

  • Compare BIG DECIMAL precisely
  • Change column type to MEDIUMTEXT for columns storing queries
  • Generate simplified control queries based on the full control query results
  • Store runtime statistics in the MySQL table with verifier events

Is this change a fix, improvement, new feature, refactoring, or other?

Fix / Improvement

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

Verifier

How would you describe this change to a non-technical end user or system administrator?

N/A

Related issues, pull requests, and links

-

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

When the set of queries run through verifier is fixed it is wasteful to
recompute control result every run. The functionality added allows to
configure verifier to store expected results in a form of a simple
`SELECT * FROM VALUES ... ` Trino query.
For INSERT queries the real query is run at "pre" phase, while the main
test query is merely a check sum computation. Storing the total time
spent on running all test or control related queries will make it less
confusing.
@arhimondr arhimondr merged commit 5e28b5b into trinodb:master Apr 29, 2022
@arhimondr arhimondr deleted the verifier-generate-expected-results branch April 29, 2022 10:31
@github-actions github-actions bot added this to the 380 milestone Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants