PrecisionReduced

data class PrecisionReduced(val column: String, val row: Int?, val unit: String) : ConvertingMismatch

A date-time value did not fit the target field's precision and its trailing digits were dropped — for example a nanosecond instant saved into a Timestamp(MICROSECOND, …) field.

Reported once per column, for the first row where it happens. Supply a target Schema with a finer time unit to avoid it.

Constructors

Link copied to clipboard
constructor(column: String, row: Int?, unit: String)

Properties

Link copied to clipboard
open val cause: Exception?

Original exception, if any

Link copied to clipboard
open override val column: String

Name of the column with the mismatch

Link copied to clipboard
open override val row: Int?

Number of the first row with a mismatch (0-based), if defined

Link copied to clipboard

Arrow time unit the value was written with, e.g. "MICROSECOND".

Functions

Link copied to clipboard
open override fun toString(): String