From 307eb539d1c4f260a61ca3e572a9d004b18a3731 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 20 Nov 2024 16:01:26 -0800 Subject: [PATCH] Adding log. --- clients/bigquery/dialect/typing.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/bigquery/dialect/typing.go b/clients/bigquery/dialect/typing.go index e4c087492..ef63b67e3 100644 --- a/clients/bigquery/dialect/typing.go +++ b/clients/bigquery/dialect/typing.go @@ -2,6 +2,7 @@ package dialect import ( "fmt" + "log/slog" "strings" "github.com/artie-labs/transfer/lib/config" @@ -34,6 +35,7 @@ func (BigQueryDialect) DataTypeForKind(kindDetails typing.KindDetails, _ bool, s // We should be using TIMESTAMP since it's an absolute point in time. return "timestamp" case typing.EDecimal.Kind: + slog.Info("####'", kindDetails.ExtendedDecimalDetails.Precision(), kindDetails.ExtendedDecimalDetails.Scale(), "settings", settings.BigQueryNumericForVariableNumeric) return kindDetails.ExtendedDecimalDetails.BigQueryKind(settings.BigQueryNumericForVariableNumeric) }