One downside of SQL's flexibility is that users tend to forget adding time filter when writing queries, which is usually very bad for timeseries data analysis and causes stability issue.
Since native query requires users to specify "intervals", I think it's reasonable to force SQL users to specify __time filter in many cases. This PR adds a new option `druid.sql.planner.forceTimeCondition` to support such needs. It defaults to false though so that the default behaviour is the same as before. [ Full content available at: https://github.com/apache/incubator-druid/pull/6246 ] This message was relayed via gitbox.apache.org for [email protected]
