@@ -601,7 +601,7 @@ operator fun Column.unaryMinus(): Column = `unary_$minus`()
601
601
*
602
602
* // Kotlin:
603
603
* import org.jetbrains.kotlinx.spark.api.*
604
- * df.select ( !df("amount") )
604
+ * df.filter ( !df("amount") )
605
605
*
606
606
* // Java:
607
607
* import static org.apache.spark.sql.functions.*;
@@ -665,7 +665,7 @@ infix fun Column.`===`(other: Any): Column = `$eq$eq$eq`(other)
665
665
*
666
666
* // Java:
667
667
* import static org.apache.spark.sql.functions.*;
668
- * df.filter ( col("colA").notEqual(col("colB")) );
668
+ * df.select ( col("colA").notEqual(col("colB")) );
669
669
* ```
670
670
*/
671
671
infix fun Column.neq (other : Any ): Column = `$eq$bang$eq`(other)
@@ -687,7 +687,7 @@ infix fun Column.neq(other: Any): Column = `$eq$bang$eq`(other)
687
687
*
688
688
* // Java:
689
689
* import static org.apache.spark.sql.functions.*;
690
- * df.filter ( col("colA").notEqual(col("colB")) );
690
+ * df.select ( col("colA").notEqual(col("colB")) );
691
691
* ```
692
692
*/
693
693
infix fun Column .`=!=` (other : Any ): Column = `$eq$bang$eq`(other)
@@ -802,9 +802,9 @@ infix fun Column.or(other: Any): Column = `$bar$bar`(other)
802
802
*
803
803
* // Kotlin:
804
804
* import org.jetbrains.kotlinx.spark.api.*
805
- * people.filter ( people("inSchool") and people("isEmployed") )
805
+ * people.select ( people("inSchool") and people("isEmployed") )
806
806
* // or
807
- * people.filter ( people("inSchool") `&&` people("isEmployed") )
807
+ * people.select ( people("inSchool") `&&` people("isEmployed") )
808
808
*
809
809
* // Java:
810
810
* import static org.apache.spark.sql.functions.*;
@@ -821,9 +821,9 @@ infix fun Column.and(other: Any): Column = `$amp$amp`(other)
821
821
*
822
822
* // Kotlin:
823
823
* import org.jetbrains.kotlinx.spark.api.*
824
- * people.filter ( people("inSchool") and people("isEmployed") )
824
+ * people.select ( people("inSchool") and people("isEmployed") )
825
825
* // or
826
- * people.filter ( people("inSchool") `&&` people("isEmployed") )
826
+ * people.select ( people("inSchool") `&&` people("isEmployed") )
827
827
*
828
828
* // Java:
829
829
* import static org.apache.spark.sql.functions.*;
0 commit comments