Convert inQueryThreshold into query context parameter. (#12357)
authorAdarsh Sanjeev <adarshsanjeev@gmail.com>
Tue, 22 Mar 2022 13:03:57 +0000 (18:33 +0530)
committerGitHub <noreply@github.com>
Tue, 22 Mar 2022 13:03:57 +0000 (18:33 +0530)
commitef45a1551e96dc1a0528bfdba2b29e97fe1d1a42
tree7f5ea9599c4e1e058043ac726534f177d32ffe97
parent1f0447e613906425d863b8d7a2152cc41fedbf0e
Convert inQueryThreshold into query context parameter. (#12357)

Added Calcites InQueryThreshold as a query context parameter. Setting this parameter appropriately reduces the time taken for queries with large number of values in their IN conditions.
docs/querying/query-context.md
processing/src/main/java/org/apache/druid/query/QueryContexts.java
processing/src/test/java/org/apache/druid/query/QueryContextsTest.java
sql/src/main/java/org/apache/druid/sql/calcite/planner/PlannerFactory.java
sql/src/test/java/org/apache/druid/sql/calcite/CalciteJoinQueryTest.java
sql/src/test/java/org/apache/druid/sql/calcite/CalciteQueryTest.java
website/.spelling