Closed khoadaniel closed 5 months ago
@khoadaniel thanks for the report! the alpha version that you are using changes how dlt
handles None
passed to arguments with default values: https://github.com/dlt-hub/dlt/pull/1430#issue-2329339449
we will most probably release the current alpha as a "major" version and together with all the fixes needed in verified sources.
btw. this fix is correct :) I have exactly the same patch ready and since it is backward compatible I'll merge it before the release above
dlt version
0.4.13a0
Source name
sql_database postgres
Describe the problem
When using backend
pyarrow
with thepostgres
source, pipeline.run() failed due to the missing value oftz
argument. This is not convenient for users. I suggest we just go with "UTC" as a default value fortz
.Expected behavior
No error should be thrown. A default value of
tz
should be applied (e.g. "UTC").Steps to reproduce
How you are using the source?
I'm considering using this source in my work, but bug is preventing this.
Operating system
macOS
Runtime environment
Local
Python version
3.9.11
dlt destination
postgres
Additional information
No response