Skip to content

Commit 187d553

Browse files
committed
removed debug from deploy, updated udf example for jupyter
1 parent 458f392 commit 187d553

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish_dev_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Deploy to GH Packages with Gradle
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
run: ./gradlew -Pspark=${{ matrix.spark }} -Pscala=${{ matrix.scala }} -PskipScalaTuplesInKotlin=${{ !(matrix.spark == '3.0.0' || matrix.scala == '2.13.8' && matrix.spark == '3.2.0') }} clean publishMavenPublicationToGitHubPackagesRepository --debug --scan --no-daemon --stacktrace
71+
run: ./gradlew -Pspark=${{ matrix.spark }} -Pscala=${{ matrix.scala }} -PskipScalaTuplesInKotlin=${{ !(matrix.spark == '3.0.0' || matrix.scala == '2.13.8' && matrix.spark == '3.2.0') }} clean publishMavenPublicationToGitHubPackagesRepository --scan
7272

7373

7474

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ package org.jetbrains.kotlinx.spark.api
2424
import org.apache.spark.sql.*
2525
import org.apache.spark.sql.types.DataType
2626
import scala.collection.Seq
27+
import java.io.Serializable
2728
import kotlin.reflect.KClass
2829
import kotlin.reflect.KProperty
2930
import kotlin.reflect.full.isSubclassOf
@@ -114,7 +115,7 @@ inline fun <Return, reified NamedUdf : NamedUserDefinedFunction<Return, *>> UDFR
114115
* @param Return the return type of the udf
115116
* @param NamedUdf a type reference to the named version of the [SparkUserDefinedFunction] implementing class
116117
*/
117-
sealed interface UserDefinedFunction<Return, NamedUdf> {
118+
sealed interface UserDefinedFunction<Return, NamedUdf> : Serializable {
118119
val udf: SparkUserDefinedFunction
119120
val encoder: Encoder<Return>
120121

0 commit comments

Comments
 (0)