-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added encoders 3.2 #134
added encoders 3.2 #134
Conversation
…nction taking a SparkConf
Adds sc JavaSparkContext to KSparkSession
…king) added tests for: Instant datatype, duration, period, binary, and others added datatypes: ByteArray (BinaryType), CalendarInterval, Nothing (All three not yet working)
… tests, removed streaming example
Not sure why serializing ByteArrays with knownTypes doesn't work actually... it should just work |
… some refactoring. still trying to get serializing of binary to work
okay the Period encoder seems to be broken by Spark itself. Other than that, all 3.2 stuff seems to be working and the tests actually test the contents now instead of just showing it |
Oh right and the KotlinReflection scala file is now more readable :) |
kotlin-spark-api/3.2/src/main/kotlin/org/jetbrains/kotlinx/spark/api/ApiV1.kt
Show resolved
Hide resolved
dataset.collectAsList().let { | ||
it[0] shouldBe Period.ZERO | ||
|
||
// TODO this is also broken in Scala. It reports a Period of 0 instead of 2 days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please link relevant JIRA ticket
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://issues.apache.org/jira/browse/SPARK-38317 Apparently it's expected behavior, strange
Added kotlin official code style prop for later
Rdd related helpers
added force_orphan
Apparently this is expected behavior: https://issues.apache.org/jira/browse/SPARK-38317
…king) added tests for: Instant datatype, duration, period, binary, and others added datatypes: ByteArray (BinaryType), CalendarInterval, Nothing (All three not yet working)
… some refactoring. still trying to get serializing of binary to work
…coders-and-data-types # Conflicts: # kotlin-spark-api/3.2/src/test/kotlin/org/jetbrains/kotlinx/spark/api/ApiTest.kt
Duration, Period, ByteArray (Binary, now actually working)
added tests for: Instant datatype, duration, period, binary, and others
added datatypes: ByteArray (BinaryType), CalendarInterval, Nothing (All three not yet working)
metioned: #131
WIP