You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2018/02/21 21:57:15 UTC
svn commit: r1825014 - /calcite/site/docs/reference.html
Author: jhyde
Date: Wed Feb 21 21:57:15 2018
New Revision: 1825014
URL: http://svn.apache.org/viewvc?rev=1825014&view=rev
Log:
Fix back-quotes in reference.html
Modified:
calcite/site/docs/reference.html
Modified: calcite/site/docs/reference.html
URL: http://svn.apache.org/viewvc/calcite/site/docs/reference.html?rev=1825014&r1=1825013&r2=1825014&view=diff
==============================================================================
--- calcite/site/docs/reference.html (original)
+++ calcite/site/docs/reference.html Wed Feb 21 21:57:15 2018
@@ -1289,7 +1289,7 @@ for example <code class="highlighter-rou
<tr>
<td style="text-align: left">MULTIPOLYGON</td>
<td style="text-align: left">6</td>
- <td style="text-align: left"><tt>ST_GeomFromText(`ââMULTIPOLYGON (((30 20, 45 40, 10 40, 30 20)), ((15 5, 40 10, 10 20, 5 10, 15 5)))â)</tt></td>
+ <td style="text-align: left"><tt>ST_GeomFromText(ââMULTIPOLYGON (((30 20, 45 40, 10 40, 30 20)), ((15 5, 40 10, 10 20, 5 10, 15 5)))â)</tt></td>
</tr>
</tbody>
</table>
@@ -3350,12 +3350,12 @@ that is used if they are not specified).
<p>Suppose you have a function <code class="highlighter-rouge">f</code>, declared as in the following pseudo syntax:</p>
-<p><code class="highlighter-rouge">FUNCTION f(
- INTEGER a,
- INTEGER b DEFAULT NULL,
- INTEGER c,
- INTEGER d DEFAULT NULL,
- INTEGER e DEFAULT NULL) RETURNS INTEGER</code></p>
+<figure class="highlight"><pre><code class="language-sql" data-lang="sql"><span class="k">FUNCTION</span> <span class="n">f</span><span class="p">(</span>
+ <span class="n">INTEGER</span> <span class="n">a</span><span class="p">,</span>
+ <span class="n">INTEGER</span> <span class="n">b</span> <span class="k">DEFAULT</span> <span class="k">NULL</span><span class="p">,</span>
+ <span class="n">INTEGER</span> <span class="k">c</span><span class="p">,</span>
+ <span class="n">INTEGER</span> <span class="n">d</span> <span class="k">DEFAULT</span> <span class="k">NULL</span><span class="p">,</span>
+ <span class="n">INTEGER</span> <span class="n">e</span> <span class="k">DEFAULT</span> <span class="k">NULL</span><span class="p">)</span> <span class="k">RETURNS</span> <span class="n">INTEGER</span></code></pre></figure>
<p>All of the functionâs parameters have names, and parameters <code class="highlighter-rouge">b</code>, <code class="highlighter-rouge">d</code> and <code class="highlighter-rouge">e</code>
have a default value of <code class="highlighter-rouge">NULL</code> and are therefore optional.
@@ -3388,8 +3388,7 @@ Here are some examples:</p>
<ul>
<li><code class="highlighter-rouge">f(c => 3, d => 1, a => 0)</code> is equivalent to <code class="highlighter-rouge">f(0, NULL, 3, 1, NULL)</code>;</li>
<li><code class="highlighter-rouge">f(c => 3, d => 1)</code> is not legal, because you have not specified a value for
-<code class="highlighter-rouge">a</code> and <code class="highlighter-rouge">a</code> is not optional.
-```</li>
+<code class="highlighter-rouge">a</code> and <code class="highlighter-rouge">a</code> is not optional.</li>
</ul>
<h3 id="match_recognize">MATCH_RECOGNIZE</h3>