3
3
=== Start test of add and get of Tables class. ===
4
4
--- get table metadata by table name. ---
5
5
--- table metadata ---
6
- id: [1 ]
7
- name: [table_1 ]
6
+ id: [100002 ]
7
+ name: [table_100002 ]
8
8
namespace: [public]
9
9
numberOfTu: [123]
10
10
--- columns metadata ---
11
- id: [1 ]
12
- tableId: [1 ]
11
+ id: [100003 ]
12
+ tableId: [100002 ]
13
13
name: [column_1]
14
14
columnNumb: [1]
15
15
dataTypeId: [700]
18
18
isNotNull: [0]
19
19
defaultExp: [--]
20
20
------------------
21
- id: [2 ]
22
- tableId: [1 ]
21
+ id: [100004 ]
22
+ tableId: [100002 ]
23
23
name: [column_2]
24
24
columnNumb: [2]
25
25
dataTypeId: [1043]
28
28
isNotNull: [0]
29
29
defaultExp: [--]
30
30
------------------
31
- id: [3 ]
32
- tableId: [1 ]
31
+ id: [100005 ]
32
+ tableId: [100002 ]
33
33
name: [column_3]
34
34
columnNumb: [3]
35
35
dataTypeId: [1042]
40
40
------------------
41
41
--- get table metadata by table id. ---
42
42
--- table metadata ---
43
- id: [1 ]
44
- name: [table_1 ]
43
+ id: [100002 ]
44
+ name: [table_100002 ]
45
45
namespace: [public]
46
46
numberOfTu: [123]
47
47
--- columns metadata ---
48
- id: [1 ]
49
- tableId: [1 ]
48
+ id: [100003 ]
49
+ tableId: [100002 ]
50
50
name: [column_1]
51
51
columnNumb: [1]
52
52
dataTypeId: [700]
55
55
isNotNull: [0]
56
56
defaultExp: [--]
57
57
------------------
58
- id: [2 ]
59
- tableId: [1 ]
58
+ id: [100004 ]
59
+ tableId: [100002 ]
60
60
name: [column_2]
61
61
columnNumb: [2]
62
62
dataTypeId: [1043]
65
65
isNotNull: [0]
66
66
defaultExp: [--]
67
67
------------------
68
- id: [3 ]
69
- tableId: [1 ]
68
+ id: [100005 ]
69
+ tableId: [100002 ]
70
70
name: [column_3]
71
71
columnNumb: [3]
72
72
dataTypeId: [1042]
79
79
80
80
=== Start test of update of Tables class. ===
81
81
--- table metadata ---
82
- id: [2 ] --> [2 ]
83
- name: [table_2 ] --> [table_2 -update]
82
+ id: [100006 ] --> [100006 ]
83
+ name: [table_100006 ] --> [table_100006 -update]
84
84
namespace: [public] --> [public-update]
85
85
numberOfTu: [123] --> [246]
86
86
--- columns metadata ---
87
- id: [4 ] --> [--]
88
- tableId: [2 ] --> [--]
87
+ id: [100007 ] --> [--]
88
+ tableId: [100006 ] --> [--]
89
89
name: [column_1] --> [--]
90
90
columnNumb: [1] --> [--]
91
91
dataTypeId: [700] --> [--]
94
94
isNotNull: [0] --> [--]
95
95
defaultExp: [--] --> [--]
96
96
------------------
97
- id: [5 ] --> [5 ]
98
- tableId: [2 ] --> [2 ]
97
+ id: [100008 ] --> [100008 ]
98
+ tableId: [100006 ] --> [100006 ]
99
99
name: [column_2] --> [column_2-update]
100
100
columnNumb: [2] --> [1]
101
101
dataTypeId: [1043] --> [20]
104
104
isNotNull: [0] --> [1]
105
105
defaultExp: [--] --> [-1]
106
106
------------------
107
- id: [6 ] --> [6 ]
108
- tableId: [2 ] --> [2 ]
107
+ id: [100009 ] --> [100009 ]
108
+ tableId: [100006 ] --> [100006 ]
109
109
name: [column_3] --> [column_3-update]
110
110
columnNumb: [3] --> [2]
111
111
dataTypeId: [1042] --> [1043]
114
114
isNotNull: [1] --> [0]
115
115
defaultExp: [--] --> [default-string]
116
116
------------------
117
- id: [--] --> [7 ]
118
- tableId: [--] --> [2 ]
117
+ id: [--] --> [100010 ]
118
+ tableId: [--] --> [100006 ]
119
119
name: [--] --> [new-col]
120
120
columnNumb: [--] --> [3]
121
121
dataTypeId: [--] --> [23]
127
127
=== Done test of update of Tables class. ===
128
128
129
129
=== Start test of remove of Tables class. ===
130
- === Done test of remove of Tables class. ===
131
- remove table name :table_3, id:3
132
- remove table name :table_5, id:5
133
- remove table name :table_6, id:6
134
- remove table name :table_4, id:4
130
+ remove table name :table_100023, id:100023
131
+ remove table name :table_100015, id:100015
132
+ remove table name :table_100011, id:100011
133
+ remove table name :table_100019, id:100019
135
134
can't remove table name not exists :table_name_not_exists
136
- remove table id:7
137
- remove table id:9
138
- remove table id:10
139
- remove table id:8
135
+ remove table id:100039
136
+ remove table id:100031
137
+ remove table id:100027
138
+ remove table id:100035
140
139
can't remove table id not exists :0
141
- === remove table functions test done . ===
140
+ === Done test of remove of Tables class . ===
142
141
143
142
=== Start test of get of DataTypes class. ===
144
143
DataTypes -> FORMAT_VERSION:[1] / GENERATION:[1] / ID:[23] / NAME:[INT32]
@@ -153,7 +152,6 @@ DataTypes -> FORMAT_VERSION:[1] / GENERATION:[1] / ID:[1083] / NAME:[TIME]
153
152
DataTypes -> FORMAT_VERSION:[1] / GENERATION:[1] / ID:[1266] / NAME:[TIMETZ]
154
153
DataTypes -> FORMAT_VERSION:[1] / GENERATION:[1] / ID:[1114] / NAME:[TIMESTAMP]
155
154
DataTypes -> FORMAT_VERSION:[1] / GENERATION:[1] / ID:[1184] / NAME:[TIMESTAMPTZ]
156
- DataTypes -> FORMAT_VERSION:[1] / GENERATION:[1] / ID:[1186] / NAME:[INTERVAL]
157
155
=== Done test of get of DataTypes class. ===
158
156
159
157
Tables add and get functions test: Success
0 commit comments