Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
Stats of non native tables are inaccurate, thus queries over non native tables can not optimized by stats optimizer.
Take example of query
Explain select count(*) from (select `__time` from druid_test_table limit 1) as src ;
the plan will be reduced to
POSTHOOK: query: explain extended select count(*) from (select `__time` from druid_test_table limit 1) as src POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-0 is a root stage STAGE PLANS: Stage: Stage-0 Fetch Operator limit: 1 Processor Tree: ListSink