dimitri / pgloader

Migrate to PostgreSQL in a single command!
http://pgloader.io
Other
5.45k stars 548 forks source link

How to access previous row? #1441

Closed infojunkie closed 1 year ago

infojunkie commented 2 years ago

I have CSVs where some columns are left blank, and are assumed to hold the value of the previous row.

I can write a transformation function to populate these columns, but I need the value of the previous input or output row, to read from. Is that a possibility from within the #:pgloader.transforms package?