Skip to content

Commit

Permalink
fixed flaky itest which casted the non deterministic
Browse files Browse the repository at this point in the history
thread_pools array
  • Loading branch information
Philipp Bogensberger committed Oct 20, 2014
1 parent af7390a commit 1b30190
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/sql/data_types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,13 @@ It is also possible to convert array structures to different data
types, e.g. converting an array of integer values to a boolean array.
::

cr> select cast(thread_pools['active'] as array(boolean)) as
cr> select cast([0,1,5] as array(boolean)) as
... active_threads from sys.nodes limit 1;
+-----------------------...-----+
| active_threads |
+-----------------------...-----+
| [false, false, false, ...] |
+-----------------------...-----+
+---------------------+
| active_threads |
+---------------------+
| [false, true, true] |
+---------------------+
SELECT 1 row in set (... sec)

.. note::
Expand Down

0 comments on commit 1b30190

Please sign in to comment.