postgresql - Including column headers in CSV export from RDS postgres db using AWS Data Pipeline? -
i set aws data pipeline dumps data our rds postgres db s3 location column headers not included. avoid using solution outlined here because seems brittle (if columns change, want avoid casting columns string). in advance
ed. here data pipeline configuration: diagram
i'm not sure how set pipeline (you did not describe it), standard way of including column headers - bare postgresql -
copy (select some,fields any.table order something) stdout (format csv, header on);
it might tricky receive such stream, not di tools support - engine generate in proper csv format.
Comments
Post a Comment