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 3d20397f1b Publish built docs triggered by
c3f080774cd5dd588b5250317ac3b0fc393c0647
3d20397f1b is described below
commit 3d20397f1bf939413ce74ab18454d4e821bf7399
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Feb 19 07:04:50 2026 +0000
Publish built docs triggered by c3f080774cd5dd588b5250317ac3b0fc393c0647
---
_sources/user-guide/sql/scalar_functions.md.txt | 8 ++++----
searchindex.js | 2 +-
user-guide/sql/scalar_functions.html | 8 ++++----
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/_sources/user-guide/sql/scalar_functions.md.txt
b/_sources/user-guide/sql/scalar_functions.md.txt
index e09c4cb7cb..02b4b55fe6 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -2068,17 +2068,17 @@ to_hex(int)
### `translate`
-Translates characters in a string to specified translation characters.
+Performs character-wise substitution based on a mapping.
```sql
-translate(str, chars, translation)
+translate(str, from, to)
```
#### Arguments
- **str**: String expression to operate on. Can be a constant, column, or
function, and any combination of operators.
-- **chars**: Characters to translate.
-- **translation**: Translation characters. Translation characters replace only
characters at the same position in the **chars** string.
+- **from**: The characters to be replaced.
+- **to**: The characters to replace them with. Each character in **from** that
is found in **str** is replaced by the character at the same index in **to**.
Any characters in **from** that don't have a corresponding character in **to**
are removed. If a character appears more than once in **from**, the first
occurrence determines the mapping.
#### Example
diff --git a/searchindex.js b/searchindex.js
index 737f62d4d5..4210956a27 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles":{"!=":[[71,"op-neq"]],"!~":[[71,"op-re-not-match"]],"!~*":[[71,"op-re-not-match-i"]],"!~~":[[71,"id19"]],"!~~*":[[71,"id20"]],"#":[[71,"op-bit-xor"]],"%":[[71,"op-modulo"]],"&":[[71,"op-bit-and"]],"(relation,
name) tuples in logical fields and logical columns are
unique":[[14,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[71,"op-multiply"]],"+":[[71,"op-plus"]],"-":[[71,"op-minus"]],"/":[[71,"op-divide"]],"1.
Array Literal Con [...]
\ No newline at end of file
+Search.setIndex({"alltitles":{"!=":[[71,"op-neq"]],"!~":[[71,"op-re-not-match"]],"!~*":[[71,"op-re-not-match-i"]],"!~~":[[71,"id19"]],"!~~*":[[71,"id20"]],"#":[[71,"op-bit-xor"]],"%":[[71,"op-modulo"]],"&":[[71,"op-bit-and"]],"(relation,
name) tuples in logical fields and logical columns are
unique":[[14,"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]],"*":[[71,"op-multiply"]],"+":[[71,"op-plus"]],"-":[[71,"op-minus"]],"/":[[71,"op-divide"]],"1.
Array Literal Con [...]
\ No newline at end of file
diff --git a/user-guide/sql/scalar_functions.html
b/user-guide/sql/scalar_functions.html
index 615682b68b..f63099c404 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -2557,16 +2557,16 @@ If count is negative, everything to the right of the
final delimiter (counting f
</section>
<section id="translate">
<h3><code class="docutils literal notranslate"><span
class="pre">translate</span></code><a class="headerlink" href="#translate"
title="Link to this heading">#</a></h3>
-<p>Translates characters in a string to specified translation characters.</p>
-<div class="highlight-sql notranslate"><div
class="highlight"><pre><span></span><span class="k">translate</span><span
class="p">(</span><span class="n">str</span><span class="p">,</span><span
class="w"> </span><span class="n">chars</span><span class="p">,</span><span
class="w"> </span><span class="k">translation</span><span class="p">)</span>
+<p>Performs character-wise substitution based on a mapping.</p>
+<div class="highlight-sql notranslate"><div
class="highlight"><pre><span></span><span class="k">translate</span><span
class="p">(</span><span class="n">str</span><span class="p">,</span><span
class="w"> </span><span class="k">from</span><span class="p">,</span><span
class="w"> </span><span class="k">to</span><span class="p">)</span>
</pre></div>
</div>
<section id="id153">
<h4>Arguments<a class="headerlink" href="#id153" title="Link to this
heading">#</a></h4>
<ul class="simple">
<li><p><strong>str</strong>: String expression to operate on. Can be a
constant, column, or function, and any combination of operators.</p></li>
-<li><p><strong>chars</strong>: Characters to translate.</p></li>
-<li><p><strong>translation</strong>: Translation characters. Translation
characters replace only characters at the same position in the
<strong>chars</strong> string.</p></li>
+<li><p><strong>from</strong>: The characters to be replaced.</p></li>
+<li><p><strong>to</strong>: The characters to replace them with. Each
character in <strong>from</strong> that is found in <strong>str</strong> is
replaced by the character at the same index in <strong>to</strong>. Any
characters in <strong>from</strong> that don’t have a corresponding character
in <strong>to</strong> are removed. If a character appears more than once in
<strong>from</strong>, the first occurrence determines the mapping.</p></li>
</ul>
</section>
<section id="id154">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]