@@ -8303,28 +8303,28 @@ class DataformVectorTest_download : public DataformVectorTest, public testing::W
83038303public:
83048304 static std::vector<std::tuple<std::string, std::string, dolphindb::DATA_TYPE>> getData (){
83058305 return {
8306- { " x=true false NULL;x" , " [1,0,]" , dolphindb::DT_BOOL} ,
8307- { " x=127c -128c NULL;x" , " [127,,]" , dolphindb::DT_CHAR} ,
8308- { " x=2147483647 -2147483648 NULL;x" , " [2147483647,,]" , dolphindb::DT_INT} ,
8309- { " x=32768h 32767h NULL;x" , " [,32767,]" , dolphindb::DT_SHORT} ,
8310- { " x=9223372036854775807l NULL;x" , " [9223372036854775807,]" , dolphindb::DT_LONG} ,
8311- { " x=3.14f NULL;x" , " [3.14,]" , dolphindb::DT_FLOAT} ,
8312- { " x=3.1415926 NULL;x" , " [3.141593,]" , dolphindb::DT_DOUBLE} ,
8313- { " x=`aaa`bbb`;x" , " [\" aaa\" ,\" bbb\" ,]" , dolphindb::DT_STRING} ,
8314- { " x=symbol(`aaa`bbb`);x" , " [\" aaa\" ,\" bbb\" ,]" , dolphindb::DT_SYMBOL} ,
8315- { " x=blob(`aaa`bbb`);x" , " [\" aaa\" ,\" bbb\" ,]" , dolphindb::DT_BLOB} ,
8316- { " x=int128(`0123456789abcdef0123456789abcdef`);x" , " [0123456789abcdef0123456789abcdef,]" , dolphindb::DT_INT128} ,
8317- { " x=ipaddr('192.168.1.1''');x" , " [192.168.1.1,]" , dolphindb::DT_IP} ,
8318- { " x=uuid('5d212a78-cc48-e3b1-4235-b4d91473ee87''');x" , " [5d212a78-cc48-e3b1-4235-b4d91473ee87,]" , dolphindb::DT_UUID} ,
8319- { " x=2022.01.01 NULL;x" , " [2022.01.01,]" , dolphindb::DT_DATE} ,
8320- { " x=2022.01M NULL;x" , " [2022.01M,]" , dolphindb::DT_MONTH} ,
8321- { " x=13:30:00.000 NULL;x" , " [13:30:00.000,]" , dolphindb::DT_TIME} ,
8322- { " x=23:59m NULL;x" , " [23:59m,]" , dolphindb::DT_MINUTE} ,
8323- { " x=01:08:54 NULL;x" , " [01:08:54,]" , dolphindb::DT_SECOND} ,
8324- { " x=2022.01.01T13:30:00 NULL;x" , " [2022.01.01T13:30:00,]" , dolphindb::DT_DATETIME} ,
8325- { " x=2022.01.01T13:30:00.123 NULL;x" , " [2022.01.01T13:30:00.123,]" , dolphindb::DT_TIMESTAMP} ,
8326- { " x=13:30:00.123456789 NULL;x" , " [13:30:00.123456789,]" , dolphindb::DT_NANOTIME} ,
8327- { " x=2022.01.01T13:30:00.123456789 NULL;x" , " [2022.01.01T13:30:00.123456789,]" , dolphindb::DT_NANOTIMESTAMP}
8306+ std::make_tuple ( std::string ( " x=true false NULL;x" ), std::string ( " [1,0,]" ) , dolphindb::DT_BOOL) ,
8307+ std::make_tuple ( std::string ( " x=127c -128c NULL;x" ), std::string ( " [127,,]" ) , dolphindb::DT_CHAR) ,
8308+ std::make_tuple ( std::string ( " x=2147483647 -2147483648 NULL;x" ), std::string ( " [2147483647,,]" ) , dolphindb::DT_INT) ,
8309+ std::make_tuple ( std::string ( " x=32768h 32767h NULL;x" ), std::string ( " [,32767,]" ) , dolphindb::DT_SHORT) ,
8310+ std::make_tuple ( std::string ( " x=9223372036854775807l NULL;x" ), std::string ( " [9223372036854775807,]" ) , dolphindb::DT_LONG) ,
8311+ std::make_tuple ( std::string ( " x=3.14f NULL;x" ), std::string ( " [3.14,]" ) , dolphindb::DT_FLOAT) ,
8312+ std::make_tuple ( std::string ( " x=3.1415926 NULL;x" ), std::string ( " [3.141593,]" ) , dolphindb::DT_DOUBLE) ,
8313+ std::make_tuple ( std::string ( " x=`aaa`bbb`;x" ), std::string ( " [\" aaa\" ,\" bbb\" ,]" ) , dolphindb::DT_STRING) ,
8314+ std::make_tuple ( std::string ( " x=symbol(`aaa`bbb`);x" ), std::string ( " [\" aaa\" ,\" bbb\" ,]" ) , dolphindb::DT_SYMBOL) ,
8315+ std::make_tuple ( std::string ( " x=blob(`aaa`bbb`);x" ), std::string ( " [\" aaa\" ,\" bbb\" ,]" ) , dolphindb::DT_BLOB) ,
8316+ std::make_tuple ( std::string ( " x=int128(`0123456789abcdef0123456789abcdef`);x" ), std::string ( " [0123456789abcdef0123456789abcdef,]" ) , dolphindb::DT_INT128) ,
8317+ std::make_tuple ( std::string ( " x=ipaddr('192.168.1.1''');x" ), std::string ( " [192.168.1.1,]" ) , dolphindb::DT_IP) ,
8318+ std::make_tuple ( std::string ( " x=uuid('5d212a78-cc48-e3b1-4235-b4d91473ee87''');x" ), std::string ( " [5d212a78-cc48-e3b1-4235-b4d91473ee87,]" ) , dolphindb::DT_UUID) ,
8319+ std::make_tuple ( std::string ( " x=2022.01.01 NULL;x" ), std::string ( " [2022.01.01,]" ) , dolphindb::DT_DATE) ,
8320+ std::make_tuple ( std::string ( " x=2022.01M NULL;x" ), std::string ( " [2022.01M,]" ) , dolphindb::DT_MONTH) ,
8321+ std::make_tuple ( std::string ( " x=13:30:00.000 NULL;x" ), std::string ( " [13:30:00.000,]" ) , dolphindb::DT_TIME) ,
8322+ std::make_tuple ( std::string ( " x=23:59m NULL;x" ), std::string ( " [23:59m,]" ) , dolphindb::DT_MINUTE) ,
8323+ std::make_tuple ( std::string ( " x=01:08:54 NULL;x" ), std::string ( " [01:08:54,]" ) , dolphindb::DT_SECOND) ,
8324+ std::make_tuple ( std::string ( " x=2022.01.01T13:30:00 NULL;x" ), std::string ( " [2022.01.01T13:30:00,]" ) , dolphindb::DT_DATETIME) ,
8325+ std::make_tuple ( std::string ( " x=2022.01.01T13:30:00.123 NULL;x" ), std::string ( " [2022.01.01T13:30:00.123,]" ) , dolphindb::DT_TIMESTAMP) ,
8326+ std::make_tuple ( std::string ( " x=13:30:00.123456789 NULL;x" ), std::string ( " [13:30:00.123456789,]" ) , dolphindb::DT_NANOTIME) ,
8327+ std::make_tuple ( std::string ( " x=2022.01.01T13:30:00.123456789 NULL;x" ), std::string ( " [2022.01.01T13:30:00.123456789,]" ) , dolphindb::DT_NANOTIMESTAMP)
83288328 };
83298329 }
83308330};
0 commit comments