Hi,
I have found a another community article that has addressed your concern. Please do check below:
That sounds like all is working as designed/implemented since Ranger does not currently (as of HDP 2.4) have a supported plug-in for Spark and knowing that when spark is reading Hive tables that it really isn't going through the "front door" of Hive to actual run queries (it is reading these files from HDFS directly).
That said, the underlying HDFS authorization policies (either w/or w/o using Ranger) will be honored if they are in-place.
Article: https://community.cloudera.com/t5/Support-Questions/Does-Spark-job-honor-Ranger-hive-policies/td-p/1...
Do mark it resolved if it really helps you.
Regards,
Chethan YM