title: Hive PartitionFilter are not Applied
body: <p>I have facing this issue with hive.
  When i Query a table ,which is partitioned on date column,
  SELECT count(*) from table_name where date='2018-06-01' the query reads the entire table data and keeps for running  hours,
  Using EXPLAIN I found that HIVE is not applying the PartitionFilter on the query
  I have double checked that the table is partitioned on date column by desc table_name.</p>
  
  <p>Execution engine is Spark And Data is stored in Azure Data lake in Parquet Format</p>
  
  <p>However I have another table in the Database for which the PartitionFilter is applied and it executes as expected.</p>
  
  <p>Can there be some issue with the hive metadata or it is something else</p>