-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[regression-test](variant) Add many test cases and ut #54662
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
Conversation
This commit adds a comprehensive suite of regression tests for the VARIANT data type,
covering various scenarios including:
- Data Manipulation: Tests for INSERT, UPDATE, DELETE, and INSERT INTO SELECT operations
on tables with VARIANT columns, including variations with Merge-on-Write (MOW) tables
and concurrent operations.
- Predefined Schemas: Extensive tests for VARIANT columns with predefined schemas,
covering all supported data types (including complex and nested types), type casting,
and schema evolution (adding/dropping columns).
- Indexing:
- Verifies the functionality of inverted indexes on VARIANT columns, including index
creation with field patterns (exact, wildcard, glob), multi-index support, and
index usage in query filtering.
- Tests inverted index behavior with custom analyzers.
- Ensures correct query results when filtering on indexed VARIANT sub-fields using
MATCH, =, IN, IS NULL, and array_contains.
- Compaction: Includes tests to ensure data correctness and schema consistency after
cumulative and full compaction on tables with VARIANT columns, especially with sparse
columns and predefined schemas.
- Functions: Adds tests for VARIANT-related functions like variant_type and element
access functions.
- Edge Cases: Covers scenarios like loading from S3, handling of NULL values, and bloom
filters on VARIANT columns.
Overall, this commit significantly strengthens the test coverage for the VARIANT data
type, ensuring its stability and correctness across a wide range of use cases.
fix compaction with 0 max_subcolumns_count
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
csun5285
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 33626 ms |
TPC-DS: Total hot run time: 185026 ms |
ClickBench: Total hot run time: 32.39 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
airborne12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
What problem does this PR solve?
This commit adds a comprehensive suite of regression tests for the VARIANT data type,
covering various scenarios including:
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)