Skip to content

Commit 0ac7cbf

Browse files
author
Ronan Dunklau
committed
Add float test_type
1 parent 60c0fbe commit 0ac7cbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/multicorn/testfdw.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def _as_generator(self, quals, columns):
6565
[column_name, column_name],
6666
[next(random_thing), '{some value, \\" 2}'],
6767
[index, '%s,"%s"' % (column_name, index)]]
68+
elif self.test_type == 'float':
69+
line[column_name] = 1. / float(next(random_thing))
6870
else:
6971
line[column_name] = '%s %s %s' % (column_name,
7072
next(random_thing),

0 commit comments

Comments
 (0)