Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
velox committed Oct 5, 2023
1 parent 23233be commit f683bad
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/_sources/functions/presto/string.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ String Functions
This function provides the same functionality as the
SQL-standard concatenation operator (``||``).

.. function:: ends_with(string, substring) -> boolean

Returns whether ``string`` ends_with with ``substring``.

.. function:: from_utf8(binary) -> varchar

Decodes a UTF-8 encoded string from ``binary``. Invalid UTF-8 sequences
Expand Down
6 changes: 6 additions & 0 deletions docs/functions/presto/string.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ <h1>String Functions<a class="headerlink" href="#string-functions" title="Permal
SQL-standard concatenation operator (<code class="docutils literal notranslate"><span class="pre">||</span></code>).</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="ends_with">
<span class="sig-name descname"><span class="pre">ends_with</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">string</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">substring</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">boolean</span></span></span><a class="headerlink" href="#ends_with" title="Permalink to this definition"></a></dt>
<dd><p>Returns whether <code class="docutils literal notranslate"><span class="pre">string</span></code> ends_with with <code class="docutils literal notranslate"><span class="pre">substring</span></code>.</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="from_utf8">
<span class="sig-name descname"><span class="pre">from_utf8</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">binary</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">varchar</span></span></span><a class="headerlink" href="#from_utf8" title="Permalink to this definition"></a></dt>
Expand Down
9 changes: 9 additions & 0 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,8 @@ <h2 id="B">B</h2>
<li><a href="functions/presto/array.html#element_at">element_at()</a>, <a href="functions/spark/map.html#element_at">[1]</a>
</li>
<li><a href="functions/presto/hyperloglog.html#empty_approx_set">empty_approx_set()</a>
</li>
<li><a href="functions/presto/string.html#ends_with">ends_with()</a>
</li>
<li><a href="functions/spark/string.html#endswith">endswith()</a>
</li>
Expand Down Expand Up @@ -1579,6 +1581,13 @@ <h2 id="E">E</h2>

<ul>
<li><a href="functions/presto/hyperloglog.html#empty_approx_set">built-in function</a>
</li>
</ul></li>
<li>
ends_with()

<ul>
<li><a href="functions/presto/string.html#ends_with">built-in function</a>
</li>
</ul></li>
<li>
Expand Down
Binary file modified docs/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

0 comments on commit f683bad

Please sign in to comment.