Skip to content

Commit 0c747a8

Browse files
fixed bad cherrypick merge conflict
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
1 parent d0d9daf commit 0c747a8

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

docs/user/dql/expressions.rst

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A literal is a symbol that represents a value. The most common literal values in
2525
1. Numeric literals: specify numeric values such as integer and floating-point numbers.
2626
2. String literals: specify a string enclosed by single or double quotes.
2727
3. Boolean literals: ``true`` or ``false``.
28-
4. Date and Time literals: DATE 'YYYY-MM-DD' represent the date, TIME 'hh:mm:ss' represent the time, TIMESTAMP 'YYYY-MM-DD hh:mm:ss' represent the timestamp. You can also surround the literals with curly brackets, if you do, you can replace date with d, time with t, and timestamp with ts
28+
4. Date and Time literals: DATE 'YYYY-MM-DD' represent the date, TIME 'hh:mm:ss' represent the time, TIMESTAMP 'YYYY-MM-DD hh:mm:ss' represent the timestamp. You can also surround the literals with curly brackets, if you do, you can replace date with d, time with t, and timestamp with ts.
2929

3030
Examples
3131
--------
@@ -40,17 +40,6 @@ Here is an example for different type of literals::
4040
| 123 | hello | False | -4.567 | 2020-07-07 | 01:01:01 | 2020-07-07 01:01:01 |
4141
+-------+-----------+---------+----------+---------------------+-------------------+-----------------------------------+
4242

43-
<<<<<<< HEAD
44-
=======
45-
46-
os> SELECT "Hello", 'Hello', "It""s", 'It''s', "It's", '"Its"', 'It\'s', 'It\\\'s', "\I\t\s"
47-
fetched rows / total rows = 1/1
48-
+-----------+-----------+-----------+-----------+----------+-----------+-----------+-------------+------------+
49-
| "Hello" | 'Hello' | "It""s" | 'It''s' | "It's" | '"Its"' | 'It\'s' | 'It\\\'s' | "\I\t\s" |
50-
|-----------+-----------+-----------+-----------+----------+-----------+-----------+-------------+------------|
51-
| Hello | Hello | It"s | It's | It's | "Its" | It's | It\'s | \I\t\s |
52-
+-----------+-----------+-----------+-----------+----------+-----------+-----------+-------------+------------+
53-
5443

5544
os> SELECT {DATE '2020-07-07'}, {D '2020-07-07'}, {TIME '01:01:01'}, {T '01:01:01'}, {TIMESTAMP '2020-07-07 01:01:01'}, {TS '2020-07-07 01:01:01'}
5645
fetched rows / total rows = 1/1
@@ -60,7 +49,6 @@ Here is an example for different type of literals::
6049
| 2020-07-07 | 2020-07-07 | 01:01:01 | 01:01:01 | 2020-07-07 01:01:01 | 2020-07-07 01:01:01 |
6150
+-----------------------+--------------------+---------------------+------------------+-------------------------------------+------------------------------+
6251

63-
>>>>>>> 1a7134b79 (Added support of timestamp/date/time using curly brackets (#1894))
6452
Limitations
6553
-----------
6654

0 commit comments

Comments
 (0)