flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [2/4] flink git commit: [FLINK-4805] [py] Fix implicit type conversion in CsvStringify
Date Fri, 21 Oct 2016 09:03:46 GMT
[FLINK-4805] [py] Fix implicit type conversion in CsvStringify


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/2ece925c
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/2ece925c
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/2ece925c

Branch: refs/heads/master
Commit: 2ece925c49a62987d547c3441150d9e13bec4d16
Parents: af96c07
Author: zentol <chesnay@apache.org>
Authored: Wed Oct 12 12:05:24 2016 +0200
Committer: zentol <chesnay@apache.org>
Committed: Fri Oct 21 11:03:03 2016 +0200

----------------------------------------------------------------------
 .../main/python/org/apache/flink/python/api/flink/plan/DataSet.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/2ece925c/flink-libraries/flink-python/src/main/python/org/apache/flink/python/api/flink/plan/DataSet.py
----------------------------------------------------------------------
diff --git a/flink-libraries/flink-python/src/main/python/org/apache/flink/python/api/flink/plan/DataSet.py
b/flink-libraries/flink-python/src/main/python/org/apache/flink/python/api/flink/plan/DataSet.py
index 488bcb8..0463ccc 100644
--- a/flink-libraries/flink-python/src/main/python/org/apache/flink/python/api/flink/plan/DataSet.py
+++ b/flink-libraries/flink-python/src/main/python/org/apache/flink/python/api/flink/plan/DataSet.py
@@ -51,7 +51,7 @@ class CsvStringify(MapFunction):
 
     def _map(self, value):
         if isinstance(value, (tuple, list)):
-            return "(" + b", ".join([self._map(x) for x in value]) + ")"
+            return "(" + ", ".join([self._map(x) for x in value]) + ")"
         else:
             return str(value)
 


Mime
View raw message