Skip to content

Commit e2c3932

Browse files
authored
Merge pull request #130 from JetBrains/small_docs_fix
small docs fixes
2 parents 25b36c9 + 3800311 commit e2c3932

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/generate_docs.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ on:
44
push:
55
branches:
66
- "spark-3.2"
7-
pull_request:
8-
branches:
9-
- "spark-3.2"
10-
117

128
jobs:
139
generate-and-publish-docs:

kotlin-spark-api/3.2/src/main/kotlin/org/jetbrains/kotlinx/spark/api/ApiV1.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ operator fun Column.unaryMinus(): Column = `unary_$minus`()
601601
*
602602
* // Kotlin:
603603
* import org.jetbrains.kotlinx.spark.api.*
604-
* df.select( !df("amount") )
604+
* df.filter( !df("amount") )
605605
*
606606
* // Java:
607607
* import static org.apache.spark.sql.functions.*;
@@ -665,7 +665,7 @@ infix fun Column.`===`(other: Any): Column = `$eq$eq$eq`(other)
665665
*
666666
* // Java:
667667
* import static org.apache.spark.sql.functions.*;
668-
* df.filter( col("colA").notEqual(col("colB")) );
668+
* df.select( col("colA").notEqual(col("colB")) );
669669
* ```
670670
*/
671671
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)
687687
*
688688
* // Java:
689689
* import static org.apache.spark.sql.functions.*;
690-
* df.filter( col("colA").notEqual(col("colB")) );
690+
* df.select( col("colA").notEqual(col("colB")) );
691691
* ```
692692
*/
693693
infix fun Column.`=!=`(other: Any): Column = `$eq$bang$eq`(other)
@@ -802,9 +802,9 @@ infix fun Column.or(other: Any): Column = `$bar$bar`(other)
802802
*
803803
* // Kotlin:
804804
* import org.jetbrains.kotlinx.spark.api.*
805-
* people.filter( people("inSchool") and people("isEmployed") )
805+
* people.select( people("inSchool") and people("isEmployed") )
806806
* // or
807-
* people.filter( people("inSchool") `&&` people("isEmployed") )
807+
* people.select( people("inSchool") `&&` people("isEmployed") )
808808
*
809809
* // Java:
810810
* import static org.apache.spark.sql.functions.*;
@@ -821,9 +821,9 @@ infix fun Column.and(other: Any): Column = `$amp$amp`(other)
821821
*
822822
* // Kotlin:
823823
* import org.jetbrains.kotlinx.spark.api.*
824-
* people.filter( people("inSchool") and people("isEmployed") )
824+
* people.select( people("inSchool") and people("isEmployed") )
825825
* // or
826-
* people.filter( people("inSchool") `&&` people("isEmployed") )
826+
* people.select( people("inSchool") `&&` people("isEmployed") )
827827
*
828828
* // Java:
829829
* import static org.apache.spark.sql.functions.*;

0 commit comments

Comments
 (0)