Skip to content

Commit 6f7f42d

Browse files
author
Michel Davit
committed
Streamline parquet-avro with avro API
1 parent 9c11122 commit 6f7f42d

File tree

17 files changed

+1130
-1254
lines changed

17 files changed

+1130
-1254
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,8 +1033,8 @@ lazy val `scio-parquet` = project
10331033
.in(file("scio-parquet"))
10341034
.dependsOn(
10351035
`scio-core`,
1036+
`scio-avro` % "provided",
10361037
`scio-tensorflow` % "provided",
1037-
`scio-avro` % Test,
10381038
`scio-test` % "test->test"
10391039
)
10401040
.settings(commonSettings)

scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import scala.util.{Failure, Success}
3737
private[coders] object VoidCoder extends AtomicCoder[Void] {
3838
override def encode(value: Void, outStream: OutputStream): Unit = ()
3939

40-
override def decode(inStream: InputStream): Void = ???
40+
override def decode(inStream: InputStream): Void = null
4141

4242
override def structuralValue(value: Void): AnyRef = AnyRef
4343
}

0 commit comments

Comments
 (0)