1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an