The CSV protocol handler parses delimiter separated text lines.

Options

Example

PQL

input = ACCESS({source='CSV', wrapper='GenericPush',
transport='File',protocol='CSV',
  dataHandler='Tuple',options=[['delimiter',','],['textDelimiter',"'"],['readfirstline','true'],['delay','100']],
  schema=[
    ['symbol','String'],
    ['points','Double'] ]
})

CQL

CREATE STREAM csv (symbol String, points Double)   
    WRAPPER 'GenericPush'
    PROTOCOL 'CSV'
    TRANSPORT 'File'
    DATAHANDLER 'Tuple'
    OPTIONS ( delimiter' ',', 'textDelimiter' "'", 'readfirstline' 'true', 'delay' '100')