This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbySharedTableByTable
31 lines (26 loc) · 2.81 KB
/
bySharedTableByTable
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
TEST: bySharedTableByTable
ctx1._table_metadata
__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
| table | data |
|=========================================================================================================================================================================================================================================================|
| ctx1.table1| {"attributeDefinitions":[{"attributeName":"hashKeyField","attributeType":"S"}],"tableName":"table1","keySchema":[{"attributeName":"hashKeyField","keyType":"HASH"}],"provisionedThroughput":{"readCapacityUnits":1,"writeCapacityUnits":1}}|
| ctx1.table2| {"attributeDefinitions":[{"attributeName":"hashKeyField","attributeType":"S"}],"tableName":"table2","keySchema":[{"attributeName":"hashKeyField","keyType":"HASH"}],"provisionedThroughput":{"readCapacityUnits":1,"writeCapacityUnits":1}}|
ctx1.mt_shared_table_static_s_no_lsi
__________________________
| hk | someField|
|=========================|
| ctx1.table1.1| value-1 |
| ctx1.table1.2| value-2 |
| ctx1.table2.1| value-1 |
| ctx1.table2.2| value-2 |
ctx2._table_metadata
__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
| table | data |
|=========================================================================================================================================================================================================================================================|
| ctx2.table1| {"attributeDefinitions":[{"attributeName":"hashKeyField","attributeType":"S"}],"tableName":"table1","keySchema":[{"attributeName":"hashKeyField","keyType":"HASH"}],"provisionedThroughput":{"readCapacityUnits":1,"writeCapacityUnits":1}}|
ctx2.mt_shared_table_static_s_no_lsi
__________________________
| hk | someField|
|=========================|
| ctx2.table1.1| value-1 |
| ctx2.table1.2| value-2 |