You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2025/07/17 02:13:54 UTC

(datafusion) branch asf-site updated: Publish built docs triggered by 6abc162d421a26959c8b8f69418925e54aefe827

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 6e43ffd35a Publish built docs triggered by 6abc162d421a26959c8b8f69418925e54aefe827
6e43ffd35a is described below

commit 6e43ffd35a8407bb93c3213784d590c2d2c63159
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Thu Jul 17 02:13:50 2025 +0000

    Publish built docs triggered by 6abc162d421a26959c8b8f69418925e54aefe827
---
 _sources/library-user-guide/upgrading.md.txt | 17 +++++++++++++++++
 library-user-guide/upgrading.html            | 28 ++++++++++++++++++++++++++++
 searchindex.js                               |  2 +-
 3 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/_sources/library-user-guide/upgrading.md.txt b/_sources/library-user-guide/upgrading.md.txt
index 22061e64eb..f2271da81c 100644
--- a/_sources/library-user-guide/upgrading.md.txt
+++ b/_sources/library-user-guide/upgrading.md.txt
@@ -110,6 +110,23 @@ SET datafusion.execution.spill_compression = 'zstd';
 
 For more details about this configuration option, including performance trade-offs between different compression codecs, see the [Configuration Settings](../user-guide/configs.md) documentation.
 
+### Deprecating `SchemaAdapterFactory` and `SchemaAdapter`
+
+We are moving away from converting data (using `SchemaAdapter`) to converting the expressions themselves (which is more efficient and flexible).
+
+See [issue #16800](https://github.com/apache/datafusion/issues/16800) for more information
+The first place this change has taken place is in predicate pushdown for Parquet.
+By default if you do not use a custom `SchemaAdapterFactory` we will use expression conversion instead.
+If you do set a custom `SchemaAdapterFactory` we will continue to use it but emit a warning about that code path being deprecated.
+
+To resolve this you need to implement a custom `PhysicalExprAdapterFactory` and use that instead of a `SchemaAdapterFactory`.
+See the [default values](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/default_column_values.rs) for an example of how to do this.
+Opting into the new APIs will set you up for future changes since we plan to expand use of `PhysicalExprAdapterFactory` to other areas of DataFusion.
+
+See [#16800] for details.
+
+[#16800]: https://github.com/apache/datafusion/issues/16800
+
 ## DataFusion `48.0.1`
 
 ### `datafusion.execution.collect_statistics` now defaults to `true`
diff --git a/library-user-guide/upgrading.html b/library-user-guide/upgrading.html
index 4aec19e9e5..feb47b6ada 100644
--- a/library-user-guide/upgrading.html
+++ b/library-user-guide/upgrading.html
@@ -591,6 +591,22 @@
      configuration option
     </a>
    </li>
+   <li class="toc-h3 nav-item toc-entry">
+    <a class="reference internal nav-link" href="#deprecating-schemaadapterfactory-and-schemaadapter">
+     Deprecating
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       SchemaAdapterFactory
+      </span>
+     </code>
+     and
+     <code class="docutils literal notranslate">
+      <span class="pre">
+       SchemaAdapter
+      </span>
+     </code>
+    </a>
+   </li>
   </ul>
  </li>
  <li class="toc-h2 nav-item toc-entry">
@@ -1068,6 +1084,18 @@ is more efficient.</p>
 </div>
 <p>For more details about this configuration option, including performance trade-offs between different compression codecs, see the <a class="reference internal" href="../user-guide/configs.html"><span class="std std-doc">Configuration Settings</span></a> documentation.</p>
 </section>
+<section id="deprecating-schemaadapterfactory-and-schemaadapter">
+<h3>Deprecating <code class="docutils literal notranslate"><span class="pre">SchemaAdapterFactory</span></code> and <code class="docutils literal notranslate"><span class="pre">SchemaAdapter</span></code><a class="headerlink" href="#deprecating-schemaadapterfactory-and-schemaadapter" title="Link to this heading">¶</a></h3>
+<p>We are moving away from converting data (using <code class="docutils literal notranslate"><span class="pre">SchemaAdapter</span></code>) to converting the expressions themselves (which is more efficient and flexible).</p>
+<p>See <a class="reference external" href="https://github.com/apache/datafusion/issues/16800">issue #16800</a> for more information
+The first place this change has taken place is in predicate pushdown for Parquet.
+By default if you do not use a custom <code class="docutils literal notranslate"><span class="pre">SchemaAdapterFactory</span></code> we will use expression conversion instead.
+If you do set a custom <code class="docutils literal notranslate"><span class="pre">SchemaAdapterFactory</span></code> we will continue to use it but emit a warning about that code path being deprecated.</p>
+<p>To resolve this you need to implement a custom <code class="docutils literal notranslate"><span class="pre">PhysicalExprAdapterFactory</span></code> and use that instead of a <code class="docutils literal notranslate"><span class="pre">SchemaAdapterFactory</span></code>.
+See the <a class="reference external" href="https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/default_column_values.rs">default values</a> for an example of how to do this.
+Opting into the new APIs will set you up for future changes since we plan to expand use of <code class="docutils literal notranslate"><span class="pre">PhysicalExprAdapterFactory</span></code> to other areas of DataFusion.</p>
+<p>See <a class="reference external" href="https://github.com/apache/datafusion/issues/16800">#16800</a> for details.</p>
+</section>
 </section>
 <section id="datafusion-48-0-1">
 <h2>DataFusion <code class="docutils literal notranslate"><span class="pre">48.0.1</span></code><a class="headerlink" href="#datafusion-48-0-1" title="Link to this heading">¶</a></h2>
diff --git a/searchindex.js b/searchindex.js
index 60442b6d1d..fd54db56fc 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[56,"op-neq"]],"!~":[[56,"op-re-not-match"]],"!~*":[[56,"op-re-not-match-i"]],"!~~":[[56,"id19"]],"!~~*":[[56,"id20"]],"#":[[56,"op-bit-xor"]],"%":[[56,"op-modulo"]],"&":[[56,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[12,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[56,"op-multiply"]],"+":[[56,"op-plus"]],"-":[[56,"op-minus"]],"/":[[56,"op-divide"]],"<":[[56,"op-lt"]],"< [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[56,"op-neq"]],"!~":[[56,"op-re-not-match"]],"!~*":[[56,"op-re-not-match-i"]],"!~~":[[56,"id19"]],"!~~*":[[56,"id20"]],"#":[[56,"op-bit-xor"]],"%":[[56,"op-modulo"]],"&":[[56,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[12,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[56,"op-multiply"]],"+":[[56,"op-plus"]],"-":[[56,"op-minus"]],"/":[[56,"op-divide"]],"<":[[56,"op-lt"]],"< [...]
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org