Skip to content

Commit

Permalink
Update the SQL programming guide to show the correct default value of…
Browse files Browse the repository at this point in the history
… containsNull in an ArrayType (the default value is true instead of false).
  • Loading branch information
yhuai committed Sep 12, 2014
1 parent af25838 commit dc609a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sql-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit dc609a3

Please sign in to comment.