[Python] AWS Glue: Cannot define an array of struct with AWS CDK

Discussão em 'Python' iniciado por Stack, Junho 9, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to create a glue table with a column that maps to an array of struct with a defined schema. Using the aws_glue_alpha experimental construct, definition of an array of struct is possible only via this code syntax

    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?

    Continue reading...

Compartilhe esta Página