turcsanyip commented on a change in pull request #4781:
URL: https://github.com/apache/nifi/pull/4781#discussion_r564092023
##########
File path:
nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/ResultSetRecordSet.java
##########
@@ -26,12 +27,12 @@
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Array;
+import java.sql.Date;
Review comment:
It was intentional because it seemed to be a bug.
`ResultSet.getMetaData().getColumnClassName()` would never return
`java.util.Date` but the SQL date/time types.
However, now I see that this code section is related to QueryRecord and it
may use `java.util.Date`. I'll revert it back.
Thanks for the heads up that made me double check it in more detail.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]