Skip to content

groupBy v2: Always merge queries.#4023

Merged
himanshug merged 1 commit intoapache:masterfrom
gianm:fix-groupby-old-brokers
Mar 8, 2017
Merged

groupBy v2: Always merge queries.#4023
himanshug merged 1 commit intoapache:masterfrom
gianm:fix-groupby-old-brokers

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Mar 8, 2017

This fixes #4020 because it means the timestamp will always be included for outermost
queries. Historicals receiving queries from older brokers will think they're
outermost (because CTX_KEY_OUTERMOST isn't set to "false"), so they'll include a
timestamp, so the older brokers will be OK.

I tested this using 0.9.0, 0.9.1.1, and 0.9.2 brokers against new historicals.

This fixes apache#4020 because it means the timestamp will always be included for outermost
queries. Historicals receiving queries from older brokers will think they're
outermost (because CTX_KEY_OUTERMOST isn't set to "false"), so they'll include a
timestamp, so the older brokers will be OK.
@niketh
Copy link
Copy Markdown
Contributor

niketh commented Mar 8, 2017

@gianm Looks good 👍

@fjy
Copy link
Copy Markdown
Contributor

fjy commented Mar 8, 2017

👍

@himanshug himanshug merged commit a517066 into apache:master Mar 8, 2017
@gianm gianm deleted the fix-groupby-old-brokers branch March 13, 2017 16:44
gianm added a commit to gianm/druid that referenced this pull request Mar 13, 2017
This fixes apache#4020 because it means the timestamp will always be included for outermost
queries. Historicals receiving queries from older brokers will think they're
outermost (because CTX_KEY_OUTERMOST isn't set to "false"), so they'll include a
timestamp, so the older brokers will be OK.
fjy pushed a commit that referenced this pull request Mar 13, 2017
This fixes #4020 because it means the timestamp will always be included for outermost
queries. Historicals receiving queries from older brokers will think they're
outermost (because CTX_KEY_OUTERMOST isn't set to "false"), so they'll include a
timestamp, so the older brokers will be OK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Null Pointer Exception in MapBasedRow.compareTo

4 participants