0

Recently I've found out that masking and filtering of rows/columns feature was added in Hive. https://issues.apache.org/jira/browse/HIVE-13125 But still there is no documentation about it. During my research I've found out that we can use this feature through Apache Ranger. Is it possible to configure and use this feature manually using hive cli or beeline?

Vlad Gudikov
  • 103
  • 1
  • 7
  • 1
    You can use *voluntarily* the masking functions in a query, or in a view. But to *force* the use of the masking functions to specific users, automatically, based on access privileges... then you need a security plug-in such as Ranger. And the plug-in will have to rewrite the queries dynamically. – Samson Scharfrichter Feb 16 '17 at 14:52
  • 1
    BTW these masking functions are listed in the documentation https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DataMaskingFunctions – Samson Scharfrichter Feb 16 '17 at 14:52
  • Thanks for answering. – Vlad Gudikov Feb 16 '17 at 17:58

0 Answers0