You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "dang-stripe (via GitHub)" <gi...@apache.org> on 2023/09/21 18:15:01 UTC
[GitHub] [pinot] dang-stripe opened a new issue, #11649: support omitting timestamps from segment name generator
dang-stripe opened a new issue, #11649:
URL: https://github.com/apache/pinot/issues/11649
Currently the `simple` and `normalizedDate` segment name generators include min/max value timestamps in the segment name to make them unique if the table is configured with a time column.
Example segment name: `testTable_2023-09-10_2023-09-20_12 (<table name>_<min time value>_<max time value>_<sequence ID>)`
We ran into an issue on an append table where we re-ran the segment creation job on a particular day since the upstream data changed slightly. The min/max time value also changed causing new segments to be pushed instead of overwriting the old ones. This created data inconsistency. We're currently using the `normalizedDate` name generator.
https://github.com/apache/pinot/blob/master/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentIndexCreationDriverImpl.java#L264-L284
cc @Jackie-Jiang
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] support omitting timestamps from segment name generator [pinot]
Posted by "dang-stripe (via GitHub)" <gi...@apache.org>.
dang-stripe commented on issue #11649:
URL: https://github.com/apache/pinot/issues/11649#issuecomment-1853287141
Fixed by https://github.com/apache/pinot/pull/11650
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] support omitting timestamps from segment name generator [pinot]
Posted by "dang-stripe (via GitHub)" <gi...@apache.org>.
dang-stripe closed issue #11649: support omitting timestamps from segment name generator
URL: https://github.com/apache/pinot/issues/11649
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org