1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hello there Jess, It is possible to do this using the AWS Glue construct:
https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-glue-alpha.Table.html
A quick example would be:
declare const myDatabase: glue.Database; new glue.Table(this, 'MyTable', { database: myDatabase, tableName: 'my_table', columns: [{ name: 'col1', type: glue.Schema.STRING, }], partitionKeys: [{ name: 'year', type: glue.Schema.SMALL_INT, }, { name: 'month', type: glue.Schema.SMALL_INT, }], dataFormat: glue.DataFormat.JSON, enablePartitionFiltering: true, });
https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-glue-alpha.Table.html
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año