Github user efimpoberezkin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20832#discussion_r174706413
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/Column.scala ---
@@ -1208,85 +1208,172 @@ class ColumnName(name: String) extends
Column(name) {
*/
def boolean: StructField = StructField(name, BooleanType)
+ /**
+ * Creates a new `StructField` of type boolean.
+ * @since 2.3.0
--- End diff --
Done
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]