Hello, has anyone ran into a NoneType error when u...
# troubleshooting
c
Hello, has anyone ran into a NoneType error when using DDL files to create tables in a Postgres database. However when we do not create the tables with DDLs before running the meltano pipeline, there seems to be no error. Thank you in advance!
@jo_pearson @edward_ryan
a
I'm not following the context regarding DDL files. Sounds like it is possibly a bug in the target postgres loader. "NoneType" generically indicates that where a value was expected, none was available. Could be caused by missing columns or unreadable/unparseable column types and/or primary keys.
It would make some sense that it does not occur without custom DDL, since in that case the target takes full responsibility for creating its own target tables.
c
Thank you @aaronsteers! We will definitely look into the column types and primary keys!
a
Happy to help! And if still nothing pops out as problematic, one option for next step would be to see if you can isolate the issue to one table and one DDL, then posting an issue (along with full log output) to the github repo for that specific target.
(If you do log an issue, please also share a link here so we can review and chime in.)
Good luck!
c
Thank you!