clintropolis commented on code in PR #12564:
URL: https://github.com/apache/druid/pull/12564#discussion_r881072279
##########
processing/src/main/java/org/apache/druid/query/Query.java:
##########
@@ -110,7 +117,24 @@
* after it is deserialized. This is because {@link BaseQuery#getContext()}
uses
* {@link QueryContext#getMergedParams()} for serialization, and queries
accept a map for deserialization.
*/
- QueryContext getQueryContext();
+ default QueryContext getQueryContext()
+ {
+ return IS_LEGACY_CONTEXT;
Review Comment:
which since you're the 2nd person to suggest it, couple with the fact that i
initially considered doing it that way, maybe it would be better?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]