You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by br...@apache.org on 2018/12/18 20:46:53 UTC
[drill] branch gh-pages updated: italicize expression remove quotes
This is an automated email from the ASF dual-hosted git repository.
bridgetb pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new a942f9b italicize expression remove quotes
a942f9b is described below
commit a942f9bc85290ab5248fc52f256aa5e5d67f3c19
Author: Bridget Bevens <bb...@maprtech.com>
AuthorDate: Tue Dec 18 12:45:54 2018 -0800
italicize expression remove quotes
---
_docs/sql-reference/sql-functions/020-data-type-conversion.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/_docs/sql-reference/sql-functions/020-data-type-conversion.md b/_docs/sql-reference/sql-functions/020-data-type-conversion.md
index 336dcaa..97b0bcc 100644
--- a/_docs/sql-reference/sql-functions/020-data-type-conversion.md
+++ b/_docs/sql-reference/sql-functions/020-data-type-conversion.md
@@ -686,7 +686,7 @@ Converts a character string or a UNIX epoch timestamp to a date.
*expression* is a character string enclosed in single quotation marks or a Unix epoch timestamp in milliseconds, not enclosed in single quotation marks.
-*'format'* is a character string that specifies the format of 'expression'. Only use this option when the expression is a character string, not a UNIX epoch timestamp.
+*'format'* is a character string that specifies the format of *expression*. Only use this option when the *expression* is a character string, not a UNIX epoch timestamp.
### TO_DATE Usage Notes
Specify a format using patterns defined in [Joda DateTimeFormat class](http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html). The TO_TIMESTAMP function takes a Unix epoch timestamp. The TO_DATE function takes a UNIX epoch timestamp in milliseconds. The [UNIX_TIMESTAMP]({{site.baseurl}}/docs/date-time-functions-and-arithmetic/#unix_timestamp) function converts a time string to a UNIX timestamp in seconds.
@@ -849,7 +849,7 @@ Convert 828550000 milliseconds (23 hours 55 seconds) to the time.
*expression* is a character string enclosed in single quotation marks or a UNIX epoch timestamp, not enclosed in single quotation marks.
-*'format'* is a character string that specifies the format of 'expression'. Only use this option when the expression is a character string, not a UNIX epoch timestamp.
+*'format'* is a character string that specifies the format of *expression*. Only use this option when the *expression* is a character string, not a UNIX epoch timestamp.
### TO_TIMESTAMP Usage Notes
Specify a format using patterns defined in [Joda DateTimeFormat class](http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html). The TO_TIMESTAMP function takes a Unix epoch timestamp. The TO_DATE function takes a UNIX epoch timestamp in milliseconds.