Skip to content

Commit

Permalink
Deactivate doctests for legacy engine, because they cannot be execute…
Browse files Browse the repository at this point in the history
…d on a doctest cluster.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Jan 18, 2023
1 parent 1c46fe8 commit 11da1f3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/user/dql/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Description

Argument type: INTEGER/LONG/FLOAT/DOUBLE

Return type: DOUBLE
Return type: same as argument type.

Example::

Expand Down Expand Up @@ -151,7 +151,7 @@ Return type map:

Example::

os> select add(2, 3), add(3, 2), add(pi(), e()) from people;
> select add(2, 3), add(3, 2), add(pi(), e())
fetched rows / total rows = 1/1
+-------------+-------------+-------------------+
| add(2, 3) | add(3, 2) | add(pi(), e()) |
Expand Down Expand Up @@ -369,7 +369,7 @@ Return type: DOUBLE

Example::

os> select cosh(0), cosh(1), cosh(pi()) from people;
> select cosh(0), cosh(1), cosh(pi())
fetched rows / total rows = 1/1
+-----------+-------------------+--------------------+
| cosh(0) | cosh(1) | cosh(pi()) |
Expand Down Expand Up @@ -465,7 +465,7 @@ Return type map:

Example::

os> select divide(2, 3), divide(3, 2), divide(3.0, 2), divide(pi(), e()) from people;
> select divide(2, 3), divide(3, 2), divide(3.0, 2), divide(pi(), e())
fetched rows / total rows = 1/1
+----------------+----------------+------------------+---------------------+
| divide(2, 3) | divide(3, 2) | divide(3.0, 2) | divide(pi(), e()) |
Expand Down Expand Up @@ -536,7 +536,7 @@ Return type: DOUBLE

Example::

os> select expm1(1) + 1 as `e()`, expm1(0) from people;
> select expm1(1) + 1 as `e()`, expm1(0)
fetched rows / total rows = 1/1
+-------------------+------------+
| e() | expm1(0) |
Expand Down Expand Up @@ -728,7 +728,7 @@ Return type map:

Example::

os> select multiply(2, 3), multiply(2.2, 3.3) from people;
> select multiply(2, 3), multiply(2.2, 3.3)
fetched rows / total rows = 1/1
+------------------+----------------------+
| multiply(2, 3) | multiply(2.2, 3.3) |
Expand Down Expand Up @@ -871,7 +871,7 @@ Return type: DOUBLE

Example::

os> select rint(2.49), rint(2.51) from people;
> select rint(2.49), rint(2.51)
fetched rows / total rows = 1/1
+--------------+--------------+
| rint(2.49) | rint(2.51) |
Expand Down Expand Up @@ -970,7 +970,7 @@ Return type: DOUBLE

Example::

os> select sinh(0), sinh(1), sinh(pi()) from people;
> select sinh(0), sinh(1), sinh(pi())
fetched rows / total rows = 1/1
+-----------+--------------------+--------------------+
| sinh(0) | sinh(1) | sinh(pi()) |
Expand Down Expand Up @@ -1046,7 +1046,7 @@ Return type map:

Example::

os> select subtract(2, 3), subtract(pi(), e()) from people;
> select subtract(2, 3), subtract(pi(), e())
fetched rows / total rows = 1/1
+------------------+-----------------------+
| subtract(2, 3) | subtract(pi(), e()) |
Expand Down

0 comments on commit 11da1f3

Please sign in to comment.