Skip to content

Commit 3820e99

Browse files
Merlin Rabensmerlinrabens
authored andcommitted
#2309 Remove default implementation for serialize
Signed-off-by: Merlin Rabens <merlin.rabens@intenthq.com>
1 parent a26cc7a commit 3820e99

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
package com.intenthq.hybrid.integrationsV2
22

3-
import java.nio.charset.StandardCharsets
4-
53
import cats.effect._
64
import com.intenthq.hybrid.integrations.{JavaLegacyTimeMeta, TimeMeta}
75
import doobie.util.transactor.{Strategy, Transactor}
86

97
import scala.util.Properties
108

11-
abstract class HiveSource[O] extends Processor with SQLSource[O] with Aggregations[O] with TimeMeta with JavaLegacyTimeMeta {
9+
abstract class HiveSource[O] extends SQLSource[O] with Aggregations[O] with TimeMeta with JavaLegacyTimeMeta {
1210

1311
override protected val driver: String = "org.apache.hive.jdbc.HiveDriver"
1412

1513
override val jdbcUrl: String = Properties.envOrElse("HIVE_JDBC_URL", "jdbc:hive2://localhost:10000")
1614

1715
override protected lazy val transactor: Transactor[IO] = Transactor.strategy.set(createTransactor, Strategy.void)
1816

19-
override def serialize(o2: (String, Long)): Array[Byte] = s"${o2._1},${o2._2}\n".getBytes(StandardCharsets.UTF_8)
20-
17+
override def serialize(o2: (String, Long)): Array[Byte]
2118
}

0 commit comments

Comments
 (0)