From 7ee72fc063ca662c3aaa9364a3c28590565b0f48 Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Thu, 19 Oct 2023 23:28:20 +0900 Subject: [PATCH] fix warning. add explicit type (#353) --- .../src/main/scala/scalapb/spark/TypedEncoders.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sparksql-scalapb/src/main/scala/scalapb/spark/TypedEncoders.scala b/sparksql-scalapb/src/main/scala/scalapb/spark/TypedEncoders.scala index 2308441..2ec0564 100644 --- a/sparksql-scalapb/src/main/scala/scalapb/spark/TypedEncoders.scala +++ b/sparksql-scalapb/src/main/scala/scalapb/spark/TypedEncoders.scala @@ -110,7 +110,8 @@ trait Implicits { ct: ClassTag[T] ): TypedEncoder[T] = new typedEncoders.EnumTypedEncoder[T] - implicit def byteStringTypedEncoder = typedEncoders.ByteStringTypedEncoder + implicit def byteStringTypedEncoder: TypedEncoder[ByteString] = + typedEncoders.ByteStringTypedEncoder implicit def typedEncoderToEncoder[T: ClassTag](implicit ev: TypedEncoder[T]