<?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 Re: Impala runtime filter not working as expected in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52402#M15366</link>
    <description>&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question for you and it is about `partition pruning` ( about pruning )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say there are two tables A and B.&lt;/P&gt;&lt;P&gt;And, each table is partitioned by yearweek.&lt;/P&gt;&lt;P&gt;And, here is the query I'd like to run. ( Yes. I need to use left join to get result what I want )&lt;/P&gt;&lt;PRE&gt;SELECT * FROM A
LEFT OUTER JOIN B
ON A.account_id = B.account_id
AND A.yearweek = 201710 and B.yearweek = 201710&lt;/PRE&gt;&lt;P&gt;Even this doesn't select specific partition in `table A`&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT * FROM A
LEFT OUTER JOIN B
ON A.account_id = B.account_id
AND B.yearweek = 201710
WHERE A.yearweek = 201710&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like you said, `A.yearweek` = 201710 on `On clause` couldn't select partition yearweek=201710.&lt;/P&gt;&lt;P&gt;This might be filter is applied from `Left to Right`.&lt;/P&gt;&lt;P&gt;In order to select specific partition for `table A`. I used `dynamic partition` and updated query like this.&lt;/P&gt;&lt;PRE&gt;SELECT * FROM (SELECT * FROM A WHERE yearweek = 201710) a
LEFT OUTER JOIN B b
ON a.account_id = b.account_id
AND b.yearweek = 201710&lt;/PRE&gt;&lt;P&gt;Do you think this is best I can do?&lt;/P&gt;&lt;P&gt;Or is there way to limit data for `table A` by using `On clause`?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, is there any refrerence you would recommend for me to upderstand how JOIN works in Impala and Hive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2017 23:18:41 GMT</pubDate>
    <dc:creator>thewayofthinkin</dc:creator>
    <dc:date>2017-03-20T23:18:41Z</dc:date>
    <item>
      <title>Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49511#M15360</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I'm using CDH 5.9, Impala 2.7.&lt;/P&gt;&lt;P&gt;I'm examining the runtime-filter feature, but it's not working as I expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of my case:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Table 1 - Partitioned by day&lt;BR /&gt;CREATE TABLE adb.test_prt (ID string)&lt;BR /&gt;partitioned BY (day INT);&lt;/P&gt;&lt;P&gt;INSERT INTO adb.test_prt PARTITION(day)&lt;BR /&gt;SELECT 'a' AS ID ,20170102 AS day&lt;BR /&gt;UNION all&lt;BR /&gt;SELECT 'b' AS ID ,20170102 AS day&lt;BR /&gt;UNION ALL&lt;BR /&gt;SELECT 'c' AS ID,20170102 AS day&lt;BR /&gt;UNION ALL&lt;BR /&gt;SELECT 'd' AS ID ,20170103 AS day&lt;BR /&gt;UNION ALL&lt;BR /&gt;SELECT 'd' AS ID ,20170105 AS day&lt;BR /&gt;UNION all&lt;BR /&gt;SELECT 'g' AS ID ,20170105 AS day&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT * FROM adb.test_prt&lt;BR /&gt;show partitions adb.test_prt&lt;/P&gt;&lt;P&gt;-- Table 2 - raw data&lt;BR /&gt;CREATE TABLE adb.test_1 (day INT)&lt;/P&gt;&lt;P&gt;INSERT INTO adb.test_1&lt;BR /&gt;SELECT 20170102 AS day&lt;/P&gt;&lt;P&gt;SELECT * FROM adb.test_1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--###################################&lt;BR /&gt;-- explain 1&lt;BR /&gt;explain&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM adb.test_prt t&lt;BR /&gt;WHERE t.day IN (SELECT day FROM adb.test_1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output : partitions=&lt;STRONG&gt;3&lt;/STRONG&gt;/3 files=3 size=12B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- explain 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;explain&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM adb.test_prt t&lt;BR /&gt;WHERE t.day IN (20170102)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&amp;nbsp; partitions=&lt;STRONG&gt;1&lt;/STRONG&gt;/3 files=1 size=6B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand why there is a difference between the outputs. Table&amp;nbsp;&lt;SPAN&gt;adb.test_1 has only one value which match to specific partition in&amp;nbsp;adb.test_prt. I'm expecting from the runtime filter to figure this out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another question: Is this feature support joins as well, rather then &lt;EM&gt;where&lt;/EM&gt; clause?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's an example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;explain&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM adb.test_prt t&lt;BR /&gt;inner JOIN adb.test_1 a&lt;BR /&gt;ON t.day=a.day&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&amp;nbsp; partitions=&lt;STRONG&gt;3&lt;/STRONG&gt;/3 files=3 size=12B&lt;BR /&gt;runtime filters: RF000 -&amp;gt; t.day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Dror&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:55:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49511#M15360</guid>
      <dc:creator>dsss</dc:creator>
      <dc:date>2022-09-16T10:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49524#M15361</link>
      <description>Can you provide the whole of your 'explain 1'? I would expect to see&lt;BR /&gt;runtime filtering enabled in the plan.&lt;BR /&gt;&lt;BR /&gt;The number of partitions scanned ('partitions=3/3') is correct. Runtime&lt;BR /&gt;filtering happens at, well, runtime, so the planner doesn't know how many&lt;BR /&gt;partitions it's going to skip. In your second example, the planner can&lt;BR /&gt;figure this out ahead of time.&lt;BR /&gt;&lt;BR /&gt;Henry&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:14:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49524#M15361</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2017-01-17T18:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49594#M15362</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;BR /&gt;How can I check the actual partitions number that been read?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read the profile output for this query, but there is to much information there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the output for the explain statement for EXPALIN_1 step.&lt;/P&gt;&lt;P&gt;It seems like the runtime filter enbaled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estimated Per-Host Requirements: Memory=2.03GB VCores=2&lt;BR /&gt;WARNING: The following tables are missing relevant table and/or column statistics.&lt;BR /&gt;adb.test_1, adb.test_prt&lt;/P&gt;&lt;P&gt;04:EXCHANGE [UNPARTITIONED]&lt;BR /&gt;|&lt;BR /&gt;02:HASH JOIN [LEFT SEMI JOIN, BROADCAST]&lt;BR /&gt;| hash predicates: t.day = day&lt;BR /&gt;| runtime filters: RF000 &amp;lt;- day&lt;BR /&gt;|&lt;BR /&gt;|--03:EXCHANGE [BROADCAST]&lt;BR /&gt;| |&lt;BR /&gt;| 01:SCAN HDFS [adb.test_1]&lt;BR /&gt;| partitions=1/1 files=1 size=9B&lt;BR /&gt;|&lt;BR /&gt;00:SCAN HDFS [adb.test_prt t]&lt;BR /&gt;&lt;STRONG&gt;partitions=3/3 files=3 size=12B&lt;/STRONG&gt;&lt;BR /&gt;runtime filters: RF000 -&amp;gt; t.day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 07:18:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49594#M15362</guid>
      <dc:creator>dsss</dc:creator>
      <dc:date>2017-01-18T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49644#M15363</link>
      <description>The profile has the information. Look for something like:&lt;BR /&gt;&lt;BR /&gt;Filter 0 (1.00 MB):&lt;BR /&gt;- Files processed: 76 (76)&lt;BR /&gt;- Files rejected: 76 (76)&lt;BR /&gt;- Files total: 76 (76)&lt;BR /&gt;- RowGroups processed: 0 (0)&lt;BR /&gt;- RowGroups rejected: 0 (0)&lt;BR /&gt;- RowGroups total: 0 (0)&lt;BR /&gt;- Rows processed: 0 (0)&lt;BR /&gt;- Rows rejected: 0 (0)&lt;BR /&gt;- Rows total: 0 (0)&lt;BR /&gt;- Splits processed: 0 (0)&lt;BR /&gt;- Splits rejected: 0 (0)&lt;BR /&gt;- Splits total: 0 (0)&lt;BR /&gt;&lt;BR /&gt;We don't record per-partition filtering information - but instead we&lt;BR /&gt;eliminate entire files, so that's captured in the 'Files' statistics below.&lt;BR /&gt;&lt;BR /&gt;The 'total' is all files considered for scanning. The 'processed' value is&lt;BR /&gt;the total number that were submitted to that filter - if the filter arrives&lt;BR /&gt;late, some files could be read but not considered for filtering. The&lt;BR /&gt;'rejected' value is the number of files that were eliminated by the filter.&lt;BR /&gt;High 'rejected' numbers means an effective filter!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Henry&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2017 20:06:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49644#M15363</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2017-01-18T20:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49666#M15364</link>
      <description>&lt;P&gt;Many thanks Henry!&lt;BR /&gt;&lt;BR /&gt;Last question - When using joins, does runtime filter works on INNER JOIN solely?&lt;BR /&gt;When I checked the profile output after performing LEFT JOIN I didn't see any mention for runtime filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:50:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49666#M15364</guid>
      <dc:creator>dsss</dc:creator>
      <dc:date>2017-01-19T09:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49711#M15365</link>
      <description>Filters - as implemented - don't work in the presence of LEFT OUTER JOIN&lt;BR /&gt;because the filter values are passed from right-to-left. The right side of&lt;BR /&gt;the join computes the set of filter values, and then the left side is&lt;BR /&gt;compared against those filter values. But in a LEFT JOIN all left-side&lt;BR /&gt;values should be output by the join, so no filtering can happen.&lt;BR /&gt;&lt;BR /&gt;If you try the same query but with a RIGHT OUTER JOIN, you should see the&lt;BR /&gt;filters kick back in.&lt;BR /&gt;&lt;BR /&gt;Henry&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jan 2017 17:39:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/49711#M15365</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2017-01-19T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52402#M15366</link>
      <description>&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question for you and it is about `partition pruning` ( about pruning )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say there are two tables A and B.&lt;/P&gt;&lt;P&gt;And, each table is partitioned by yearweek.&lt;/P&gt;&lt;P&gt;And, here is the query I'd like to run. ( Yes. I need to use left join to get result what I want )&lt;/P&gt;&lt;PRE&gt;SELECT * FROM A
