no.nrk.bigquery.testing

Members list

Type members

Classlikes

abstract class BQSmokeTest(testClient: Resource[IO, BigQueryClient[IO]]) extends CatsEffectSuite, GeneratedTest

Attributes

Companion
object
Source
BQSmokeTest.scala
Supertypes
class CatsEffectSuite
trait CatsEffectFunFixtures
trait CatsEffectFixtures
trait CatsEffectFixturesPlatform
trait CatsEffectAssertions
class FunSuite
trait ValueTransforms
trait SuiteTransforms
trait TestTransforms
trait TestOptionsConversions
trait FunFixtures
trait Assertions
trait CompileErrorMacro
class Suite
trait PlatformSuite
class Object
trait Matchable
class Any
Show all
Self type
object BQSmokeTest

Attributes

Companion
class
Source
BQSmokeTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class BQStructuredSql(udfs: List[UserDefinedFunction], ctes: CTEList, query: BQSqlFrag, queryType: String)

We need to insert functions and CTEs into a query which might already have them.

We need to insert functions and CTEs into a query which might already have them. In order to produce legal SQL we don't really have any option other than to look into the provided SQL a bit

This whole thing should preferably be replaced by something which can *actually* parse SQL

Attributes

Companion
object
Source
BQStructuredSql.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
BQStructuredSql.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class BQUdfSmokeTest(testClient: Resource[IO, BigQueryClient[IO]]) extends CatsEffectSuite

Attributes

Companion
object
Source
BQUdfSmokeTest.scala
Supertypes
class CatsEffectSuite
trait CatsEffectFunFixtures
trait CatsEffectFixtures
trait CatsEffectFixturesPlatform
trait CatsEffectAssertions
class FunSuite
trait ValueTransforms
trait SuiteTransforms
trait TestTransforms
trait TestOptionsConversions
trait FunFixtures
trait Assertions
trait CompileErrorMacro
class Suite
trait PlatformSuite
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
BQUdfSmokeTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
BigQueryTestClient.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class CTE(name: Ident, body: BQSqlFrag)

Attributes

Source
CTE.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CTEList(value: List[CTE], recursive: Boolean)

Attributes

Source
CTE.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
GeneratedTest.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ExampleQueries.type
object Queries.type
object StaticQueries.type
class BQSmokeTest
object udf-results.type
object TestTags

Attributes

Source
TestTags.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TestTags.type

Value members

Concrete methods

def tempTable(partitionId: BQPartitionId[Any]): Ident

Attributes

Source
package.scala

Implicits

Implicits

implicit lazy val decodeField: Decoder[BQField]

Attributes

Source
package.scala
implicit val decodeSchema: Decoder[BQSchema]

Attributes

Source
package.scala
implicit lazy val encodeField: Encoder[BQField]

Attributes

Source
package.scala
implicit val encodeSchema: Encoder[BQSchema]

Attributes

Source
package.scala
implicit val encoderIdent: Encoder[Ident]

Attributes

Source
package.scala