From e11eeb71fa3a5fe7ddacb94d5b93b173d4d901a8 Mon Sep 17 00:00:00 2001
From: Yin Huai <huai@cse.ohio-state.edu>
Date: Fri, 12 Sep 2014 21:58:02 -0700
Subject: [PATCH] [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).
---
 docs/sql-programming-guide.md | 6 +++---
 1 file 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>
-- 
GitLab