By using AWS re:Post, you agree to the Terms of Use

An error occurred while calling o95.pyWriteDynamicFrame.


An error occurred while calling o95.pyWriteDynamicFrame. You must resolve all choice types before writing to a SparkSQL DataSink.

asked 8 months ago1097 views
1 Answer

Glue dynamic frames offer choice type. So, if one or more columns in your data have multiple data types, instead of casting them to a generalized type, dynamic frames offer a choice type which have to be resolved before performing any actions.

Please refer resolve_choice for an example of how this works.

answered 8 months ago
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions