I need to insert the result of an SQL query into a Postgres table. For that I use ExecuteSQL("Use Avro Logical Types" true) and PutDatabaseRecord("StatementType" INSERT, "Record Reader" AvroReader) processors. The insert doesn’t work because Nifi converts the date to this number: '1322683200000' and the column in the destination table is of type date.
I suppose I should either add the "UpdateRecord" processor between "ExecuteSQL" and "PutDatabaseRecord" processors or use "Data Record Path" property in the "PutDatabaseRecord" processor. But I can't find an example of configuring the UpdateRecord processor or filling the "Data Record Path" property


