<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Ranger Row Level Filtering in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197743#M71385</link>
    <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;Can you please validate the expected behaviour of Ranger:&lt;/P&gt;&lt;P&gt;I have a simple table userz  with three columns: id, first_name, country.&lt;/P&gt;&lt;P&gt;I have two groups Grp_A, Grp_B and one user User_AB who is a member of both Grp_A and Grp_B.&lt;/P&gt;&lt;P&gt;I have a Row Level Filter  Policy on the the userz table with two Row Filter Conditons:&lt;/P&gt;&lt;P&gt;1. Select Group = Grp_A, Access Type = Select, Row Level Filter = (country = 'US')&lt;/P&gt;&lt;P&gt;2. Select Group = Grp_B, Access Type = Select, Row Level Filter = (country = 'Canada')&lt;/P&gt;&lt;P&gt;When I log into hive and do a select * from the userz table my expectation is that I will see rows where country is either US or Canada. However, only the rows of the Row Filter Condition that appears first is returned that is, if Row Level Filter = (country = 'US') is first then US rows are returned and if Row Level Filter = (country = 'Canada') is first only the Canada rows is returned.&lt;/P&gt;&lt;P&gt;Is this the expected behaviour?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mex&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42624-table.png" style="width: 436px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17815i96CB49BA0B6A6F69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42624-table.png" alt="42624-table.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 06:14:36 GMT</pubDate>
    <dc:creator>mexrocks</dc:creator>
    <dc:date>2019-08-18T06:14:36Z</dc:date>
    <item>
      <title>Ranger Row Level Filtering</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197743#M71385</link>
      <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;Can you please validate the expected behaviour of Ranger:&lt;/P&gt;&lt;P&gt;I have a simple table userz  with three columns: id, first_name, country.&lt;/P&gt;&lt;P&gt;I have two groups Grp_A, Grp_B and one user User_AB who is a member of both Grp_A and Grp_B.&lt;/P&gt;&lt;P&gt;I have a Row Level Filter  Policy on the the userz table with two Row Filter Conditons:&lt;/P&gt;&lt;P&gt;1. Select Group = Grp_A, Access Type = Select, Row Level Filter = (country = 'US')&lt;/P&gt;&lt;P&gt;2. Select Group = Grp_B, Access Type = Select, Row Level Filter = (country = 'Canada')&lt;/P&gt;&lt;P&gt;When I log into hive and do a select * from the userz table my expectation is that I will see rows where country is either US or Canada. However, only the rows of the Row Filter Condition that appears first is returned that is, if Row Level Filter = (country = 'US') is first then US rows are returned and if Row Level Filter = (country = 'Canada') is first only the Canada rows is returned.&lt;/P&gt;&lt;P&gt;Is this the expected behaviour?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mex&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42624-table.png" style="width: 436px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17815i96CB49BA0B6A6F69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42624-table.png" alt="42624-table.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:14:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197743#M71385</guid>
      <dc:creator>mexrocks</dc:creator>
      <dc:date>2019-08-18T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Row Level Filtering</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197744#M71386</link>
      <description>&lt;P&gt;Yes, this is expected behavior. Ranger matches first row-filter policy line-item (in the same order as specified in the policy).&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 06:16:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197744#M71386</guid>
      <dc:creator>akulkarni1</dc:creator>
      <dc:date>2017-11-17T06:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Row Level Filtering</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197745#M71387</link>
      <description>&lt;P&gt;Thanks for the confirmation.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 15:23:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Row-Level-Filtering/m-p/197745#M71387</guid>
      <dc:creator>mexrocks</dc:creator>
      <dc:date>2017-11-17T15:23:00Z</dc:date>
    </item>
  </channel>
</rss>

