This is an automated email from the ASF dual-hosted git repository.
bridgetb pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/drill-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 3f5e37f DRILL-6768 and change source clone link for compiling drill
from source doc
3f5e37f is described below
commit 3f5e37f2a952c94b6783d05cd40078af57c33a22
Author: Bridget Bevens <[email protected]>
AuthorDate: Wed Dec 19 16:53:16 2018 -0800
DRILL-6768 and change source clone link for compiling drill from source doc
---
docs/compiling-drill-from-source/index.html | 4 ++--
docs/data-type-conversion/index.html | 14 ++++++++++++--
feed.xml | 4 ++--
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/docs/compiling-drill-from-source/index.html
b/docs/compiling-drill-from-source/index.html
index b656dea..444d687 100644
--- a/docs/compiling-drill-from-source/index.html
+++ b/docs/compiling-drill-from-source/index.html
@@ -1293,7 +1293,7 @@
</div>
- Jun 8, 2018
+ Dec 20, 2018
<link href="/css/docpage.css" rel="stylesheet" type="text/css">
@@ -1317,7 +1317,7 @@ Maven and JDK installed:</p>
mvn -version
</code></pre></div>
<h2 id="1-clone-the-repository">1. Clone the Repository</h2>
-<div class="highlight"><pre><code class="language-text" data-lang="text">git
clone https://git-wip-us.apache.org/repos/asf/drill.git
+<div class="highlight"><pre><code class="language-text" data-lang="text">git
clone https://github.com/apache/drill.git
</code></pre></div>
<h2 id="2-compile-the-code">2. Compile the Code</h2>
<div class="highlight"><pre><code class="language-text" data-lang="text">cd
drill
diff --git a/docs/data-type-conversion/index.html
b/docs/data-type-conversion/index.html
index 942ed9e..79c69b2 100644
--- a/docs/data-type-conversion/index.html
+++ b/docs/data-type-conversion/index.html
@@ -1293,7 +1293,7 @@
</div>
- Dec 18, 2018
+ Dec 20, 2018
<link href="/css/docpage.css" rel="stylesheet" type="text/css">
@@ -1305,9 +1305,19 @@
<li><a href="/docs/data-type-conversion/#cast">CAST</a></li>
<li><a
href="/docs/data-type-conversion/#convert_to-and-convert_from">CONVERT_TO and
CONVERT_FROM</a></li>
<li><a
href="/docs/data-type-conversion/#string_binary-function">STRING_BINARY</a> and
<a
href="/docs/data-type-conversion/#binary_string-function">BINARY_STRING</a></li>
-<li><a href="/docs/data-type-conversion/#other-data-type-conversions">Other
Data Type Conversions</a></li>
+<li><a href="/docs/data-type-conversion/#other-data-type-conversions">Other
Data Type Conversions</a><br></li>
</ul>
+<p><strong>Note:</strong> Starting in Drill 1.15, all cast and data type
conversion functions return an empty string ('') as null when the
<code>drill.exec.functions.cast_empty_string_to_null</code> option is enabled,
for example: </p>
+<div class="highlight"><pre><code class="language-text"
data-lang="text">SELECT CAST('' AS DATE) FROM (VALUES(1));
++---------+
+| EXPR$0 |
++---------+
+| null |
++---------+
+</code></pre></div>
+<p>Prior to 1.15, casting an empty string to null worked only for numeric
types; in Drill 1.15 and later casting an empty string to null also works for
DATE, TIME, TIMESTAMP, INTERVAL YEAR, INTERVAL MONTH, and INTERVAL DAY data
types. You do not have to use the CASE statement to cast empty strings to
null.</p>
+
<h2 id="cast">CAST</h2>
<p>The CAST function converts an entity, such as an expression that evaluates
to a single value, from one type to another.</p>
diff --git a/feed.xml b/feed.xml
index bce97f0..ce11e07 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>/</link>
<atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Tue, 18 Dec 2018 22:24:58 -0800</pubDate>
- <lastBuildDate>Tue, 18 Dec 2018 22:24:58 -0800</lastBuildDate>
+ <pubDate>Wed, 19 Dec 2018 16:49:25 -0800</pubDate>
+ <lastBuildDate>Wed, 19 Dec 2018 16:49:25 -0800</lastBuildDate>
<generator>Jekyll v2.5.2</generator>
<item>