kafka-connect-file-pulse icon indicating copy to clipboard operation
kafka-connect-file-pulse copied to clipboard

filters.ParseDelimitedRow.columns

Open GreenplumDB opened this issue 2 years ago • 2 comments

Hello, what I want to ask is about the usage of the columns key under DelimitedRowFilter in Processing Filters. There is no example of this parameter in your document.

GreenplumDB avatar May 05 '22 09:05 GreenplumDB

Hi @GreenplumDB, the columns property can be used for specifying both the name and type of each column. For example, if your row record is "LivingRoom,Temperature,20.0,Celcius" and columnsproperty is setted to sensor:STRING,measurement:STRING, value:DOUBLE,unit:STRING then your parsed record will be :

{
  "sensor": "LivingRoom",
  "measurement": "Temperature",
  "value": 20.0,
  "unit": "Celcius"
}

fhussonnois avatar May 05 '22 15:05 fhussonnois

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 04 '22 02:08 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Nov 02 '22 02:11 github-actions[bot]