cloud-fan commented on code in PR #37453:
URL: https://github.com/apache/spark/pull/37453#discussion_r943054136


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/types/ArrayType.scala:
##########
@@ -53,11 +53,12 @@ object ArrayType extends AbstractDataType {
  * Please use `DataTypes.createArrayType()` to create a specific instance.
  *
  * An [[ArrayType]] object comprises two fields, `elementType: [[DataType]]` 
and
- * `containsNull: Boolean`. The field of `elementType` is used to specify the 
type of
- * array elements. The field of `containsNull` is used to specify if the array 
has `null` values.
+ * `containsNull: Boolean`.
+ * The field of `elementType` is used to specify the type of array elements.
+ * The field of `containsNull` is used to specify if the array can have `null` 
values.
  *
  * @param elementType The data type of values.
- * @param containsNull Indicates if values have `null` values
+ * @param containsNull Indicates if values can have `null` values

Review Comment:
   ```suggestion
    * @param containsNull Indicates if the array can have `null` values
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to