How to add a new line into the comment of Glue Table Schema using Pyspark?

Viewed 10

I tried with \\n, but it didn't worked, so I think with another reserved word could work, but I can not find the good one.

table_config = [
    {
        'dbName': f'gomez_datalake_{env}_{team}_{dataset}_db',
        'table': 'ConFac',
        'partitionKey': 'DL_PERIODO',
        'schema': [
            ['TIPO_DE_VALOR', 'STRING', 2, None,
             "CÓDIGO DEL PARÁMETRO DE SISTEMA."
             "EJEMPLOS:"
             "UF:  VALOR DE LA UF"
             "IP:  VALOR DEL IPC"
             "MO:  MONEDA"
             "IV:   VALOR DEL VA"
             "UT:  VALOR DEL UTM"],
            ['ORIGEN', 'STRING', 4, None, "IDENTIFICADOR DE USUARIO"]
        ]
0 Answers
Related