1 Answer
- Newest
- Most votes
- Most comments
0
dynamicframe0_with_cast = datasource0.resolveChoice(
specs = [("in_reply_to_user_id", "cast:long"),
("user.id", "cast:long"),
("quoted_status.user.id", "cast:long"),
("entities.user_mentions[].id", "cast:long"),
("entities.media[].source_user_id", "cast:long"),
("retweeted_status.user.id", "cast:long"),
("extended_entities.media[].source_user_id", "cast:long")])
When casting embedded collections, "[]" must be used when specifying array types, not ".element" which is in the printSchema output.
answered 5 years ago
Relevant content
- asked 7 years ago
- Accepted Answer
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago