object BigDiffy extends Command with Serializable
Big diff between two data sets given a primary key.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BigDiffy
- Serializable
- Command
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class DeltaBigQuery(field: String, left: String, right: String, delta: DeltaValueBigQuery) extends Product with Serializable
- type DeltaSCollection = SCollection[(MultiKey, (Seq[Delta], DiffType.Value))]
- case class DeltaStatsBigQuery(deltaType: String, min: Double, max: Double, count: Long, mean: Double, variance: Double, stddev: Double, skewness: Double, kurtosis: Double) extends Product with Serializable
- case class DeltaValueBigQuery(deltaType: String, deltaValue: Option[Double]) extends Product with Serializable
- case class FieldStatsBigQuery(field: String @com.spotify.scio.bigquery.types.BigQueryTag, count: Long @com.spotify.scio.bigquery.types.BigQueryTag, fraction: Double @com.spotify.scio.bigquery.types.BigQueryTag, deltaStats: Option[DeltaStatsBigQuery]) extends HasAnnotation with Product with Serializable
- Annotations
- @BigQueryTag()
- case class GlobalStatsBigQuery(numTotal: Long @com.spotify.scio.bigquery.types.BigQueryTag, numSame: Long @com.spotify.scio.bigquery.types.BigQueryTag, numDiff: Long @com.spotify.scio.bigquery.types.BigQueryTag, numMissingLhs: Long @com.spotify.scio.bigquery.types.BigQueryTag, numMissingRhs: Long @com.spotify.scio.bigquery.types.BigQueryTag) extends HasAnnotation with Product with Serializable
- Annotations
- @BigQueryTag()
- case class KeyStatsBigQuery(key: String @com.spotify.scio.bigquery.types.BigQueryTag, diffType: String @com.spotify.scio.bigquery.types.BigQueryTag, delta: Option[DeltaBigQuery]) extends HasAnnotation with Product with Serializable
- Annotations
- @BigQueryTag()
- implicit class TextFileHeader extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val command: String
- Definition Classes
- BigDiffy → Command
- def diff[T](lhs: SCollection[T], rhs: SCollection[T], d: Diffy[T], keyFn: (T) => MultiKey, ignoreNan: Boolean = false)(implicit arg0: ClassTag[T], arg1: Coder[T]): BigDiffy[T]
Diff two data sets.
- def diffAvro[T <: SpecificRecordBase](sc: ScioContext, lhs: String, rhs: String, keyFn: (T) => MultiKey, diffy: AvroDiffy[T], ignoreNan: Boolean = false)(implicit arg0: ClassTag[T], arg1: Coder[T]): BigDiffy[T]
Diff two Avro data sets.
- def diffParquet(sc: ScioContext, lhs: String, rhs: String, keyFn: (GenericRecord) => MultiKey, diffy: AvroDiffy[GenericRecord]): BigDiffy[GenericRecord]
Diff two Parquet data sets.
Diff two Parquet data sets. Note that both typed-parquet and avro-parquet inputs are supported. However, in either case the diff will be written in Parquet format as Avro GenericRecords.
- def diffProtoBuf[T <: AbstractMessage](sc: ScioContext, lhs: String, rhs: String, keyFn: (T) => MultiKey, diffy: ProtoBufDiffy[T])(implicit arg0: ClassTag[T]): BigDiffy[T]
Diff two ProtoBuf data sets.
- def diffTableRow(sc: ScioContext, lhs: String, rhs: String, rowRestriction: Option[String], keyFn: (TableRow) => MultiKey, diffy: TableRowDiffy, ignoreNan: Boolean = false): BigDiffy[TableRow]
Diff two TableRow data sets.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def main(cmdlineArgs: Array[String]): Unit
for easier running via sbt
- def mergeTableSchema(x: TableSchema, y: TableSchema): TableSchema
Merge two BigQuery TableSchemas.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pathWithShards(path: String): String
- def run(cmdlineArgs: Array[String]): Unit
Scio pipeline for BigDiffy.
- def saveStats[T](bigDiffy: BigDiffy[T], output: String, withHeader: Boolean = false, outputMode: OutputMode = GCS): Unit
saves stats to either GCS as text, or BigQuery
- def stripQuoteWrap(input: String): String
Remove quotes wrapping string argument.
Remove quotes wrapping string argument. *
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object FieldStatsBigQuery extends HasSchema[FieldStatsBigQuery] with (String, Long, Double, Option[DeltaStatsBigQuery]) => FieldStatsBigQuery with Serializable
- object GlobalStatsBigQuery extends HasSchema[GlobalStatsBigQuery] with (Long, Long, Long, Long, Long) => GlobalStatsBigQuery with Serializable
- object KeyStatsBigQuery extends HasSchema[KeyStatsBigQuery] with (String, String, Option[DeltaBigQuery]) => KeyStatsBigQuery with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated