mirror of https://github.com/apache/druid.git
Fix IT failure due to query interval (#14738)
This commit is contained in:
parent
6837a7be19
commit
5a52f7a457
|
@ -60,7 +60,7 @@ public class ITJdbcQueryTest
|
||||||
private static final String QUERY_TEMPLATE =
|
private static final String QUERY_TEMPLATE =
|
||||||
"SELECT \"user\", SUM(\"added\"), COUNT(*)" +
|
"SELECT \"user\", SUM(\"added\"), COUNT(*)" +
|
||||||
"FROM \"wikipedia\" " +
|
"FROM \"wikipedia\" " +
|
||||||
"WHERE \"__time\" >= CURRENT_TIMESTAMP - INTERVAL '10' YEAR AND \"language\" = %s" +
|
"WHERE \"__time\" >= CURRENT_TIMESTAMP - INTERVAL '99' YEAR AND \"language\" = %s" +
|
||||||
"GROUP BY 1 ORDER BY 3 DESC LIMIT 10";
|
"GROUP BY 1 ORDER BY 3 DESC LIMIT 10";
|
||||||
private static final String QUERY = StringUtils.format(QUERY_TEMPLATE, "'en'");
|
private static final String QUERY = StringUtils.format(QUERY_TEMPLATE, "'en'");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue