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 2026/10/14 06:50:27 UTC
(datafusion) branch asf-site updated: Publish built docs triggered by 92323f7f146bb43931193bf005f35804dbca15b7
This is an automated email from the ASF dual-hosted git repository.
github-actions[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 b20d22ca26 Publish built docs triggered by 92323f7f146bb43931193bf005f35804dbca15b7
b20d22ca26 is described below
commit b20d22ca2616cd93dc5547ec53831cf5268b6cdb
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Wed Oct 14 06:50:19 2026 +0000
Publish built docs triggered by 92323f7f146bb43931193bf005f35804dbca15b7
---
_sources/library-user-guide/upgrading/56.0.0.md.txt | 10 ++++++++++
library-user-guide/upgrading/56.0.0.html | 11 +++++++++++
searchindex.js | 2 +-
3 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/_sources/library-user-guide/upgrading/56.0.0.md.txt b/_sources/library-user-guide/upgrading/56.0.0.md.txt
index 62af520611..cd60aa365c 100644
--- a/_sources/library-user-guide/upgrading/56.0.0.md.txt
+++ b/_sources/library-user-guide/upgrading/56.0.0.md.txt
@@ -296,6 +296,16 @@ let constraints = Constraints::try_from(proto_constraints)?;
See [issue #24170](https://github.com/apache/datafusion/issues/24170) for details.
+### `CastExpr::cast_options` now returns `CastOptions` by value
+
+`CastExpr` now owns format strings decoded from protobuf, so `cast_options()`
+returns a borrowing `CastOptions<'_>` value instead of `&CastOptions<'static>`.
+Code that only reads the options generally needs no change. To replace only the
+child, use `PhysicalExpr::with_new_children` to preserve the options and whether
+the target is type-only or explicit. Use `CastExpr::with_new_expr_and_target_field`
+when replacing both the child and an explicit target field. Neither method
+requires a `'static` borrow of the options.
+
### `ExecutionOptions` has a new `enable_nlj_coordinated_fallback` field
`ExecutionOptions` gained a public `enable_nlj_coordinated_fallback: bool` field
diff --git a/library-user-guide/upgrading/56.0.0.html b/library-user-guide/upgrading/56.0.0.html
index 09d749b7c6..ad77c5c532 100644
--- a/library-user-guide/upgrading/56.0.0.html
+++ b/library-user-guide/upgrading/56.0.0.html
@@ -693,6 +693,16 @@ without a <code class="docutils literal notranslate"><span class="pre">constrain
</div>
<p>See <a class="reference external" href="https://github.com/apache/datafusion/issues/24170">issue #24170</a> for details.</p>
</section>
+<section id="castexpr-cast-options-now-returns-castoptions-by-value">
+<h3><code class="docutils literal notranslate"><span class="pre">CastExpr::cast_options</span></code> now returns <code class="docutils literal notranslate"><span class="pre">CastOptions</span></code> by value<a class="headerlink" href="#castexpr-cast-options-now-returns-castoptions-by-value" title="Link to this heading">#</a></h3>
+<p><code class="docutils literal notranslate"><span class="pre">CastExpr</span></code> now owns format strings decoded from protobuf, so <code class="docutils literal notranslate"><span class="pre">cast_options()</span></code>
+returns a borrowing <code class="docutils literal notranslate"><span class="pre">CastOptions<'_></span></code> value instead of <code class="docutils literal notranslate"><span class="pre">&CastOptions<'static></span></code>.
+Code that only reads the options generally needs no change. To replace only the
+child, use <code class="docutils literal notranslate"><span class="pre">PhysicalExpr::with_new_children</span></code> to preserve the options and whether
+the target is type-only or explicit. Use <code class="docutils literal notranslate"><span class="pre">CastExpr::with_new_expr_and_target_field</span></code>
+when replacing both the child and an explicit target field. Neither method
+requires a <code class="docutils literal notranslate"><span class="pre">'static</span></code> borrow of the options.</p>
+</section>
<section id="executionoptions-has-a-new-enable-nlj-coordinated-fallback-field">
<h3><code class="docutils literal notranslate"><span class="pre">ExecutionOptions</span></code> has a new <code class="docutils literal notranslate"><span class="pre">enable_nlj_coordinated_fallback</span></code> field<a class="headerlink" href="#executionoptions-has-a-new-enable-nlj-coordinated-fallback-field" title="Link to this heading">#</a></h3>
<p><code class="docutils literal notranslate"><span class="pre">ExecutionOptions</span></code> gained a public <code class="docutils literal notranslate"><span class="pre">enable_nlj_coordinated_fallback:</span> <span class="pre">bool</span></code> field
@@ -1417,6 +1427,7 @@ the API breaks.</p>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#range-partitioning-supports-retained-samples-and-scaling">Range partitioning supports retained samples and scaling</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#groupcolumn-now-requires-values-preserving"><code class="docutils literal notranslate"><span class="pre">GroupColumn</span></code> now requires <code class="docutils literal notranslate"><span class="pre">values_preserving</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#datafusion-proto-common-option-and-constraint-conversions-are-fallible"><code class="docutils literal notranslate"><span class="pre">datafusion-proto</span></code>: common option and constraint conversions are fallible</a></li>
+<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#castexpr-cast-options-now-returns-castoptions-by-value"><code class="docutils literal notranslate"><span class="pre">CastExpr::cast_options</span></code> now returns <code class="docutils literal notranslate"><span class="pre">CastOptions</span></code> by value</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#executionoptions-has-a-new-enable-nlj-coordinated-fallback-field"><code class="docutils literal notranslate"><span class="pre">ExecutionOptions</span></code> has a new <code class="docutils literal notranslate"><span class="pre">enable_nlj_coordinated_fallback</span></code> field</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#executionoptions-time-zone-is-now-a-validated-configtimezone"><code class="docutils literal notranslate"><span class="pre">ExecutionOptions::time_zone</span></code> is now a validated <code class="docutils literal notranslate"><span class="pre">ConfigTimeZone</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#executionoptions-has-a-new-soft-max-bytes-per-output-file-field"><code class="docutils literal notranslate"><span class="pre">ExecutionOptions</span></code> has a new <code class="docutils literal notranslate"><span class="pre">soft_max_bytes_per_output_file</span></code> field</a></li>
diff --git a/searchindex.js b/searchindex.js
index 575b26500b..44f19e490b 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[79,"op-neq"]],"!~":[[79,"op-re-not-match"]],"!~*":[[79,"op-re-not-match-i"]],"!~~":[[79,"id19"]],"!~~*":[[79,"id20"]],"#":[[79,"op-bit-xor"]],"%":[[79,"op-modulo"]],"&":[[79,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[17,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[79,"op-multiply"]],"+":[[79,"op-plus"]],"-":[[79,"op-minus"]],"/":[[79,"op-divide"]],"1. Array Literal Con [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[79,"op-neq"]],"!~":[[79,"op-re-not-match"]],"!~*":[[79,"op-re-not-match-i"]],"!~~":[[79,"id19"]],"!~~*":[[79,"id20"]],"#":[[79,"op-bit-xor"]],"%":[[79,"op-modulo"]],"&":[[79,"op-bit-and"]],"(relation, name) tuples in logical fields and logical columns are unique":[[17,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[79,"op-multiply"]],"+":[[79,"op-plus"]],"-":[[79,"op-minus"]],"/":[[79,"op-divide"]],"1. Array Literal Con [...]
\ 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