Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed May 8, 2024
1 parent 7858dd8 commit 74503f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/src/main/scala-2/no/nrk/bigquery/BQReadCompat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import magnolia1.{CaseClass, Magnolia}

import org.apache.avro
import org.apache.avro.generic.GenericRecord
import scala.annotation.nowarn

private[bigquery] trait BQReadCompat { self: BQRead.type =>
// magnolia automatic derivation begin
Expand Down Expand Up @@ -50,7 +49,6 @@ private[bigquery] trait BQReadCompat { self: BQRead.type =>
def derived[T]: BQRead[T] = macro Magnolia.gen[T]
// magnolia automatic derivation end

@nowarn("cat=unused")
implicit def convertsTuple[A: BQRead, B: BQRead]: BQRead[(A, B)] =
derived[(A, B)]

Expand Down
2 changes: 0 additions & 2 deletions core/src/main/scala/no/nrk/bigquery/PartitionLoader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import no.nrk.bigquery.syntax.*
import fs2.Stream

import java.time.{Instant, LocalDate, LocalDateTime, YearMonth}
import scala.annotation.nowarn

private[bigquery] object PartitionLoader {
def loadGenericPartitions[F[_]: Concurrent](
Expand Down Expand Up @@ -587,7 +586,6 @@ private[bigquery] object PartitionLoader {
|ORDER BY 1 DESC""".stripMargin
}

@nowarn
def withRowCountFromTableData[P: BQRead](
table: BQTableLike[Unit],
inRange: BQSqlFrag,
Expand Down

0 comments on commit 74503f3

Please sign in to comment.