Skip to content

Commit 1a7dc54

Browse files
authored
Use default value if missing (#89)
1 parent 4a8e96c commit 1a7dc54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/athena/driver/rows.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ type Rows struct {
1818

1919
func NewRows(ctx context.Context, athenaAPI athenaiface.AthenaAPI, queryID string) (*Rows, error) {
2020
config := drv.NewNoOpsConfig()
21+
config.SetMissingAsEmptyString(false)
22+
config.SetMissingAsDefault(true)
2123
tracer := drv.NewNoOpsObservability()
2224
rows, err := drv.NewRows(ctx, athenaAPI, queryID, config, tracer)
2325
if err != nil {

0 commit comments

Comments
 (0)