I am going to convert the result of Nifi ExecuteSQL procecessor and save the result as putparquet into hdfs.
Any suggestion on how to convert avro format (result of executesql) to parquet using putparquet ?
I will use avroreader in putparquet processor, but it requires Schema Registry. could I auto generate the Schema Registry of the result from executesql.?
ExecuteSql processor will result output flowfile with embedded avro schema in it.
So in your PutParquet processor configure the Record Reader as Avro Reader and use the embedded avro schema as Schema access strategy
By using Embedded avro schema you don't have to set up any avro schema registry and this processor will work dynamically based on the embedded avro schema.
View solution in original post