Skip to content

Commit cf692cc

Browse files
authored
Merge pull request #156 from cloudblue/fix_transformations_leading_null_values_in_input_excel
Fix leading null column values
2 parents 8e5691a + a16163e commit cf692cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

connect/eaas/runner/managers/transformation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def read_excel(self, filename, queue, loop):
258258
lookup_columns[col_idx] = col_value.value
259259
continue
260260

261-
row_data = {}
261+
row_data = {col_name: None for col_name in lookup_columns.values()}
262+
262263
for col_idx, col_value in enumerate(row, start=1):
263264
row_data[lookup_columns[col_idx]] = col_value.value
264265
asyncio.run_coroutine_threadsafe(

0 commit comments

Comments
 (0)