Skip to content

Commit

Permalink
handle default case in duckdb BulkImportFlow
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Dec 26, 2024
1 parent e30074b commit d828f57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/dbio/database/database_duckdb_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ func (conn *DuckDbConn) BulkImportFlow(tableFName string, df *iop.Dataflow) (cou
case "csv_files":
return conn.importViaTempCSVs(tableFName, df)
case "http_server":
fallthrough
default:
return conn.importViaHTTP(tableFName, df)
default:
return conn.importViaTempCSVs(tableFName, df)
}
}

Expand Down
4 changes: 2 additions & 2 deletions core/dbio/database/database_duckdb_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ func (conn *DuckDbConn) BulkImportFlow(tableFName string, df *iop.Dataflow) (cou
case "csv_files":
return conn.importViaTempCSVs(tableFName, df)
case "http_server":
fallthrough
default:
return conn.importViaHTTP(tableFName, df)
default:
return conn.importViaTempCSVs(tableFName, df)
}
}

0 comments on commit d828f57

Please sign in to comment.