dawidwys commented on a change in pull request #7777:  [FLINK-9964][table] Add 
a full RFC-compliant CSV table format factory
URL: https://github.com/apache/flink/pull/7777#discussion_r258944112
 
 

 ##########
 File path: 
flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvRowSerializationSchema.java
 ##########
 @@ -169,10 +194,7 @@ public int hashCode() {
 
        // 
--------------------------------------------------------------------------------------------
 
-       private void convertRow(ObjectNode reuse, Row row, RowTypeInfo 
rowTypeInfo) {
-               if (reuse == null) {
-                       reuse = csvMapper.createObjectNode();
-               }
+       private void convertNestedRow(ObjectNode reuse, Row row, RowTypeInfo 
rowTypeInfo) {
 
 Review comment:
   Shouldn't this be just `convertRow`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to