You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Arun Desa <ar...@gmail.com> on 2022/03/01 17:37:03 UTC
Convert record changing field names
I want to convert a csv file to a parquet which has numeric column names
(1,2,3 etc).
I am using *convert record processor* in which I am using a csv-reader as
the reader and inferring the schema and using writer as parquet-writer. I
have observed that nifi replaces my column names with '_' (underscores)
which I believe is to make it avro valid.(AvroTypeUtils.java) But this is
making all my column names '_'.
Is there a way where I can prepend an underscore to column names (_1,_2,_3,
etc) instead of replacing it with underscore ?