Column Store
Classes
CSV Namespace Reference

CSV Data Source generator. More...

Classes

class  CSVDataSource
 

Detailed Description

CSV Data Source generator.

This implementation loads the whole CSV file into memory and exposes the data generator interface. As this loads the entire file it is intended for testing only and not for use with large CSV files.

CSV File Format Expectation

First row is the column Header which is comma seperated column names. Second row is the Ttpe Header which is comma seperated data types

CSV Parser Library used - https://github.com/rsylvian/CSVparser

See example CSV file here -

Year,Make,Model
1997,Ford,E350
2000,Mercury,Cougar
ColumnStore::DataType::STRING
@ STRING
ColumnStore::DataType::INT
@ INT