-
I'm trying to create a glue table with a column that maps to an array of struct with a defined schema. Using the glue.Schema.array(
input_string='struct',
is_primitive=False,
) I want to do something like glue.Schema.array(
glue.Schema.struct(
columns=[...]
)
) How can I achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I found it. I just need to declare the struct in a variable and pass it as |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I found it. I just need to declare the struct in a variable and pass it as
input_string=variable.input_string
to array definition. IMO the docs should be clearer