You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/03/31 07:13:46 UTC

[flink] branch release-1.15 updated: [hotfix] Fix CsvRowDataDeserializationSchema constructor

This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.15 by this push:
     new 849b6e3  [hotfix] Fix CsvRowDataDeserializationSchema constructor
849b6e3 is described below

commit 849b6e34131ed1822eacef6c3ce7b96298078e1c
Author: Alexander Fedulov <14...@users.noreply.github.com>
AuthorDate: Mon Mar 28 12:58:37 2022 +0200

    [hotfix] Fix CsvRowDataDeserializationSchema constructor
---
 .../org/apache/flink/formats/csv/CsvRowDataDeserializationSchema.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvRowDataDeserializationSchema.java b/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvRowDataDeserializationSchema.java
index 2d58007..7dfc565 100644
--- a/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvRowDataDeserializationSchema.java
+++ b/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvRowDataDeserializationSchema.java
@@ -72,7 +72,7 @@ public final class CsvRowDataDeserializationSchema implements DeserializationSch
         this.resultTypeInfo = resultTypeInfo;
         this.runtimeConverter =
                 new CsvToRowDataConverters(ignoreParseErrors).createRowConverter(rowType, true);
-        this.csvSchema = CsvRowSchemaConverter.convert(rowType);
+        this.csvSchema = csvSchema;
         this.objectReader = new CsvMapper().readerFor(JsonNode.class).with(csvSchema);
         this.ignoreParseErrors = ignoreParseErrors;
     }