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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -