Leon Kozlowski
02/14/2023, 6:28 PMMappingLengthMismatch
with the following traceback
Parameters for map must all be the same length. Got lengths: {'args': 0, 'kwargs': 2}
However, all of the parameters for the task do have the same lengthload
and it takes a parameter called sync
loads = load.map(
sync=[data_usage_per_cycle, sim_status, device_change_history],
expected_start_time=unmapped(expected_start_time)
)
load
contains
(Pdb) data_usage_per_cycle
('schema', 'table1', [{'data': 'here'}])
(Pdb) sim_status
('schema', 'table2', [{'data': 'here'}])
(Pdb) device_change_history
('schema', 'table3', [{'data': 'here'}])
A list of tuplesZanie
02/14/2023, 7:25 PM