BQStructuredSql

no.nrk.bigquery.testing.BQStructuredSql
See theBQStructuredSql companion object
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. 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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy val asFragment: BQSqlFrag

Attributes

Source
BQStructuredSql.scala