You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jiabao Sun (Jira)" <ji...@apache.org> on 2024/08/20 04:14:00 UTC

[jira] [Commented] (FLINK-36097) Add timeseries support for SampleSplitter

    [ https://issues.apache.org/jira/browse/FLINK-36097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875043#comment-17875043 ] 

Jiabao Sun commented on FLINK-36097:
------------------------------------

The avgObjSize is also returned from the `$collStats` aggregation.

> Add timeseries support for SampleSplitter
> -----------------------------------------
>
>                 Key: FLINK-36097
>                 URL: https://issues.apache.org/jira/browse/FLINK-36097
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / MongoDB
>    Affects Versions: mongodb-1.2.0
>            Reporter: Jiabao Sun
>            Assignee: Jiabao Sun
>            Priority: Minor
>
> Timeseries collections do not return a count from the `$collStats` aggregation.
> In this case, it is necessary to use the `countDocuments` method to get the exact count of documents in the collection, to avoid split into a single split.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)