<?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: Forward filling and back filling from adjacent column in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42499#M33426</link>
    <description>&lt;P&gt;Thanks for the prompt response, Tim. Is there currently a way to achieve a similar functionality without this support?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2016 19:51:41 GMT</pubDate>
    <dc:creator>addie</dc:creator>
    <dc:date>2016-06-30T19:51:41Z</dc:date>
    <item>
      <title>Forward filling and back filling from adjacent column</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42473#M33424</link>
      <description>&lt;P&gt;Is there a way to use something like Oracle's "IGNORE NULLS" with the last_value() analytic function (or similar)? I want to fill all&amp;nbsp;the nulls in a column with the last value in that column that was non-null. In Oracle I can do something like the below. How can I implement&amp;nbsp;this in Impala? I&amp;nbsp;need&amp;nbsp;to forward fill the null values&amp;nbsp;if possible, and if the partition begins with null, I'd like to backfill from the first non-null value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-- Oracle sample query -- &lt;BR /&gt;select user, date, val, &lt;BR /&gt;       case when val is null &lt;BR /&gt;            then last_value(val ignore nulls)&lt;BR /&gt;                 over (partition by user order by date) &lt;BR /&gt;            else val &lt;BR /&gt;       end as new_val
   &lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:28:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42473#M33424</guid>
      <dc:creator>addie</dc:creator>
      <dc:date>2022-09-16T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Forward filling and back filling from adjacent column</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42484#M33425</link>
      <description>&lt;P&gt;I think we already have&amp;nbsp;an open issue for this that is being actively worked on&amp;nbsp;&lt;A href="https://issues.cloudera.org/browse/IMPALA-3210" target="_blank"&gt;https://issues.cloudera.org/browse/IMPALA-3210&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e. we don't support it yet but it's in the pipeline.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 15:53:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42484#M33425</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2016-06-30T15:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Forward filling and back filling from adjacent column</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42499#M33426</link>
      <description>&lt;P&gt;Thanks for the prompt response, Tim. Is there currently a way to achieve a similar functionality without this support?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:51:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42499#M33426</guid>
      <dc:creator>addie</dc:creator>
      <dc:date>2016-06-30T19:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Forward filling and back filling from adjacent column</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42509#M33427</link>
      <description>&lt;P&gt;We're working on it and it&amp;nbsp;should&amp;nbsp;be in the next release, but unfortunately we're not aware of&amp;nbsp;a good way to simulate the same results.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 02:05:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forward-filling-and-back-filling-from-adjacent-column/m-p/42509#M33427</guid>
      <dc:creator>Matt Jacobs</dc:creator>
      <dc:date>2016-07-01T02:05:41Z</dc:date>
    </item>
  </channel>
</rss>

