You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

redshift_csv_file

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redshift_csv_file

1.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

redshift_csv_file library

redshift_csv_file is a Redshift-specific CSV file parser in Ruby. Amazon Redshift generates non-standard CSV format, special handling is required.

Usage

require 'redshift_csv_file'

File.open('unloaded_file.csv') {|f|
  RedshiftCsvFile.new(f).each_row do |col1, col2, col3|
    p [col1, col2, col3]   # => ["value1", "value2", "value3"]
  end
}

License

MIT license. See LICENSE file for details.

Author

Minero Aoki

FAQs

Package last updated on 30 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts