@@ -13,16 +13,30 @@ datatypesColumns=(ID varchar(100) PRIMARY KEY, COL1 bigint(20), COL2 bigint(20)
13
13
COL12 enum(' A' ,' B' ,' C' ), COL13 float, COL14 int(11), COL15 int(10) unsigned, COL16 mediumblob, COL17 mediumtext, \
14
14
COL18 longblob, COL19 longtext, COL20 mediumint(9), COL21 mediumint(8) unsigned, COL22 set(' X' ,' y' ,' Z' ), \
15
15
COL23 smallint(6), COL24 smallint(5) unsigned, COL25 text, COL26 time, COL27 timestamp, COL28 tinyblob, \
16
- COL29 tinyint(4), COL30 tinyint(3) unsigned, COL31 tinytext, COL32 varbinary(100), COL33 json)
16
+ COL29 tinyint(4), COL30 tinyint(3) unsigned, COL31 tinytext, COL32 varbinary(100), COL33 json, COL34 year )
17
17
datatypesColumnsList =(ID,COL1,COL2,COL3,COL4,COL5,COL6,COL7,COL8,COL9,COL10,COL11,COL12,COL13,COL14,COL15,COL16,COL17,\
18
- COL18,COL19,COL20,COL21,COL22,COL23,COL24,COL25,COL26,COL27,COL28,COL29,COL30,COL31,COL32,COL33)
19
- datatypesValues =VALUES (' User1' ,1000000000000000000,1000000000000000000 ,1,1,\
20
- HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),1,' A' ,' 2023-01-01' ,' 2023-01-01 00:00:00' ,1234,\
21
- 1234.5678,' A' ,22.0,-1234,1234 ,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
18
+ COL18,COL19,COL20,COL21,COL22,COL23,COL24,COL25,COL26,COL27,COL28,COL29,COL30,COL31,COL32,COL33,COL34 )
19
+ datatypesValue1 =VALUES (' User1' ,-9223372036854775808,null ,1,1,\
20
+ HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),- 1,' A' ,' 2023-01-01' ,' 2023-01-01 00:00:00' ,1234,\
21
+ 1234.5678,' A' ,22.0,-2147483648,0 ,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
22
22
' This is a test message' ,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
23
- ' This is a test message\n\n ' ,-1234,1234,' X' ,-1234,1234,' This is a test message' ,' 00:00:00' ,' 2023-01-01 00:00:00' ,\
24
- HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),-100,100,' This is a test message' ,1,\
25
- ' {"key1": "value1", "key2": "value2"}' )
23
+ ' This is a test message\n\n ' ,null,0,' X' ,-32768,0,' This is a test message' ,' 00:00:00' ,' 2023-01-01 00:00:00' ,\
24
+ HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),-128,0,' This is a test message' ,1,\
25
+ ' {"key1": "value1", "key2": "value2"}' ,2023)
26
+ datatypesValue2 =VALUES (' User2' ,9223372036854775807,18446744073709551615,1,1,\
27
+ HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),127,' A' ,' 2023-01-01' ,' 2023-01-01 00:00:00' ,1234,\
28
+ 1234.5678,' A' ,22.0,2147483647,4294967295,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
29
+ ' This is a test message' ,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
30
+ ' This is a test message\n\n ' ,8388607,16777215,' X' ,32767,65535,' This is a test message' ,' 00:00:00' ,' 2023-01-01 00:00:00' ,\
31
+ HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),127,255,' This is a test message' ,1,\
32
+ ' {"key1": "value1", "key2": "value2"}' ,0)
33
+ datatypesValue3 =VALUES (' User3' ,null,0,1,1,\
34
+ HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),null,' A' ,' 2023-01-01' ,' 2023-01-01 00:00:00' ,1234,\
35
+ 1234.5678,' A' ,22.0,null,null,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
36
+ ' This is a test message' ,HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),\
37
+ ' This is a test message\n\n ' ,-8388608,null,' X' ,null,null,' This is a test message' ,' 00:00:00' ,' 2023-01-01 00:00:00' ,\
38
+ HEX(' 27486920546869732069732061206C6F6E6720746578742E27' ),null,null,' This is a test message' ,1,\
39
+ ' {"key1": "value1", "key2": "value2"}' ,null)
26
40
datatypesSchema =[{" key" :" ID" ," value" :" string" },{" key" :" COL1" ," value" :" long" },{" key" :" COL2" ," value" :" decimal" },\
27
41
{" key" :" COL3" ," value" :" bytes" },{" key" :" COL4" ," value" :" boolean" },{" key" :" COL5" ," value" :" bytes" },\
28
42
{" key" :" COL6" ," value" :" int" },{" key" :" COL7" ," value" :" string" },{" key" :" COL8" ," value" :" date" },\
@@ -35,4 +49,4 @@ datatypesSchema=[{"key":"ID","value":"string"},{"key":"COL1","value":"long"},{"k
35
49
{" key" :" COL27" ," value" :" timestamp" },{" key" :" COL28" ," value" :" bytes" },{" key" :" COL29" ," value" :" int" },\
36
50
{" key" :" COL30" ," value" :" int" },{" key" :" COL31" ," value" :" string" },{" key" :" COL32" ," value" :" bytes" },\
37
51
{" key" :" COL33" ," value" :" string" },{" key" :" COL34" ," value" :" int" }]
38
- {" key" :" COL33" ," value" :" string" }]
52
+ {" key" :" COL33" ," value" :" string" }]
0 commit comments