[SPARK-4245][SQL] Fix containsNull of the result ArrayType of CreateArray expression.

The `containsNull` of the result `ArrayType` of `CreateArray` should be `true` only if the children is empty or there exists nullable child.
Add a comment to explain the reason that we do not need to override `resolved`? Also, maybe some comments about this `InsertIntoHiveTable` class?