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

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new a84e38a  [hotfix][csv] Remove duplicate code
a84e38a is described below

commit a84e38ac59ba88656529fa4431440b7d2210c10b
Author: zhang chaoming <[email protected]>
AuthorDate: Thu Nov 25 23:41:41 2021 +0800

    [hotfix][csv] Remove duplicate code
---
 .../java/org/apache/flink/formats/csv/CsvFileSystemFormatFactory.java  | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvFileSystemFormatFactory.java
 
b/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvFileSystemFormatFactory.java
index 4187c07..5e33966 100644
--- 
a/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvFileSystemFormatFactory.java
+++ 
b/flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvFileSystemFormatFactory.java
@@ -146,9 +146,6 @@ public class CsvFileSystemFormatFactory implements 
FileSystemFormatFactory {
         options.getOptional(ARRAY_ELEMENT_DELIMITER)
                 .ifPresent(csvBuilder::setArrayElementSeparator);
 
-        options.getOptional(ARRAY_ELEMENT_DELIMITER)
-                .ifPresent(csvBuilder::setArrayElementSeparator);
-
         options.getOptional(ESCAPE_CHARACTER)
                 .map(s -> s.charAt(0))
                 .ifPresent(csvBuilder::setEscapeChar);

Reply via email to