Skip to content
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

Allow max rows and max segments for time-ordered scans to be overridden using the scan query JSON spec #7413

Merged
merged 9 commits into from
Apr 8, 2019

Conversation

justinborromeo
Copy link
Contributor

Fixes #7397. Details are in the proposal.

@jon-wei
Copy link
Contributor

jon-wei commented Apr 4, 2019

I think it's more common in Druid to put these types of properties in the query context:
http://druid.io/docs/latest/querying/query-context.html
http://druid.io/docs/latest/querying/groupbyquery.html#configurations

@justinborromeo
Copy link
Contributor Author

@jon-wei moved params to query context

|property|description|values|default|
|--------|-----------|------|-------|
|maxRowsQueuedForOrdering|The maximum number of rows returned when time ordering is used. Overrides the identically named config.|An integer in [0, 2147483647]|100000|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default here would be the configured value of druid.query.scan.maxSegmentPartitionsOrderedInMemory instead of 100000

Copy link
Contributor

@jon-wei jon-wei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 after CI

@fjy fjy added this to the 0.15.0 milestone Apr 8, 2019
@fjy fjy merged commit 799c66d into apache:master Apr 8, 2019
@justinborromeo justinborromeo deleted the Overridable-Ordering-Limits branch April 8, 2019 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants