Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,17 @@ class Settings extends PureComponent {
<div className={classnames(styles['input-meta'])}>
<Label htmlFor='aggregation-limit'>Limit</Label>
<Description id="aggregation-limit-description">
Limits input documents before $group, $bucket, and $bucketAuto
stages. Set a limit to make the collection run faster.
{global?.process?.env?.COMPASS_SHOW_NEW_AGGREGATION_TOOLBAR !==
'true' ? (
'Limits input documents before $group, $bucket, and $bucketAuto stages. Set a limit to make the collection run faster.'
) : (
<>
Limits input documents before $group, $bucket, and $bucketAuto
stages. Set a limit to make the preview run faster.
<br />
Note: this setting is only applied for the document previews, it is not applied when the pipeline is run.
</>
)}
</Description>
</div>
<div className={classnames(styles['input-control'])}>
Expand Down