Skip to content

Commit

Permalink
Adding log.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Nov 21, 2024
1 parent 0c161d3 commit 307eb53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/bigquery/dialect/typing.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package dialect

import (
"fmt"
"log/slog"
"strings"

"github.com/artie-labs/transfer/lib/config"
Expand Down Expand Up @@ -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)

Check failure on line 38 in clients/bigquery/dialect/typing.go

View workflow job for this annotation

GitHub Actions / test

slog.Info arg "kindDetails.ExtendedDecimalDetails.Precision()" should be a string or a slog.Attr (possible missing key or value)

Check failure on line 38 in clients/bigquery/dialect/typing.go

View workflow job for this annotation

GitHub Actions / test

slog.Info arg "kindDetails.ExtendedDecimalDetails.Precision()" should be a string or a slog.Attr (possible missing key or value)
return kindDetails.ExtendedDecimalDetails.BigQueryKind(settings.BigQueryNumericForVariableNumeric)
}

Expand Down

0 comments on commit 307eb53

Please sign in to comment.