LEFT OUTER JOIN B
ON A.account_id = B.account_id
AND A.yearweek = 201710 and B.yearweek = 201710&lt;/PRE&gt;&lt;P&gt;Even this doesn't select specific partition in `table A`&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT * FROM A
LEFT OUTER JOIN B
ON A.account_id = B.account_id
AND B.yearweek = 201710
WHERE A.yearweek = 201710&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like you said, `A.yearweek` = 201710 on `On clause` couldn't select partition yearweek=201710.&lt;/P&gt;&lt;P&gt;This might be filter is applied from `Left to Right`.&lt;/P&gt;&lt;P&gt;In order to select specific partition for `table A`. I used `dynamic partition` and updated query like this.&lt;/P&gt;&lt;PRE&gt;SELECT * FROM (SELECT * FROM A WHERE yearweek = 201710) a
LEFT OUTER JOIN B b
ON a.account_id = b.account_id
AND b.yearweek = 201710&lt;/PRE&gt;&lt;P&gt;Do you think this is best I can do?&lt;/P&gt;&lt;P&gt;Or is there way to limit data for `table A` by using `On clause`?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, is there any refrerence you would recommend for me to upderstand how JOIN works in Impala and Hive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 23:18:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52402#M15366</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2017-03-20T23:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52412#M15367</link>
      <description>&lt;P&gt;Your second query variant should select the partition in table A. If that's not the case, something seems wrong. Could you provide a profile that shows the lack of partitioning pruning with the second query in your use case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The the first and second query variant have a different meaning, and hence different optimizations apply. The ON and WHERE clauses have very specific meanings in SQL, in particular with outer joins. The ON clause affects which rows are considered a "match" for he purpose of the outer join, so if you put "A.yearweek = 201710" in the ON clause, then those rows not satisfying that condition are considered a join non-match. The meaning of a LEFT OUTER JOIN is that the left side rows are returned even for join non-matches (with NULLs on the right side).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WHERE clause is logically applied *after* the FROM clause, so all rows produced by the FROM clause are filtered (including non-matches of the outer join, so we can move a WHERE-clause predicate on A into the scan in your second query variant).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 04:19:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52412#M15367</guid>
      <dc:creator>alex.behm</dc:creator>
      <dc:date>2017-03-21T04:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52418#M15368</link>
      <description>&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, thank you very much for your explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right. the second query selects partition in table A.&lt;/P&gt;&lt;P&gt;And, I'm fully aware of the difference between the first one( using on clause ) and second on ( where clause ) like the way you explained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason different variances were tried to find out ways to limit table A data before joinging two tables.&lt;/P&gt;&lt;P&gt;( yes, second query doesn't work this way )&lt;/P&gt;&lt;P&gt;In MySQL, table A could be limited by `ON clause`, but with Impala, I don't know how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think using subquery is the best way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 06:09:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52418#M15368</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2017-03-21T06:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52422#M15369</link>
      <description>&lt;P&gt;Hi Gatsby,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if your goal is to limit the rows of table A then I think the subquery is the safest bet. Your second variant with the WHERE clause also seems fine, but depending on what's in the FROM clause that predicate may not always be applied at the scan of A. So going with a subquery seems the most straightforward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Runtime filters from right-to-left on a LEFT OUTER JOIN are&amp;nbsp;not possible because restrictoins on the right side cannot be directly applied to the left side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be surprised if MySQL had a different behavior with respect to the ON clause. Do you have an example of MySQL results being different from Impala's?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 07:00:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52422#M15369</guid>
      <dc:creator>alex.behm</dc:creator>
      <dc:date>2017-03-21T07:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Impala runtime filter not working as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52424#M15370</link>
      <description>&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subquery approach has been recommended to our team as a long term solution.&lt;/P&gt;&lt;P&gt;However, for short-tem solution to avoid regression impact, using view with limited partitions has been selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remember correctly, in MySQL `table A` data can be limited by `ON Clause` before joining so that cadidates for join can be reduced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your valuable comment.&lt;/P&gt;&lt;P&gt;Gatsby&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 07:08:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-runtime-filter-not-working-as-expected/m-p/52424#M15370</guid>
      <dc:creator>thewayofthinkin</dc:creator>
      <dc:date>2017-03-21T07:08:51Z</dc:date>
    </item>
  </channel>
</rss>

