[ 
https://issues.apache.org/jira/browse/IMPALA-6033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535221#comment-16535221
 ] 

Tim Armstrong commented on IMPALA-6033:
---------------------------------------

I think #2 is feasible and relatively straightforward - we'd just check that we 
had a valid row count for every table.

#3 I think is tricky to do in a useful way because if it's too strict, it will 
create many false positives and be disabled. Currently the planner very 
aggressively warns about missing stats, e.g. for nested collections where no 
stats are expected, or if we did compute stats on a subset of columns, or if a 
few partitions are missing stats.

> Add query option that rejects queries against tables with missing statistics
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-6033
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6033
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>            Reporter: Mostafa Mokhtar
>            Priority: Major
>              Labels: ramp-up
>
> Add query option that rejects queries against tables missing statistics.
> This is a mechanism to protect the cluster from potentially harmful queries.
> REJECT_STATS_MISSING_QUERIES: [0]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to