Skip to content

Commit

Permalink
[FLINK-4092] [py] Fix Stringify function's implicit string type conve…
Browse files Browse the repository at this point in the history
…rsion problem

This closes apache#2130
  • Loading branch information
Shahin authored and zentol committed Jun 22, 2016
1 parent 7e206f4 commit e04239d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
class Stringify(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)

Expand Down

0 comments on commit e04239d

Please sign in to comment.