Skip to content

[SQL][Docs] Update SQL programming guide to show the correct default value of containsNull in an ArrayType #2374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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