Paul Wyatt
07/31/2020, 5:39 PMdatasplit_y
with an argument id_cols
that takes a list of strings. All of the below have failed:
1
datasplit_y:
inputs:
id_cols:
- user_id
- program_day
2
datasplit_y:
inputs:
id_cols:
value:
- user_id
- program_day
3
datasplit_y:
inputs:
id_cols: [user_id, program_day]
4
datasplit_y:
inputs:
id_cols: ['user_id', 'program_day']
5
datasplit_y:
inputs:
id_cols:
value: ['user_id', 'program_day']
6
datasplit_y:
inputs:
id_cols:
value: ['user_id', 'program_day']
7
datasplit_y:
inputs:
id_cols:
value: "['user_id', 'program_day']"
8
datasplit_y:
inputs:
id_cols:
value: "[user_id, program_day]"
Clearly I'm throwing hail-marys at this point. Any advice?alex
07/31/2020, 5:41 PMsolids:
solid_name:
inputs:
input_name:
- value
- value
List
for it to work, you may be running in to issues if you are just using default Any
Paul Wyatt
07/31/2020, 5:46 PMList
. Does it matter that list is from the core library's typing
and not from Dagster?alex
07/31/2020, 5:48 PMPaul Wyatt
07/31/2020, 5:48 PMValue selector for type a path root:solids:datasplit_y:inputs:id_cols[0] must be a dict
and then the same error but with id_cols[1]
Value at path oot:solids:datasplit_y:inputs:id_cols must be a list
alex
07/31/2020, 5:51 PMsolids:
solid_name:
inputs:
input_name: [x, y, z]
solids:
solid_name:
inputs:
input_name:
- value: actual_value
- value: actual_other_value
Paul Wyatt
07/31/2020, 5:53 PMsolids:
solid_name:
inputs:
input_name:
- value: actual_value
- value: actual_other_value
Appears to have worked! Thanks @alexalex
07/31/2020, 5:53 PMvalue
but thats how we distinguish between the direct value vs passing like a file path to go read the value fromPaul Wyatt
07/31/2020, 5:53 PMalex
07/31/2020, 5:54 PMPaul Wyatt
07/31/2020, 5:54 PMalex
07/31/2020, 6:06 PMCagatay K
08/04/2020, 2:17 PM