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

Jun Zhang commented on FLINK-16799:
-----------------------------------

hi,[~lzljs3620320] ,hive has the configuration properties. 
[https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.metastore.limit.partition.request]

I use some open source BI systems, which will automatically generate some SQL 
to query the hive, but these SQLs are full table scans without any limit, so I 
want to limit the queries.

 

> add hive partition limit when read from hive
> --------------------------------------------
>
>                 Key: FLINK-16799
>                 URL: https://issues.apache.org/jira/browse/FLINK-16799
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Hive
>    Affects Versions: 1.10.0
>            Reporter: Jun Zhang
>            Priority: Major
>             Fix For: 1.11.0
>
>
> add a partition limit when read from hive , a query will not be executed if 
> it attempts to fetch more partitions per table than the limit configured. 
>  
>  To avoid full table scans



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to