diff options
author | Yin Huai <huai@cse.ohio-state.edu> | 2014-09-12 21:58:02 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-09-12 21:58:02 -0700 |
commit | e11eeb71fa3a5fe7ddacb94d5b93b173d4d901a8 (patch) | |
tree | 4287f636f0549b750a3994977f1a516cc22b8ede /docs | |
parent | 2584ea5b23b1c5a4df9549b94bfc9b8e0900532e (diff) | |
download | spark-e11eeb71fa3a5fe7ddacb94d5b93b173d4d901a8.tar.gz spark-e11eeb71fa3a5fe7ddacb94d5b93b173d4d901a8.tar.bz2 spark-e11eeb71fa3a5fe7ddacb94d5b93b173d4d901a8.zip |
[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 <huai@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).
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sql-programming-guide.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index d83efa4bab..3159d52787 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> |