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 6 years ago
Relevant content
- asked 8 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 5 months ago