You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/09/13 06:58:08 UTC
git commit: [SQL][Docs] Update SQL programming guide to show the
correct default value of containsNull in an ArrayType
Repository: spark
Updated Branches:
refs/heads/master 2584ea5b2 -> e11eeb71f
[SQL][Docs] Update SQL programming guide to show the correct default value of containsNull in an ArrayType
After #1889, the default value of `containsNull` in an `ArrayType` is `true`.
Author: Yin Huai <hu...@cse.ohio-state.edu>
Closes #2374 from yhuai/containsNull and squashes the following commits:
dc609a3 [Yin Huai] Update the SQL programming guide to show the correct default value of containsNull in an ArrayType (the default value is true instead of false).
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e11eeb71
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e11eeb71
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e11eeb71
Branch: refs/heads/master
Commit: e11eeb71fa3a5fe7ddacb94d5b93b173d4d901a8
Parents: 2584ea5
Author: Yin Huai <hu...@cse.ohio-state.edu>
Authored: Fri Sep 12 21:58:02 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Fri Sep 12 21:58:02 2014 -0700
----------------------------------------------------------------------
docs/sql-programming-guide.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/e11eeb71/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index d83efa4..3159d52 100644
--- a/docs/sql-programming-guide.md
+++ b/docs/sql-programming-guide.md
@@ -1232,7 +1232,7 @@ import org.apache.spark.sql._
<td> scala.collection.Seq </td>
<td>
ArrayType(<i>elementType</i>, [<i>containsNull</i>])<br />
- <b>Note:</b> The default value of <i>containsNull</i> is <i>false</i>.
+ <b>Note:</b> The default value of <i>containsNull</i> is <i>true</i>.
</td>
</tr>
<tr>
@@ -1358,7 +1358,7 @@ please use factory methods provided in
<td> java.util.List </td>
<td>
DataType.createArrayType(<i>elementType</i>)<br />
- <b>Note:</b> The value of <i>containsNull</i> will be <i>false</i><br />
+ <b>Note:</b> The value of <i>containsNull</i> will be <i>true</i><br />
DataType.createArrayType(<i>elementType</i>, <i>containsNull</i>).
</td>
</tr>
@@ -1505,7 +1505,7 @@ from pyspark.sql import *
<td> list, tuple, or array </td>
<td>
ArrayType(<i>elementType</i>, [<i>containsNull</i>])<br />
- <b>Note:</b> The default value of <i>containsNull</i> is <i>False</i>.
+ <b>Note:</b> The default value of <i>containsNull</i> is <i>True</i>.
</td>
</tr>
<tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org