@aws-cdk/aws-glue-alpha 2.31.1-alpha.0 → 2.32.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +49 -30
- package/.jsii.tabl.json +174 -101
- package/README.md +25 -0
- package/lib/code.js +3 -3
- package/lib/connection.js +2 -2
- package/lib/data-format.js +5 -5
- package/lib/database.js +1 -1
- package/lib/job-executable.js +3 -3
- package/lib/job.js +2 -2
- package/lib/schema.js +1 -1
- package/lib/security-configuration.js +1 -1
- package/lib/table.d.ts +8 -0
- package/lib/table.js +5 -4
- package/package.json +7 -7
package/.jsii.tabl.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"281": 6,
|
|
70
70
|
"290": 1
|
|
71
71
|
},
|
|
72
|
-
"fqnsFingerprint": "
|
|
72
|
+
"fqnsFingerprint": "5bab4755fa285cb580596f4685ddfac4fd0c50a39ecbced03de5a6db5e6f87b9"
|
|
73
73
|
},
|
|
74
74
|
"52d8f72218212ecafb83bf5adb08b8c7d1c9bac1835e26008f6cd1455bf507c2": {
|
|
75
75
|
"translations": {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"226": 1,
|
|
132
132
|
"281": 5
|
|
133
133
|
},
|
|
134
|
-
"fqnsFingerprint": "
|
|
134
|
+
"fqnsFingerprint": "0dd4c0c5c68b689f5e9089fb44b02650f671c19275bc066c151e0894bbcd1bbd"
|
|
135
135
|
},
|
|
136
136
|
"315ff1895769be8ecf1e09dcf4f53d5678c1277852bfc3d17dd878119198744a": {
|
|
137
137
|
"translations": {
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"281": 5,
|
|
202
202
|
"290": 1
|
|
203
203
|
},
|
|
204
|
-
"fqnsFingerprint": "
|
|
204
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
205
205
|
},
|
|
206
206
|
"c1935880a967906ea9c12cbe71c18267c58f458c685361b267c6c1a1b80044ec": {
|
|
207
207
|
"translations": {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"282": 1,
|
|
266
266
|
"290": 1
|
|
267
267
|
},
|
|
268
|
-
"fqnsFingerprint": "
|
|
268
|
+
"fqnsFingerprint": "f82e3c2d1568e54e93b73b26de368a01a2731cffbcec560721558f9615d89887"
|
|
269
269
|
},
|
|
270
270
|
"ef204a1a1235566e396f1ffea0a46b1117af25a01acabd8c7c67f292fa61abc0": {
|
|
271
271
|
"translations": {
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
"226": 1,
|
|
327
327
|
"281": 7
|
|
328
328
|
},
|
|
329
|
-
"fqnsFingerprint": "
|
|
329
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
330
330
|
},
|
|
331
331
|
"c3d64416750a52a9c314ca2dbd149c74e2b09e589effebe8e40bb0c1f6345ecc": {
|
|
332
332
|
"translations": {
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
"281": 4,
|
|
390
390
|
"290": 1
|
|
391
391
|
},
|
|
392
|
-
"fqnsFingerprint": "
|
|
392
|
+
"fqnsFingerprint": "90e162368269100283a060da7a9c400956fbc84063e4ae0d14fb4e674710140d"
|
|
393
393
|
},
|
|
394
394
|
"8bef7e198448a674159b525da392ac9b84bc32cc34cc06373fc37dc3312efaf5": {
|
|
395
395
|
"translations": {
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
"226": 1,
|
|
442
442
|
"281": 1
|
|
443
443
|
},
|
|
444
|
-
"fqnsFingerprint": "
|
|
444
|
+
"fqnsFingerprint": "ce06e470da9088bbd142598db762dcbb6f4c3e7b5b5496360352581a713ab39a"
|
|
445
445
|
},
|
|
446
446
|
"29dce1a9c819135fecb5e9e6bb2e360c6e5c9e3c2d41e640a7c0581bbb1d3017": {
|
|
447
447
|
"translations": {
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
"281": 9,
|
|
510
510
|
"290": 1
|
|
511
511
|
},
|
|
512
|
-
"fqnsFingerprint": "
|
|
512
|
+
"fqnsFingerprint": "035f4c581bf248238845ae0fc2655b007c54e17aec5d48f9edfcf62c8f6c252d"
|
|
513
513
|
},
|
|
514
514
|
"48dbd3d1c174f209d2eeaf76fc65341fe9063494d3ecbf5d345f547ee1b64502": {
|
|
515
515
|
"translations": {
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
"281": 8,
|
|
577
577
|
"290": 1
|
|
578
578
|
},
|
|
579
|
-
"fqnsFingerprint": "
|
|
579
|
+
"fqnsFingerprint": "675e40063ff6070d2569db5c9c97242cb431ecf467de72a113a75774329b3d14"
|
|
580
580
|
},
|
|
581
581
|
"6f8305c4eac5dd7922f1d9957ed53b6029647282e7acc253a6a045a8d4c4a202": {
|
|
582
582
|
"translations": {
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
"281": 11,
|
|
644
644
|
"290": 1
|
|
645
645
|
},
|
|
646
|
-
"fqnsFingerprint": "
|
|
646
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
647
647
|
},
|
|
648
648
|
"0b301a07c6b9b33d8c51f6a28e0f51c77fd8060fb871a0bfc0a7c0c7bacf3c33": {
|
|
649
649
|
"translations": {
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
"281": 14,
|
|
711
711
|
"290": 1
|
|
712
712
|
},
|
|
713
|
-
"fqnsFingerprint": "
|
|
713
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
714
714
|
},
|
|
715
715
|
"5793f08903a3c1e754b47f167920b7855031a92ae42242712e58982a10f732f8": {
|
|
716
716
|
"translations": {
|
|
@@ -770,6 +770,74 @@
|
|
|
770
770
|
},
|
|
771
771
|
"fqnsFingerprint": "a0d3c72dce39fda589550323b519f24bfde6c55508df37f54038c751c7dc6dad"
|
|
772
772
|
},
|
|
773
|
+
"af23e00a95c0d120deba7cc23d0bafdfe1d8e0512183f5e80a549cd5c00e0ad3": {
|
|
774
|
+
"translations": {
|
|
775
|
+
"python": {
|
|
776
|
+
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON,\n enable_partition_filtering=True\n)",
|
|
777
|
+
"version": "2"
|
|
778
|
+
},
|
|
779
|
+
"csharp": {
|
|
780
|
+
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON,\n EnablePartitionFiltering = true\n});",
|
|
781
|
+
"version": "1"
|
|
782
|
+
},
|
|
783
|
+
"java": {
|
|
784
|
+
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .enablePartitionFiltering(true)\n .build();",
|
|
785
|
+
"version": "1"
|
|
786
|
+
},
|
|
787
|
+
"go": {
|
|
788
|
+
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
|
|
789
|
+
"version": "1"
|
|
790
|
+
},
|
|
791
|
+
"$": {
|
|
792
|
+
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});",
|
|
793
|
+
"version": "0"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"location": {
|
|
797
|
+
"api": {
|
|
798
|
+
"api": "moduleReadme",
|
|
799
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
800
|
+
},
|
|
801
|
+
"field": {
|
|
802
|
+
"field": "markdown",
|
|
803
|
+
"line": 265
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
"didCompile": true,
|
|
807
|
+
"fqnsReferenced": [
|
|
808
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
809
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
810
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
811
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
812
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
813
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
814
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
815
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
816
|
+
"@aws-cdk/aws-glue-alpha.Type",
|
|
817
|
+
"constructs.Construct"
|
|
818
|
+
],
|
|
819
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
820
|
+
"syntaxKindCounter": {
|
|
821
|
+
"10": 5,
|
|
822
|
+
"75": 30,
|
|
823
|
+
"104": 1,
|
|
824
|
+
"106": 1,
|
|
825
|
+
"130": 1,
|
|
826
|
+
"153": 1,
|
|
827
|
+
"169": 1,
|
|
828
|
+
"192": 2,
|
|
829
|
+
"193": 4,
|
|
830
|
+
"194": 9,
|
|
831
|
+
"197": 1,
|
|
832
|
+
"225": 1,
|
|
833
|
+
"226": 1,
|
|
834
|
+
"242": 1,
|
|
835
|
+
"243": 1,
|
|
836
|
+
"281": 12,
|
|
837
|
+
"290": 1
|
|
838
|
+
},
|
|
839
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
840
|
+
},
|
|
773
841
|
"1bf74f01c28cd1c12bfe4e509c382e9a91c8a523c72ddd76f2beb7a886917767": {
|
|
774
842
|
"translations": {
|
|
775
843
|
"python": {
|
|
@@ -800,7 +868,7 @@
|
|
|
800
868
|
},
|
|
801
869
|
"field": {
|
|
802
870
|
"field": "markdown",
|
|
803
|
-
"line":
|
|
871
|
+
"line": 293
|
|
804
872
|
}
|
|
805
873
|
},
|
|
806
874
|
"didCompile": true,
|
|
@@ -836,7 +904,7 @@
|
|
|
836
904
|
"281": 7,
|
|
837
905
|
"290": 1
|
|
838
906
|
},
|
|
839
|
-
"fqnsFingerprint": "
|
|
907
|
+
"fqnsFingerprint": "d9dd581c071a4e940ce6f1c3c0d924c95cfd91594c92988716ace973eeca5d53"
|
|
840
908
|
},
|
|
841
909
|
"55f3bda73e5d126d6982c01fe60e24b137f62f7503c71a26b574f77af03154da": {
|
|
842
910
|
"translations": {
|
|
@@ -868,7 +936,7 @@
|
|
|
868
936
|
},
|
|
869
937
|
"field": {
|
|
870
938
|
"field": "markdown",
|
|
871
|
-
"line":
|
|
939
|
+
"line": 310
|
|
872
940
|
}
|
|
873
941
|
},
|
|
874
942
|
"didCompile": true,
|
|
@@ -906,7 +974,7 @@
|
|
|
906
974
|
"281": 15,
|
|
907
975
|
"290": 1
|
|
908
976
|
},
|
|
909
|
-
"fqnsFingerprint": "
|
|
977
|
+
"fqnsFingerprint": "3384dbaa00943ee6938950b33d7ebd710bd82be11efffa444c4fc219e6cf8505"
|
|
910
978
|
},
|
|
911
979
|
"947cf227f2fe24990b73fa480fc791123e6d55a26e62236512474a508394481e": {
|
|
912
980
|
"translations": {
|
|
@@ -938,7 +1006,7 @@
|
|
|
938
1006
|
},
|
|
939
1007
|
"field": {
|
|
940
1008
|
"field": "markdown",
|
|
941
|
-
"line":
|
|
1009
|
+
"line": 342
|
|
942
1010
|
}
|
|
943
1011
|
},
|
|
944
1012
|
"didCompile": true,
|
|
@@ -974,7 +1042,7 @@
|
|
|
974
1042
|
"281": 7,
|
|
975
1043
|
"290": 1
|
|
976
1044
|
},
|
|
977
|
-
"fqnsFingerprint": "
|
|
1045
|
+
"fqnsFingerprint": "18af371e641d1aa2cfc75fb6a124a931e38c198f18479b70253e155d37a28b17"
|
|
978
1046
|
},
|
|
979
1047
|
"cafa3c798318567d0667513b707a7d24a2d9a7d6b6904a908056835d3471d193": {
|
|
980
1048
|
"translations": {
|
|
@@ -1006,7 +1074,7 @@
|
|
|
1006
1074
|
},
|
|
1007
1075
|
"field": {
|
|
1008
1076
|
"field": "markdown",
|
|
1009
|
-
"line":
|
|
1077
|
+
"line": 359
|
|
1010
1078
|
}
|
|
1011
1079
|
},
|
|
1012
1080
|
"didCompile": true,
|
|
@@ -1044,7 +1112,7 @@
|
|
|
1044
1112
|
"281": 15,
|
|
1045
1113
|
"290": 1
|
|
1046
1114
|
},
|
|
1047
|
-
"fqnsFingerprint": "
|
|
1115
|
+
"fqnsFingerprint": "fb73daeee63ae91c416539b05ce19668284697866ec74ab1fe0671bb925bd3d3"
|
|
1048
1116
|
},
|
|
1049
1117
|
"f3bfc13f54c3ca5976a421d26282d95b14f4d31af0a1271ad09fcbd84418d7ab": {
|
|
1050
1118
|
"translations": {
|
|
@@ -1076,7 +1144,7 @@
|
|
|
1076
1144
|
},
|
|
1077
1145
|
"field": {
|
|
1078
1146
|
"field": "markdown",
|
|
1079
|
-
"line":
|
|
1147
|
+
"line": 395
|
|
1080
1148
|
}
|
|
1081
1149
|
},
|
|
1082
1150
|
"didCompile": true,
|
|
@@ -1117,7 +1185,7 @@
|
|
|
1117
1185
|
"281": 18,
|
|
1118
1186
|
"290": 1
|
|
1119
1187
|
},
|
|
1120
|
-
"fqnsFingerprint": "
|
|
1188
|
+
"fqnsFingerprint": "b91e77a03852ba35bd27750053b39e99d74772680b5e09548e48144da8f46a0c"
|
|
1121
1189
|
},
|
|
1122
1190
|
"57bc37024db9365130a13056a4776b245c6b3a838967c35cf75650d482504271": {
|
|
1123
1191
|
"translations": {
|
|
@@ -1303,7 +1371,7 @@
|
|
|
1303
1371
|
"226": 1,
|
|
1304
1372
|
"281": 7
|
|
1305
1373
|
},
|
|
1306
|
-
"fqnsFingerprint": "
|
|
1374
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
1307
1375
|
},
|
|
1308
1376
|
"0cad66ee90d643cdd032cf30162c3727eedf459df0159667900ab70fce7bc90f": {
|
|
1309
1377
|
"translations": {
|
|
@@ -1363,7 +1431,7 @@
|
|
|
1363
1431
|
"226": 1,
|
|
1364
1432
|
"281": 7
|
|
1365
1433
|
},
|
|
1366
|
-
"fqnsFingerprint": "
|
|
1434
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
1367
1435
|
},
|
|
1368
1436
|
"c8bdb8eb83b09b07d8f4825a7f34b32030d3c0ef3927f5278545ea1dd08a499e": {
|
|
1369
1437
|
"translations": {
|
|
@@ -1432,7 +1500,7 @@
|
|
|
1432
1500
|
"281": 5,
|
|
1433
1501
|
"290": 1
|
|
1434
1502
|
},
|
|
1435
|
-
"fqnsFingerprint": "
|
|
1503
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
1436
1504
|
},
|
|
1437
1505
|
"1497b3430cbccaf711f63747a1e5fac29c91af95451ebd10feb036af8382c928": {
|
|
1438
1506
|
"translations": {
|
|
@@ -1606,7 +1674,7 @@
|
|
|
1606
1674
|
"282": 1,
|
|
1607
1675
|
"290": 1
|
|
1608
1676
|
},
|
|
1609
|
-
"fqnsFingerprint": "
|
|
1677
|
+
"fqnsFingerprint": "f82e3c2d1568e54e93b73b26de368a01a2731cffbcec560721558f9615d89887"
|
|
1610
1678
|
},
|
|
1611
1679
|
"3fe018930d11961318b2a81c5f1864b3da3f5601c52ecc614371241e861ab42f": {
|
|
1612
1680
|
"translations": {
|
|
@@ -1665,7 +1733,7 @@
|
|
|
1665
1733
|
"281": 7,
|
|
1666
1734
|
"290": 1
|
|
1667
1735
|
},
|
|
1668
|
-
"fqnsFingerprint": "
|
|
1736
|
+
"fqnsFingerprint": "3fbd83a9ab998e4cece4912c237b08d5dbe6bcb485f165692ed92ba1eddeb2c8"
|
|
1669
1737
|
},
|
|
1670
1738
|
"e1211ab39ed6fec79bd323ca5274000fcabdc176129cb4f9779ce2ff3b43ae51": {
|
|
1671
1739
|
"translations": {
|
|
@@ -1728,7 +1796,7 @@
|
|
|
1728
1796
|
"282": 1,
|
|
1729
1797
|
"290": 1
|
|
1730
1798
|
},
|
|
1731
|
-
"fqnsFingerprint": "
|
|
1799
|
+
"fqnsFingerprint": "f82e3c2d1568e54e93b73b26de368a01a2731cffbcec560721558f9615d89887"
|
|
1732
1800
|
},
|
|
1733
1801
|
"c3acda6afb130f5dc8c4d42c2078db37e2f2bc178bbe7ae224f1f3fac68bb300": {
|
|
1734
1802
|
"translations": {
|
|
@@ -1791,7 +1859,7 @@
|
|
|
1791
1859
|
"282": 1,
|
|
1792
1860
|
"290": 1
|
|
1793
1861
|
},
|
|
1794
|
-
"fqnsFingerprint": "
|
|
1862
|
+
"fqnsFingerprint": "f82e3c2d1568e54e93b73b26de368a01a2731cffbcec560721558f9615d89887"
|
|
1795
1863
|
},
|
|
1796
1864
|
"89ab7513aedb510cbf6bdf12d311bf615f341be96883069e9dbf80dab7a71fdf": {
|
|
1797
1865
|
"translations": {
|
|
@@ -1850,28 +1918,28 @@
|
|
|
1850
1918
|
"281": 5,
|
|
1851
1919
|
"290": 1
|
|
1852
1920
|
},
|
|
1853
|
-
"fqnsFingerprint": "
|
|
1921
|
+
"fqnsFingerprint": "75b024fea3183c90502ff1bd9cf17ee36134e88b8aeaa74b1c7c29a61610a699"
|
|
1854
1922
|
},
|
|
1855
|
-
"
|
|
1923
|
+
"87f21c3705de41301203595c65107f6fdac7d1c5c39e17fbdef4c2c9765c448f": {
|
|
1856
1924
|
"translations": {
|
|
1857
1925
|
"python": {
|
|
1858
|
-
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
1926
|
+
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON,\n enable_partition_filtering=True\n)",
|
|
1859
1927
|
"version": "2"
|
|
1860
1928
|
},
|
|
1861
1929
|
"csharp": {
|
|
1862
|
-
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
|
|
1930
|
+
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON,\n EnablePartitionFiltering = true\n});",
|
|
1863
1931
|
"version": "1"
|
|
1864
1932
|
},
|
|
1865
1933
|
"java": {
|
|
1866
|
-
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
|
|
1934
|
+
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .enablePartitionFiltering(true)\n .build();",
|
|
1867
1935
|
"version": "1"
|
|
1868
1936
|
},
|
|
1869
1937
|
"go": {
|
|
1870
|
-
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
|
|
1938
|
+
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
|
|
1871
1939
|
"version": "1"
|
|
1872
1940
|
},
|
|
1873
1941
|
"$": {
|
|
1874
|
-
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n
|
|
1942
|
+
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});",
|
|
1875
1943
|
"version": "0"
|
|
1876
1944
|
}
|
|
1877
1945
|
},
|
|
@@ -1897,11 +1965,12 @@
|
|
|
1897
1965
|
"@aws-cdk/aws-glue-alpha.Type",
|
|
1898
1966
|
"constructs.Construct"
|
|
1899
1967
|
],
|
|
1900
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n
|
|
1968
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
1901
1969
|
"syntaxKindCounter": {
|
|
1902
1970
|
"10": 5,
|
|
1903
|
-
"75":
|
|
1971
|
+
"75": 30,
|
|
1904
1972
|
"104": 1,
|
|
1973
|
+
"106": 1,
|
|
1905
1974
|
"130": 1,
|
|
1906
1975
|
"153": 1,
|
|
1907
1976
|
"169": 1,
|
|
@@ -1913,10 +1982,10 @@
|
|
|
1913
1982
|
"226": 1,
|
|
1914
1983
|
"242": 1,
|
|
1915
1984
|
"243": 1,
|
|
1916
|
-
"281":
|
|
1985
|
+
"281": 12,
|
|
1917
1986
|
"290": 1
|
|
1918
1987
|
},
|
|
1919
|
-
"fqnsFingerprint": "
|
|
1988
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
1920
1989
|
},
|
|
1921
1990
|
"cbc7bf4c317a8ec8fc5c9256688a20db175d859b28fc3054eba52e51c9876498": {
|
|
1922
1991
|
"translations": {
|
|
@@ -2026,7 +2095,7 @@
|
|
|
2026
2095
|
"226": 1,
|
|
2027
2096
|
"281": 1
|
|
2028
2097
|
},
|
|
2029
|
-
"fqnsFingerprint": "
|
|
2098
|
+
"fqnsFingerprint": "ce06e470da9088bbd142598db762dcbb6f4c3e7b5b5496360352581a713ab39a"
|
|
2030
2099
|
},
|
|
2031
2100
|
"1ba7c08ac10b41363cebc03f9869769b46bd5c67723a1ee827653dd6379bd184": {
|
|
2032
2101
|
"translations": {
|
|
@@ -2077,7 +2146,7 @@
|
|
|
2077
2146
|
"226": 1,
|
|
2078
2147
|
"281": 1
|
|
2079
2148
|
},
|
|
2080
|
-
"fqnsFingerprint": "
|
|
2149
|
+
"fqnsFingerprint": "ce06e470da9088bbd142598db762dcbb6f4c3e7b5b5496360352581a713ab39a"
|
|
2081
2150
|
},
|
|
2082
2151
|
"b9880ea645259a0b8762db76f4e76476a52a26e82ea25ca7fe18fa9fc3f58edf": {
|
|
2083
2152
|
"translations": {
|
|
@@ -2146,7 +2215,7 @@
|
|
|
2146
2215
|
"281": 5,
|
|
2147
2216
|
"290": 1
|
|
2148
2217
|
},
|
|
2149
|
-
"fqnsFingerprint": "
|
|
2218
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
2150
2219
|
},
|
|
2151
2220
|
"a7c86c256f66c4c655908fdb28ac3c0d6b40c223f7cacbb4b19fef9abd9d7243": {
|
|
2152
2221
|
"translations": {
|
|
@@ -2267,7 +2336,7 @@
|
|
|
2267
2336
|
"281": 5,
|
|
2268
2337
|
"290": 1
|
|
2269
2338
|
},
|
|
2270
|
-
"fqnsFingerprint": "
|
|
2339
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
2271
2340
|
},
|
|
2272
2341
|
"bc67fe0f869f4ba7f3dbb3668d6aaf5efd6fc0e0eaaa5d8e7f6d9337f596b179": {
|
|
2273
2342
|
"translations": {
|
|
@@ -2325,7 +2394,7 @@
|
|
|
2325
2394
|
"281": 2,
|
|
2326
2395
|
"290": 1
|
|
2327
2396
|
},
|
|
2328
|
-
"fqnsFingerprint": "
|
|
2397
|
+
"fqnsFingerprint": "12cfdb42f2f27c4766476f5900bc4370a39b6614537862fba184636c286c118c"
|
|
2329
2398
|
},
|
|
2330
2399
|
"338946c760eb62657369459eaa0f29d4f879aa5304e3065d7090a9429c66ef9a": {
|
|
2331
2400
|
"translations": {
|
|
@@ -2385,7 +2454,7 @@
|
|
|
2385
2454
|
"226": 1,
|
|
2386
2455
|
"281": 7
|
|
2387
2456
|
},
|
|
2388
|
-
"fqnsFingerprint": "
|
|
2457
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
2389
2458
|
},
|
|
2390
2459
|
"01645930c0f903782be928f0797d165bc9b6456a7557f0ae794f5b8c8be14038": {
|
|
2391
2460
|
"translations": {
|
|
@@ -2445,7 +2514,7 @@
|
|
|
2445
2514
|
"226": 1,
|
|
2446
2515
|
"281": 7
|
|
2447
2516
|
},
|
|
2448
|
-
"fqnsFingerprint": "
|
|
2517
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
2449
2518
|
},
|
|
2450
2519
|
"6832b355847510af07ad3f1845210e75c148b4eb51beb4ba37bb5ff3578132ba": {
|
|
2451
2520
|
"translations": {
|
|
@@ -2514,7 +2583,7 @@
|
|
|
2514
2583
|
"281": 5,
|
|
2515
2584
|
"290": 1
|
|
2516
2585
|
},
|
|
2517
|
-
"fqnsFingerprint": "
|
|
2586
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
2518
2587
|
},
|
|
2519
2588
|
"d881c62d75f297064390937ef0d37eeb9086928d357c7a571af334c5b95252c6": {
|
|
2520
2589
|
"translations": {
|
|
@@ -2579,7 +2648,7 @@
|
|
|
2579
2648
|
"281": 10,
|
|
2580
2649
|
"290": 1
|
|
2581
2650
|
},
|
|
2582
|
-
"fqnsFingerprint": "
|
|
2651
|
+
"fqnsFingerprint": "c6675de69c077559b7f0bd7a5c07e9fa170c00d1d1532e93c10471534a457170"
|
|
2583
2652
|
},
|
|
2584
2653
|
"943463d1930ad3031acad3870f483fe9fb5232ac43304a1f3b310599d039b503": {
|
|
2585
2654
|
"translations": {
|
|
@@ -2648,7 +2717,7 @@
|
|
|
2648
2717
|
"281": 5,
|
|
2649
2718
|
"290": 1
|
|
2650
2719
|
},
|
|
2651
|
-
"fqnsFingerprint": "
|
|
2720
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
2652
2721
|
},
|
|
2653
2722
|
"20599b2ea9a2f0c3fcc0deefca973f39a6949daf8f1519b3772730814f0bc344": {
|
|
2654
2723
|
"translations": {
|
|
@@ -2878,7 +2947,7 @@
|
|
|
2878
2947
|
"281": 5,
|
|
2879
2948
|
"290": 1
|
|
2880
2949
|
},
|
|
2881
|
-
"fqnsFingerprint": "
|
|
2950
|
+
"fqnsFingerprint": "7a07593b785ee526088211a2915d7f11dd5647352bcf058a8aac1c8348400ec6"
|
|
2882
2951
|
},
|
|
2883
2952
|
"3be182023e6e4eac096f34fd1d4375b6e09ac0423e9f05c6fae7f9088e084aef": {
|
|
2884
2953
|
"translations": {
|
|
@@ -2939,7 +3008,7 @@
|
|
|
2939
3008
|
"226": 1,
|
|
2940
3009
|
"281": 5
|
|
2941
3010
|
},
|
|
2942
|
-
"fqnsFingerprint": "
|
|
3011
|
+
"fqnsFingerprint": "0dd4c0c5c68b689f5e9089fb44b02650f671c19275bc066c151e0894bbcd1bbd"
|
|
2943
3012
|
},
|
|
2944
3013
|
"2aa0e7e658c46bf934e9cfb49322411d28556e8b0c32a79ffc6e8fd3311b0898": {
|
|
2945
3014
|
"translations": {
|
|
@@ -3000,7 +3069,7 @@
|
|
|
3000
3069
|
"226": 1,
|
|
3001
3070
|
"281": 5
|
|
3002
3071
|
},
|
|
3003
|
-
"fqnsFingerprint": "
|
|
3072
|
+
"fqnsFingerprint": "0dd4c0c5c68b689f5e9089fb44b02650f671c19275bc066c151e0894bbcd1bbd"
|
|
3004
3073
|
},
|
|
3005
3074
|
"ea036fe4a5d7f8a6a409249fcbf9efe7db7d2bd32119870153e8a62dbb32dc31": {
|
|
3006
3075
|
"translations": {
|
|
@@ -3058,7 +3127,7 @@
|
|
|
3058
3127
|
"258": 1,
|
|
3059
3128
|
"290": 1
|
|
3060
3129
|
},
|
|
3061
|
-
"fqnsFingerprint": "
|
|
3130
|
+
"fqnsFingerprint": "de8b3f714bd70a6ff1bcf641a3374ed7f1cdfc822cbea1a18098f32bf0aba1bc"
|
|
3062
3131
|
},
|
|
3063
3132
|
"00be0efff95e388412faa8e5147a7bebabf4b65b92504a92e02ddad9be5d97ab": {
|
|
3064
3133
|
"translations": {
|
|
@@ -3118,7 +3187,7 @@
|
|
|
3118
3187
|
"226": 1,
|
|
3119
3188
|
"281": 7
|
|
3120
3189
|
},
|
|
3121
|
-
"fqnsFingerprint": "
|
|
3190
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
3122
3191
|
},
|
|
3123
3192
|
"207060b9df0bab24f1ba53598d44db9992e43f4124049cc5bba22f4593b34b76": {
|
|
3124
3193
|
"translations": {
|
|
@@ -3178,7 +3247,7 @@
|
|
|
3178
3247
|
"226": 1,
|
|
3179
3248
|
"281": 7
|
|
3180
3249
|
},
|
|
3181
|
-
"fqnsFingerprint": "
|
|
3250
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
3182
3251
|
},
|
|
3183
3252
|
"4afd85d48ffa59c03eae18de7fb3e0694706561b0bf4d7ed87252515b562dfc8": {
|
|
3184
3253
|
"translations": {
|
|
@@ -3246,28 +3315,28 @@
|
|
|
3246
3315
|
"281": 6,
|
|
3247
3316
|
"290": 1
|
|
3248
3317
|
},
|
|
3249
|
-
"fqnsFingerprint": "
|
|
3318
|
+
"fqnsFingerprint": "5bab4755fa285cb580596f4685ddfac4fd0c50a39ecbced03de5a6db5e6f87b9"
|
|
3250
3319
|
},
|
|
3251
|
-
"
|
|
3320
|
+
"134183fbaba1dd4a3c2df4f4707bfb90db0016d3c50552f1c5d159f72cf92611": {
|
|
3252
3321
|
"translations": {
|
|
3253
3322
|
"python": {
|
|
3254
|
-
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3323
|
+
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON,\n enable_partition_filtering=True\n)",
|
|
3255
3324
|
"version": "2"
|
|
3256
3325
|
},
|
|
3257
3326
|
"csharp": {
|
|
3258
|
-
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
|
|
3327
|
+
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON,\n EnablePartitionFiltering = true\n});",
|
|
3259
3328
|
"version": "1"
|
|
3260
3329
|
},
|
|
3261
3330
|
"java": {
|
|
3262
|
-
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
|
|
3331
|
+
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .enablePartitionFiltering(true)\n .build();",
|
|
3263
3332
|
"version": "1"
|
|
3264
3333
|
},
|
|
3265
3334
|
"go": {
|
|
3266
|
-
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
|
|
3335
|
+
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
|
|
3267
3336
|
"version": "1"
|
|
3268
3337
|
},
|
|
3269
3338
|
"$": {
|
|
3270
|
-
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n
|
|
3339
|
+
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});",
|
|
3271
3340
|
"version": "0"
|
|
3272
3341
|
}
|
|
3273
3342
|
},
|
|
@@ -3293,11 +3362,12 @@
|
|
|
3293
3362
|
"@aws-cdk/aws-glue-alpha.Type",
|
|
3294
3363
|
"constructs.Construct"
|
|
3295
3364
|
],
|
|
3296
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n
|
|
3365
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
3297
3366
|
"syntaxKindCounter": {
|
|
3298
3367
|
"10": 5,
|
|
3299
|
-
"75":
|
|
3368
|
+
"75": 30,
|
|
3300
3369
|
"104": 1,
|
|
3370
|
+
"106": 1,
|
|
3301
3371
|
"130": 1,
|
|
3302
3372
|
"153": 1,
|
|
3303
3373
|
"169": 1,
|
|
@@ -3309,10 +3379,10 @@
|
|
|
3309
3379
|
"226": 1,
|
|
3310
3380
|
"242": 1,
|
|
3311
3381
|
"243": 1,
|
|
3312
|
-
"281":
|
|
3382
|
+
"281": 12,
|
|
3313
3383
|
"290": 1
|
|
3314
3384
|
},
|
|
3315
|
-
"fqnsFingerprint": "
|
|
3385
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
3316
3386
|
},
|
|
3317
3387
|
"e55a210f3c876a6be2519f598eef94230e766515aae98637ef80ba802dd919f6": {
|
|
3318
3388
|
"translations": {
|
|
@@ -3372,7 +3442,7 @@
|
|
|
3372
3442
|
"226": 1,
|
|
3373
3443
|
"281": 7
|
|
3374
3444
|
},
|
|
3375
|
-
"fqnsFingerprint": "
|
|
3445
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
3376
3446
|
},
|
|
3377
3447
|
"9eb2dfc2ebe1d9d6f7994bd72a9643bbd3c9d5cae9f78341051820b35bfec9b2": {
|
|
3378
3448
|
"translations": {
|
|
@@ -3432,7 +3502,7 @@
|
|
|
3432
3502
|
"226": 1,
|
|
3433
3503
|
"281": 7
|
|
3434
3504
|
},
|
|
3435
|
-
"fqnsFingerprint": "
|
|
3505
|
+
"fqnsFingerprint": "06d129865fc3421ddb1528b8ec006c11ffa53ca9b3f5fcc8a5742df135bef078"
|
|
3436
3506
|
},
|
|
3437
3507
|
"d01b17fd45941078a51bfb4f7c5d48c8520b1befab0e4d4be5f68bfed43672cd": {
|
|
3438
3508
|
"translations": {
|
|
@@ -3542,7 +3612,7 @@
|
|
|
3542
3612
|
"281": 2,
|
|
3543
3613
|
"290": 1
|
|
3544
3614
|
},
|
|
3545
|
-
"fqnsFingerprint": "
|
|
3615
|
+
"fqnsFingerprint": "875ae754f1ebc197f406c023afb5678b8900c1de61b296bb64a6d6ed060fb677"
|
|
3546
3616
|
},
|
|
3547
3617
|
"3ded8120befeed2ee307fc0172bdf07835b46f031b5bde08f429361f47ccb0e1": {
|
|
3548
3618
|
"translations": {
|
|
@@ -3601,28 +3671,28 @@
|
|
|
3601
3671
|
"281": 3,
|
|
3602
3672
|
"290": 1
|
|
3603
3673
|
},
|
|
3604
|
-
"fqnsFingerprint": "
|
|
3674
|
+
"fqnsFingerprint": "8fe3d4019fc2b687dd5e63a5128a95673d40ad6f7eb0147fe5832bd4c5f5dd29"
|
|
3605
3675
|
},
|
|
3606
|
-
"
|
|
3676
|
+
"f95f9b001db1703d2ec31cfcc5e61b67ec204f69f5eb3941e77c0d24c66ce1ea": {
|
|
3607
3677
|
"translations": {
|
|
3608
3678
|
"python": {
|
|
3609
|
-
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3679
|
+
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON,\n enable_partition_filtering=True\n)",
|
|
3610
3680
|
"version": "2"
|
|
3611
3681
|
},
|
|
3612
3682
|
"csharp": {
|
|
3613
|
-
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
|
|
3683
|
+
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON,\n EnablePartitionFiltering = true\n});",
|
|
3614
3684
|
"version": "1"
|
|
3615
3685
|
},
|
|
3616
3686
|
"java": {
|
|
3617
|
-
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
|
|
3687
|
+
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .enablePartitionFiltering(true)\n .build();",
|
|
3618
3688
|
"version": "1"
|
|
3619
3689
|
},
|
|
3620
3690
|
"go": {
|
|
3621
|
-
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
|
|
3691
|
+
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
|
|
3622
3692
|
"version": "1"
|
|
3623
3693
|
},
|
|
3624
3694
|
"$": {
|
|
3625
|
-
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n
|
|
3695
|
+
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});",
|
|
3626
3696
|
"version": "0"
|
|
3627
3697
|
}
|
|
3628
3698
|
},
|
|
@@ -3648,11 +3718,12 @@
|
|
|
3648
3718
|
"@aws-cdk/aws-glue-alpha.Type",
|
|
3649
3719
|
"constructs.Construct"
|
|
3650
3720
|
],
|
|
3651
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n
|
|
3721
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
3652
3722
|
"syntaxKindCounter": {
|
|
3653
3723
|
"10": 5,
|
|
3654
|
-
"75":
|
|
3724
|
+
"75": 30,
|
|
3655
3725
|
"104": 1,
|
|
3726
|
+
"106": 1,
|
|
3656
3727
|
"130": 1,
|
|
3657
3728
|
"153": 1,
|
|
3658
3729
|
"169": 1,
|
|
@@ -3664,10 +3735,10 @@
|
|
|
3664
3735
|
"226": 1,
|
|
3665
3736
|
"242": 1,
|
|
3666
3737
|
"243": 1,
|
|
3667
|
-
"281":
|
|
3738
|
+
"281": 12,
|
|
3668
3739
|
"290": 1
|
|
3669
3740
|
},
|
|
3670
|
-
"fqnsFingerprint": "
|
|
3741
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
3671
3742
|
},
|
|
3672
3743
|
"726c6de6bd08d1ae1e21269794986e57d9dfae50be9ba6666a0e07dc5235e8a7": {
|
|
3673
3744
|
"translations": {
|
|
@@ -3788,28 +3859,28 @@
|
|
|
3788
3859
|
"281": 7,
|
|
3789
3860
|
"290": 1
|
|
3790
3861
|
},
|
|
3791
|
-
"fqnsFingerprint": "
|
|
3862
|
+
"fqnsFingerprint": "d9dd581c071a4e940ce6f1c3c0d924c95cfd91594c92988716ace973eeca5d53"
|
|
3792
3863
|
},
|
|
3793
|
-
"
|
|
3864
|
+
"df89abd921e4df0b8279cffea14e45928d60fea888a33c07fe42af3b7b386a65": {
|
|
3794
3865
|
"translations": {
|
|
3795
3866
|
"python": {
|
|
3796
|
-
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3867
|
+
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON,\n enable_partition_filtering=True\n)",
|
|
3797
3868
|
"version": "2"
|
|
3798
3869
|
},
|
|
3799
3870
|
"csharp": {
|
|
3800
|
-
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
|
|
3871
|
+
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON,\n EnablePartitionFiltering = true\n});",
|
|
3801
3872
|
"version": "1"
|
|
3802
3873
|
},
|
|
3803
3874
|
"java": {
|
|
3804
|
-
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
|
|
3875
|
+
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .enablePartitionFiltering(true)\n .build();",
|
|
3805
3876
|
"version": "1"
|
|
3806
3877
|
},
|
|
3807
3878
|
"go": {
|
|
3808
|
-
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
|
|
3879
|
+
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
|
|
3809
3880
|
"version": "1"
|
|
3810
3881
|
},
|
|
3811
3882
|
"$": {
|
|
3812
|
-
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n
|
|
3883
|
+
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});",
|
|
3813
3884
|
"version": "0"
|
|
3814
3885
|
}
|
|
3815
3886
|
},
|
|
@@ -3835,11 +3906,12 @@
|
|
|
3835
3906
|
"@aws-cdk/aws-glue-alpha.Type",
|
|
3836
3907
|
"constructs.Construct"
|
|
3837
3908
|
],
|
|
3838
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n
|
|
3909
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
3839
3910
|
"syntaxKindCounter": {
|
|
3840
3911
|
"10": 5,
|
|
3841
|
-
"75":
|
|
3912
|
+
"75": 30,
|
|
3842
3913
|
"104": 1,
|
|
3914
|
+
"106": 1,
|
|
3843
3915
|
"130": 1,
|
|
3844
3916
|
"153": 1,
|
|
3845
3917
|
"169": 1,
|
|
@@ -3851,31 +3923,31 @@
|
|
|
3851
3923
|
"226": 1,
|
|
3852
3924
|
"242": 1,
|
|
3853
3925
|
"243": 1,
|
|
3854
|
-
"281":
|
|
3926
|
+
"281": 12,
|
|
3855
3927
|
"290": 1
|
|
3856
3928
|
},
|
|
3857
|
-
"fqnsFingerprint": "
|
|
3929
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
3858
3930
|
},
|
|
3859
|
-
"
|
|
3931
|
+
"3e4b4392418048c8dc81ecdf7e5267ca32c04996c1bc096a913651617fa6eb16": {
|
|
3860
3932
|
"translations": {
|
|
3861
3933
|
"python": {
|
|
3862
|
-
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3934
|
+
"source": "# my_database: glue.Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON,\n enable_partition_filtering=True\n)",
|
|
3863
3935
|
"version": "2"
|
|
3864
3936
|
},
|
|
3865
3937
|
"csharp": {
|
|
3866
|
-
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
|
|
3938
|
+
"source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON,\n EnablePartitionFiltering = true\n});",
|
|
3867
3939
|
"version": "1"
|
|
3868
3940
|
},
|
|
3869
3941
|
"java": {
|
|
3870
|
-
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
|
|
3942
|
+
"source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .enablePartitionFiltering(true)\n .build();",
|
|
3871
3943
|
"version": "1"
|
|
3872
3944
|
},
|
|
3873
3945
|
"go": {
|
|
3874
|
-
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
|
|
3946
|
+
"source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
|
|
3875
3947
|
"version": "1"
|
|
3876
3948
|
},
|
|
3877
3949
|
"$": {
|
|
3878
|
-
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n
|
|
3950
|
+
"source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});",
|
|
3879
3951
|
"version": "0"
|
|
3880
3952
|
}
|
|
3881
3953
|
},
|
|
@@ -3901,11 +3973,12 @@
|
|
|
3901
3973
|
"@aws-cdk/aws-glue-alpha.Type",
|
|
3902
3974
|
"constructs.Construct"
|
|
3903
3975
|
],
|
|
3904
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n
|
|
3976
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
3905
3977
|
"syntaxKindCounter": {
|
|
3906
3978
|
"10": 5,
|
|
3907
|
-
"75":
|
|
3979
|
+
"75": 30,
|
|
3908
3980
|
"104": 1,
|
|
3981
|
+
"106": 1,
|
|
3909
3982
|
"130": 1,
|
|
3910
3983
|
"153": 1,
|
|
3911
3984
|
"169": 1,
|
|
@@ -3917,10 +3990,10 @@
|
|
|
3917
3990
|
"226": 1,
|
|
3918
3991
|
"242": 1,
|
|
3919
3992
|
"243": 1,
|
|
3920
|
-
"281":
|
|
3993
|
+
"281": 12,
|
|
3921
3994
|
"290": 1
|
|
3922
3995
|
},
|
|
3923
|
-
"fqnsFingerprint": "
|
|
3996
|
+
"fqnsFingerprint": "0364e5f93e47ed3655952431ae7ea4990bb31012b5832b7e00ea397a9c689c93"
|
|
3924
3997
|
},
|
|
3925
3998
|
"6dd61f985caf76f93636a0ac81cf52309c67009318c1573d0611ee83cee55bf7": {
|
|
3926
3999
|
"translations": {
|