You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2021/11/25 15:42:12 UTC
[flink] branch master updated: [hotfix][csv] Remove duplicate code
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 <72...@users.noreply.github.com>
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);