Skip to content

Commit

Permalink
fixup! Support Snowflake (spotify#5500)
Browse files Browse the repository at this point in the history
  • Loading branch information
turb committed Nov 13, 2024
1 parent 8b0da46 commit b6c8906
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ object SnowflakeIO {
.withRole(connectionOptions.role)
.withWarehouse(connectionOptions.warehouse)
)
.pipe(ds => connectionOptions.schema.map(schema => ds.withSchema(schema)).getOrElse(ds))
.pipe(ds => connectionOptions.schema.fold(ds)(ds.withSchema))

private[snowflake] def buildCsvMapper[T](rowDecoder: RowDecoder[T]): CsvMapper[T] =
new CsvMapper[T] {
Expand Down

0 comments on commit b6c8906

Please sign in to comment.