<?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>topic Spark pushdown filter not being respected on dbfs in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16078#M10293</link>
    <description>&lt;P&gt;I have a parquet files with a column&amp;nbsp;g1 with schema&lt;/P&gt;&lt;P&gt;StructField(g1,IntegerType,true)&lt;/P&gt;&lt;P&gt;Now I have a query with filter on g1.&lt;/P&gt;&lt;P&gt;What's weird in the SQL viewer is that spark is loading all the rows from that file. &lt;/P&gt;&lt;P&gt;Even though in the physical plan I can see the "pushedFilter" condition being set.&lt;/P&gt;&lt;P&gt;This is created as a delta table on dbfs.&lt;/P&gt;&lt;P&gt;Any pointer on this would be helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 18 Dec 2022 12:08:54 GMT</pubDate>
    <dc:creator>raman</dc:creator>
    <dc:date>2022-12-18T12:08:54Z</dc:date>
    <item>
      <title>Spark pushdown filter not being respected on dbfs</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16078#M10293</link>
      <description>&lt;P&gt;I have a parquet files with a column&amp;nbsp;g1 with schema&lt;/P&gt;&lt;P&gt;StructField(g1,IntegerType,true)&lt;/P&gt;&lt;P&gt;Now I have a query with filter on g1.&lt;/P&gt;&lt;P&gt;What's weird in the SQL viewer is that spark is loading all the rows from that file. &lt;/P&gt;&lt;P&gt;Even though in the physical plan I can see the "pushedFilter" condition being set.&lt;/P&gt;&lt;P&gt;This is created as a delta table on dbfs.&lt;/P&gt;&lt;P&gt;Any pointer on this would be helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 12:08:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16078#M10293</guid>
      <dc:creator>raman</dc:creator>
      <dc:date>2022-12-18T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spark pushdown filter not being respected on dbfs</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16079#M10294</link>
      <description>&lt;P&gt;Hi @Raman Gupta​&amp;nbsp;could you please share your code and physical plan for the same&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 06:43:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16079#M10294</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2022-12-19T06:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Spark pushdown filter not being respected on dbfs</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16080#M10295</link>
      <description>&lt;P&gt;Thanks @Ajay Pandey​&amp;nbsp;pls find attached the physical plan.&lt;/P&gt;&lt;P&gt;Query: &lt;B&gt;Select identityMap, segmentMembership, _repo, workEmail, person, homePhone, workPhone, workAddress, personalEmail, homeAddress from final_segment_index_table_v2 where (g1 &amp;gt;= 128 AND g1 &amp;lt; 256).&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Thanks&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 08:18:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-pushdown-filter-not-being-respected-on-dbfs/m-p/16080#M10295</guid>
      <dc:creator>raman</dc:creator>
      <dc:date>2022-12-19T08:18:35Z</dc:date>
    </item>
  </channel>
</rss>

