-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Refactor timeValueCheck for Pinot TableConfig #9349
Conversation
pinot-spi/src/main/java/org/apache/pinot/spi/config/table/IndexingConfig.java
Outdated
Show resolved
Hide resolved
19371ef
to
02cb9d8
Compare
116db56
to
1fbe2b8
Compare
The only issue I see is these two configs will be pretty difficult to understand for a new user. e.g. why are there two time checks in record and segment? What are records in the first place? |
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!
8f54296
to
074becf
Compare
074becf
to
3ed8662
Compare
Codecov Report
@@ Coverage Diff @@
## master #9349 +/- ##
=============================================
- Coverage 63.38% 35.02% -28.37%
+ Complexity 4755 185 -4570
=============================================
Files 1831 1884 +53
Lines 97999 100273 +2274
Branches 14990 15252 +262
=============================================
- Hits 62115 35118 -26997
- Misses 31299 62147 +30848
+ Partials 4585 3008 -1577
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Note that since we enabled the row time value check by default, it might slow down the ingestion for existing use cases. |
_skipTimeValueCheck
in SegmentGeneratorConfig.Release Notes
_continueOnError
which if set to true will let Pinot skip any row indexing error and move on to the next row._rowTimeValueCheck
which if set to true will let Pinot check the time value for each row and replace the value with null if the value is invalid._segmentTimeValueCheck
which if set to false will let Pinot bypass any segment metadata level time validation.