mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Merge pull request #48436 from Avogar/fix-generate-random
Generate valid Decimals and Bools in generateRandom function
This commit is contained in:
commit
a0d11fdf53
@ -24,6 +24,7 @@
|
||||
#include <DataTypes/DataTypeMap.h>
|
||||
#include <DataTypes/DataTypeNullable.h>
|
||||
#include <DataTypes/DataTypeTuple.h>
|
||||
#include <DataTypes/DataTypesDecimal.h>
|
||||
#include <DataTypes/NestedUtils.h>
|
||||
|
||||
#include <Common/SipHash.h>
|
||||
@ -232,8 +233,17 @@ ColumnPtr fillColumnWithRandomData(
|
||||
case TypeIndex::UInt8:
|
||||
{
|
||||
auto column = ColumnUInt8::create();
|
||||
column->getData().resize(limit);
|
||||
fillBufferWithRandomData(reinterpret_cast<char *>(column->getData().data()), limit, sizeof(UInt8), rng);
|
||||
auto & data = column->getData();
|
||||
data.resize(limit);
|
||||
if (isBool(type))
|
||||
{
|
||||
for (size_t i = 0; i < limit; ++i)
|
||||
data[i] = rng() % 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
fillBufferWithRandomData(reinterpret_cast<char *>(data.data()), limit, sizeof(UInt8), rng);
|
||||
}
|
||||
return column;
|
||||
}
|
||||
case TypeIndex::UInt16: [[fallthrough]];
|
||||
@ -349,34 +359,55 @@ ColumnPtr fillColumnWithRandomData(
|
||||
}
|
||||
case TypeIndex::Decimal32:
|
||||
{
|
||||
auto column = type->createColumn();
|
||||
const auto & decimal_type = assert_cast<const DataTypeDecimal<Decimal32> &>(*type);
|
||||
auto column = decimal_type.createColumn();
|
||||
auto & column_concrete = typeid_cast<ColumnDecimal<Decimal32> &>(*column);
|
||||
column_concrete.getData().resize(limit);
|
||||
fillBufferWithRandomData(reinterpret_cast<char *>(column_concrete.getData().data()), limit, sizeof(Decimal32), rng, true);
|
||||
auto & data = column_concrete.getData();
|
||||
data.resize(limit);
|
||||
/// Generate numbers from range [-10^P + 1, 10^P - 1]
|
||||
Int32 range = common::exp10_i32(decimal_type.getPrecision());
|
||||
for (size_t i = 0; i != limit; ++i)
|
||||
data[i] = static_cast<Int32>(rng()) % range;
|
||||
return column;
|
||||
}
|
||||
case TypeIndex::Decimal64: /// TODO Decimal may be generated out of range.
|
||||
case TypeIndex::Decimal64:
|
||||
{
|
||||
const auto & decimal_type = assert_cast<const DataTypeDecimal<Decimal64> &>(*type);
|
||||
auto column = type->createColumn();
|
||||
auto & column_concrete = typeid_cast<ColumnDecimal<Decimal64> &>(*column);
|
||||
column_concrete.getData().resize(limit);
|
||||
fillBufferWithRandomData(reinterpret_cast<char *>(column_concrete.getData().data()), limit, sizeof(Decimal64), rng, true);
|
||||
auto & data = column_concrete.getData();
|
||||
data.resize(limit);
|
||||
/// Generate numbers from range [-10^P + 1, 10^P - 1]
|
||||
Int64 range = common::exp10_i64(decimal_type.getPrecision());
|
||||
for (size_t i = 0; i != limit; ++i)
|
||||
data[i] = static_cast<Int64>(rng()) % range;
|
||||
|
||||
return column;
|
||||
}
|
||||
case TypeIndex::Decimal128:
|
||||
{
|
||||
const auto & decimal_type = assert_cast<const DataTypeDecimal<Decimal128> &>(*type);
|
||||
auto column = type->createColumn();
|
||||
auto & column_concrete = typeid_cast<ColumnDecimal<Decimal128> &>(*column);
|
||||
column_concrete.getData().resize(limit);
|
||||
fillBufferWithRandomData(reinterpret_cast<char *>(column_concrete.getData().data()), limit, sizeof(Decimal128), rng, true);
|
||||
auto & data = column_concrete.getData();
|
||||
data.resize(limit);
|
||||
/// Generate numbers from range [-10^P + 1, 10^P - 1]
|
||||
Int128 range = common::exp10_i128(decimal_type.getPrecision());
|
||||
for (size_t i = 0; i != limit; ++i)
|
||||
data[i] = Int128({rng(), rng()}) % range;
|
||||
return column;
|
||||
}
|
||||
case TypeIndex::Decimal256:
|
||||
{
|
||||
const auto & decimal_type = assert_cast<const DataTypeDecimal<Decimal256> &>(*type);
|
||||
auto column = type->createColumn();
|
||||
auto & column_concrete = typeid_cast<ColumnDecimal<Decimal256> &>(*column);
|
||||
column_concrete.getData().resize(limit);
|
||||
fillBufferWithRandomData(reinterpret_cast<char *>(column_concrete.getData().data()), limit, sizeof(Decimal256), rng, true);
|
||||
auto & data = column_concrete.getData();
|
||||
data.resize(limit);
|
||||
/// Generate numbers from range [-10^P + 1, 10^P - 1]
|
||||
Int256 range = common::exp10_i256(decimal_type.getPrecision());
|
||||
for (size_t i = 0; i != limit; ++i)
|
||||
data[i] = Int256({rng(), rng(), rng(), rng()}) % range;
|
||||
return column;
|
||||
}
|
||||
case TypeIndex::FixedString:
|
||||
|
@ -1,103 +1,103 @@
|
||||
100
|
||||
-
|
||||
[] -54259.6828 ('2088-03-01 13:26:24.094','d3c2a216-a98c-d56c-7bf7-62de9f264cf4')
|
||||
[88] 34528.4014 ('2031-12-08 21:40:39.898','9ef777c8-de0e-d25e-e16c-5b624f88523c')
|
||||
[-1] 121968.7945 ('2060-02-05 06:18:12.011','7655e515-d2ca-2f06-0950-e4f44f69aca7')
|
||||
[-103,75] -135033.4349 ('2038-12-19 17:38:58.695','86b57d15-292d-2517-9acf-47cd053e7a3a')
|
||||
[110] -202668.69 ('2009-06-17 21:53:29.808','bc630f78-7d58-0c46-dd4b-27fc35625e96')
|
||||
[-22,2] 168636.9728 ('2074-09-03 06:20:20.936','7624ce27-9bff-4e9d-3f18-6851a97dd0ca')
|
||||
[-22,-62] -75192.4989 ('2085-10-11 18:51:12.855','a4c4d0ed-f448-244e-1723-ca1bba816f2b')
|
||||
[-2,-90] 133592.5064 ('2010-10-28 17:18:04.633','8ba9103b-f90c-b49b-38c1-223ae5f42bf7')
|
||||
[-94,80] 197330.6359 ('2024-03-30 19:08:45.772','83442013-3677-5097-065d-72dfbe8a3506')
|
||||
[23] 167557.6237 ('2078-07-25 18:54:42.480','be14d98e-5b24-54ee-c959-d24fa9a58fdd')
|
||||
[46,-10,-63] 185107.1979 ('2040-10-07 03:06:53.504','5ed1fe6a-9313-41d7-4bf9-3948e961509f')
|
||||
[-107,68] -163781.3045 ('2021-12-21 16:18:58.933','7b634f19-0863-829e-484b-be288aab54a1')
|
||||
[-35,-116,73] -203577.5379 ('2093-08-01 17:21:09.407','d371bad4-b098-ffdd-f84c-6a02390c2939')
|
||||
[61] 152284.9386 ('2089-12-20 16:21:33.149','9e8426c1-278a-4d9c-4076-364a95b065e3')
|
||||
[75] 170968.4171 ('2020-07-17 12:45:31.975','47397a81-bda7-8bd9-59f7-d60e2204fe99')
|
||||
[-115,93] -173740.5652 ('2098-04-25 19:10:33.327','117e31dd-102e-ee6c-0dbd-0a4203c18ca5')
|
||||
[-20,4,21] 63834.8685 ('2000-07-08 14:09:40.271','10b0fa48-55a3-755a-4a44-36315ae04c1c')
|
||||
[-110,117,91] -160640.1506 ('1998-04-18 06:58:04.479','6dfa3a8e-6e65-543c-5f50-1ff45835aa5a')
|
||||
[62] 63817.7977 ('2043-01-23 23:07:18.972','98b8ef31-4f65-2f8b-1ea7-b1473900099e')
|
||||
[-2] -175477.0173 ('2007-01-16 04:46:14.781','ec92f616-6e1f-003a-54c6-c5f9118d2f1b')
|
||||
[] 197663.3035 ('2046-06-30 14:04:56.788','fb3244a4-8af2-104f-2a6f-25a7b7b9a112')
|
||||
[-24] -174299.4691 ('2058-02-23 11:50:58.839','d63ee868-fa93-bf8b-0264-8ebbceb13e3b')
|
||||
[95,38] -65083.7371 ('2015-03-10 10:33:16.429','47bd199c-f99e-51ea-84e9-b65cce9d167c')
|
||||
[91,110,72] 130908.9643 ('2036-03-16 12:17:53.679','0dd4ca31-1e09-d7e0-f3df-60cad3cfa805')
|
||||
[] 208972.3779 ('2034-03-05 19:29:21.994','1069d77c-dfd2-912e-60b8-3c5b964f7e11')
|
||||
[-32] 167938.505 ('2093-09-10 17:39:39.050','9d1025b6-2d0c-1d84-dafd-02668eb29270')
|
||||
[] 153744.6987 ('2088-10-02 08:02:11.024','a88e6cb7-2210-5ce5-6bcf-24afc0eca5b6')
|
||||
[67] -74220.665 ('2074-12-30 15:43:40.817','68096065-18c8-8aca-fd21-15330ead669d')
|
||||
[6] 66759.8938 ('2091-09-01 16:07:18.219','bb14f4cc-0b54-9a8c-e835-71333b28c03b')
|
||||
[-28,-82,9] 168625.3131 ('2002-03-20 18:02:30.321','405bb877-6e28-8b91-cb62-bd82a3fa797c')
|
||||
[] -19760.167 ('2044-11-08 04:52:03.325','13769348-9e58-0e75-3972-8bbadc150715')
|
||||
[] 160663.7797 ('2025-04-12 10:17:53.501','e6370321-94f5-97e6-0348-a84e72ff5b42')
|
||||
[-17,18] 99105.9856 ('1972-05-01 09:23:11.688','02618b9e-97cd-4698-d2e8-3f52f4c5a09a')
|
||||
[86,77] -116990.3914 ('1981-12-31 02:06:54.198','3ac42bb4-8652-b1a8-10bb-98f0337261f8')
|
||||
[-109,69,-63] -151527.3587 ('2001-01-17 08:19:56.504','77fe7ee2-f279-2855-bfd2-a7d7cee678cc')
|
||||
[] -57762.3928 ('1978-08-16 15:47:37.660','ab9a110a-fd8d-3c4c-5a49-34c2005536ce')
|
||||
[-77] 107274.6407 ('2017-01-12 09:03:02.657','c1ad4f17-cc54-45f3-9410-9c1011653f6d')
|
||||
[] 107133.641 ('2050-10-05 03:29:27.154','36e576aa-c77f-994e-1925-4a4c40da3a0f')
|
||||
[] 46672.2176 ('2094-01-21 17:25:39.144','e9ba850d-604e-bc7d-417c-1078e89d4615')
|
||||
[-87,-122,-65] -86258.4663 ('2081-06-17 00:37:45.498','64795221-9719-7937-b4d2-be5f30065ece')
|
||||
[-53] -48672.1424 ('1992-06-27 13:27:23.602','7c67bc31-c7bb-6197-fdca-f73329b976f2')
|
||||
[34] -108954.782 ('2096-07-03 20:06:30.632','9c1b37d7-4ced-9428-a0ae-34c5436b14c4')
|
||||
[] -168124.2364 ('1987-06-03 02:47:12.945','d1c39af4-f920-5095-b8e2-0f878950167b')
|
||||
[] -112431.4799 ('2021-07-26 04:04:58.527','da07a72d-7e1f-8890-4c4b-326835d11b39')
|
||||
[-35,-95,58] -181254.9139 ('2086-11-12 14:17:14.473','22f74d0b-dfc0-3f7a-33f4-8055d8fa7846')
|
||||
[98,119] 11468.5238 ('2092-02-25 08:07:07.695','a1fb97bf-1885-6715-c233-b88a6cd111e4')
|
||||
[] 82333.8963 ('1989-11-22 22:38:57.012','a2b82b5b-8331-555c-579b-de4b0eeb7e81')
|
||||
[-5,-66,69] 32055.8376 ('2040-12-17 13:49:08.704','4537d25e-a2db-ea9a-8e24-a16ed7e0c6e4')
|
||||
[81,-84,-24] -210815.2512 ('2047-06-09 10:30:06.922','ac3c5b5f-f977-2830-c398-d10a6076a498')
|
||||
[84,-105] -175413.7733 ('1998-11-03 01:30:21.191','c535feac-1943-c0a1-23f0-645d5406db24')
|
||||
[58,31] -335.8512 ('1973-07-09 09:21:10.444','24a7dd3d-2565-1de3-05d9-e45fd8ba7729')
|
||||
[-49,-47] 177399.2836 ('2049-03-15 12:33:00.190','e4432b9b-61e9-d451-dc87-ae3b9da6fd35')
|
||||
[] 211525.2349 ('2106-01-11 07:44:18.918','23315435-7132-05b5-5a9b-c2c738433a87')
|
||||
[45,-95,-39] -15314.9732 ('2055-10-29 10:51:12.182','833b2efa-8c72-f5f6-3040-cb4831e8ceb9')
|
||||
[] 213384.5774 ('2067-02-10 19:02:42.113','0cd7f438-caa7-0d21-867c-1fdb6d67d797')
|
||||
[99] -147316.5599 ('2000-05-09 17:37:34.776','a3ea6796-38d5-72ff-910d-8b4300831916')
|
||||
[] 8828.2471 ('1993-11-30 13:53:22.503','7209213f-38bb-cfed-1955-f1fad5a9577a')
|
||||
[117,9,-35] -134812.6269 ('2065-09-04 20:47:26.589','d33d0d6f-b9c0-2850-4593-cfc9f1e20a4d')
|
||||
[-35,-58,-101] -9101.5369 ('2023-08-24 17:56:11.695','87fbe3f9-b1f0-c030-a4c0-8662045923b4')
|
||||
[-58,87] 122510.9099 ('2019-08-09 14:40:29.849','c1d3a2cc-878f-c2c3-4a0b-10e98cda8b4a')
|
||||
[4,19,58] -13496.8672 ('2027-05-01 06:11:48.659','8996ae31-d670-cbfe-b735-b16b7c3b3476')
|
||||
[23,-75,-89] -51218.286 ('2010-06-01 22:49:03.396','d32b8b61-cc3e-31fa-2a2a-abefa60bfcee')
|
||||
[50] -45297.4315 ('2087-04-15 03:46:08.247','04fe9603-97fc-07a4-6248-0f21e408c884')
|
||||
[-23,17,63] 89185.9462 ('2065-10-26 05:27:12.817','a5fbf764-70b4-8b65-4a8f-7550abca3859')
|
||||
[-6] -129925.369 ('2013-11-05 03:44:45.233','11db26b3-e2b5-b9fa-6b0e-79c43a2e67ab')
|
||||
[-72,-108] 203171.5475 ('2000-01-28 06:34:58.032','14d5399e-7949-20c7-0e47-85e2fce5836c')
|
||||
[-73,34,-27] 2676.7265 ('2057-10-25 11:37:10.049','00049a92-4350-badb-3764-dd7f019b9b31')
|
||||
[65,-7] -153472.9461 ('1973-04-11 23:34:41.245','e0a0324d-1552-d11e-f3a5-fbd822d206c5')
|
||||
[] 81837.7838 ('2041-09-20 17:56:39.712','f7923f2c-e526-1706-79b9-58045d9deaa7')
|
||||
[-113,8] 173192.6905 ('2066-04-02 06:59:59.356','e3013e5c-92e3-c03c-b57a-e1939e00a1a7')
|
||||
[107] 9694.1102 ('1984-11-02 10:11:34.034','e973db18-07b7-2117-f3ba-e7002adfa939')
|
||||
[] -76460.9664 ('2051-02-10 06:54:42.143','b8344c22-9e8a-7052-c644-9c3e5989cdf1')
|
||||
[59,59,0] 27041.7606 ('2083-02-17 15:21:22.547','4d6b137b-a3e1-f36d-2c0c-c8d718dda388')
|
||||
[-114] 133673.963 ('2005-10-02 16:34:27.452','04785b75-30e5-af8b-547e-d15bcb7f49fb')
|
||||
[43] -169861.2 ('2006-12-13 06:26:13.923','cb865d38-d961-d7f9-acbb-583b9f31252f')
|
||||
[] 197115.2174 ('2060-04-08 01:17:00.488','0f26c4b4-b24c-1fd5-c619-31bcf71a4831')
|
||||
[-25] -200081.9506 ('2055-12-24 23:30:16.276','0b32ad69-2c84-4269-9718-e3171482878a')
|
||||
[14,110] -40196.4463 ('2084-08-13 16:37:07.588','ed882071-acba-b3ab-5d77-d79a9544a834')
|
||||
[-62,-71,-82] -154958.9747 ('2100-07-07 23:32:53.741','7711c7c1-0d22-e302-fc86-61ef5e68db96')
|
||||
[96,-114,-101] 78910.332 ('2100-07-19 12:02:27.109','756bfd26-c4b3-94b8-e991-c7ab7a833b76')
|
||||
[49] 80117.2267 ('1970-07-04 00:50:56.748','aebac019-9054-4a77-2ccd-8801fc4a7496')
|
||||
[] 102078.4801 ('2055-01-06 22:22:33.624','21f2e59a-a1ca-5df3-27fd-aa95456cfbe5')
|
||||
[-106] -108728.4237 ('2020-05-27 08:56:18.121','6b7b6674-9342-2360-4cc0-f7ef8a2404de')
|
||||
[] 173213.5631 ('2034-01-18 16:04:16.059','2dc0038d-67c1-f0ee-280b-f3f0f536b01a')
|
||||
[42] 139872.2503 ('2001-07-16 07:09:28.754','d6487da6-1077-1053-f314-9a1079f5df15')
|
||||
[] 1107.5244 ('2031-02-26 12:06:00.846','b32bee8f-85b7-3c71-bb24-9a0093e6a08c')
|
||||
[] 85892.8913 ('2088-04-13 11:54:18.514','84f3b59b-8d23-78a6-3032-91392344584f')
|
||||
[43] -109644.2714 ('1974-07-04 11:45:43.139','cf722ca8-15f5-6fe2-997c-0cf88e95e902')
|
||||
[] 212557.3762 ('2069-03-03 04:21:08.439','9e676cac-36e6-2962-f7b1-578214f0dfbd')
|
||||
[-128,55] 80471.0777 ('1970-04-01 15:54:40.257','ca358854-416b-9c95-0b9b-c7fed7bb7cb5')
|
||||
[-30,-54] -132205.4512 ('2017-12-15 19:54:15.750','3558faa4-2d2f-c533-437f-1e03d3600f1d')
|
||||
[-116,-72] -91499.667 ('2105-09-23 18:06:17.755','07bb6e47-3234-c268-40d7-332388dc06f8')
|
||||
[] -201636.5228 ('2085-01-27 04:54:42.717','86c3bdc3-ff0f-1723-07c2-845aa3c02370')
|
||||
[-103,-39] 44330.7722 ('2064-07-02 08:08:28.068','0869c79d-6bdd-5d2d-a3d1-ffe13f6aa810')
|
||||
[99] -31035.5391 ('2093-07-25 22:50:23.026','aeb59338-254f-dc09-fbd7-263da415e211')
|
||||
[101] 157961.4729 ('2036-05-03 23:35:07.845','8b6221a9-8dad-4655-7460-6b3031b06893')
|
||||
[111] 84732.4403 ('1997-04-06 12:10:18.624','08806a79-59f4-c833-eedc-a200bb851767')
|
||||
[9,-48] -190491.559 ('2031-11-03 16:47:03.757','914e6166-c96e-e0e4-101a-0bb516cf5a2f')
|
||||
[-41] -132501.8311 ('2089-11-21 18:38:28.848','6de6cc8d-3c49-641e-fb12-87ed5ecb97b0')
|
||||
[77] 64903.6579 ('1985-04-17 13:08:03.998','26484b8a-f3f1-587f-7777-bc7a57a689c3')
|
||||
[] -54259.6828 ('1973-07-09 09:21:10.444','9d1025b6-2d0c-1d84-dafd-02668eb29270')
|
||||
[88] 21968.7945 ('2049-03-15 12:33:00.190','a88e6cb7-2210-5ce5-6bcf-24afc0eca5b6')
|
||||
[-1] -2668.69 ('2106-01-11 07:44:18.918','68096065-18c8-8aca-fd21-15330ead669d')
|
||||
[-103,75] -75192.4989 ('2055-10-29 10:51:12.182','bb14f4cc-0b54-9a8c-e835-71333b28c03b')
|
||||
[110] 97330.6359 ('2067-02-10 19:02:42.113','405bb877-6e28-8b91-cb62-bd82a3fa797c')
|
||||
[-22,2] 85107.1979 ('2000-05-09 17:37:34.776','13769348-9e58-0e75-3972-8bbadc150715')
|
||||
[-22,-62] -3577.5379 ('1993-11-30 13:53:22.503','e6370321-94f5-97e6-0348-a84e72ff5b42')
|
||||
[-2,-90] 70968.4171 ('2065-09-04 20:47:26.589','02618b9e-97cd-4698-d2e8-3f52f4c5a09a')
|
||||
[-94,80] 63834.8685 ('2023-08-24 17:56:11.695','3ac42bb4-8652-b1a8-10bb-98f0337261f8')
|
||||
[23] 63817.7977 ('2019-08-09 14:40:29.849','77fe7ee2-f279-2855-bfd2-a7d7cee678cc')
|
||||
[46,-10,-63] 97663.3035 ('2027-05-01 06:11:48.659','ab9a110a-fd8d-3c4c-5a49-34c2005536ce')
|
||||
[-107,68] -65083.7371 ('2010-06-01 22:49:03.396','c1ad4f17-cc54-45f3-9410-9c1011653f6d')
|
||||
[-35,-116,73] 8972.3779 ('2087-04-15 03:46:08.247','36e576aa-c77f-994e-1925-4a4c40da3a0f')
|
||||
[61] 53744.6987 ('2065-10-26 05:27:12.817','e9ba850d-604e-bc7d-417c-1078e89d4615')
|
||||
[75] 66759.8938 ('2013-11-05 03:44:45.233','64795221-9719-7937-b4d2-be5f30065ece')
|
||||
[-115,93] -19760.167 ('2000-01-28 06:34:58.032','7c67bc31-c7bb-6197-fdca-f73329b976f2')
|
||||
[-20,4,21] 99105.9856 ('2057-10-25 11:37:10.049','9c1b37d7-4ced-9428-a0ae-34c5436b14c4')
|
||||
[-110,117,91] -51527.3587 ('1973-04-11 23:34:41.245','d1c39af4-f920-5095-b8e2-0f878950167b')
|
||||
[62] 7274.6407 ('2041-09-20 17:56:39.712','da07a72d-7e1f-8890-4c4b-326835d11b39')
|
||||
[-2] 46672.2176 ('2066-04-02 06:59:59.356','22f74d0b-dfc0-3f7a-33f4-8055d8fa7846')
|
||||
[] -48672.1424 ('1984-11-02 10:11:34.034','a1fb97bf-1885-6715-c233-b88a6cd111e4')
|
||||
[-24] -68124.2364 ('2051-02-10 06:54:42.143','a2b82b5b-8331-555c-579b-de4b0eeb7e81')
|
||||
[95,38] -81254.9139 ('2083-02-17 15:21:22.547','4537d25e-a2db-ea9a-8e24-a16ed7e0c6e4')
|
||||
[91,110,72] 82333.8963 ('2005-10-02 16:34:27.452','ac3c5b5f-f977-2830-c398-d10a6076a498')
|
||||
[] -10815.2512 ('2006-12-13 06:26:13.923','c535feac-1943-c0a1-23f0-645d5406db24')
|
||||
[-32] -335.8512 ('2060-04-08 01:17:00.488','24a7dd3d-2565-1de3-05d9-e45fd8ba7729')
|
||||
[] 11525.2349 ('2055-12-24 23:30:16.276','e4432b9b-61e9-d451-dc87-ae3b9da6fd35')
|
||||
[67] 13384.5774 ('2084-08-13 16:37:07.588','23315435-7132-05b5-5a9b-c2c738433a87')
|
||||
[6] 8828.2471 ('2100-07-07 23:32:53.741','833b2efa-8c72-f5f6-3040-cb4831e8ceb9')
|
||||
[-28,-82,9] -9101.5369 ('2100-07-19 12:02:27.109','0cd7f438-caa7-0d21-867c-1fdb6d67d797')
|
||||
[] -13496.8672 ('1970-07-04 00:50:56.748','a3ea6796-38d5-72ff-910d-8b4300831916')
|
||||
[] -45297.4315 ('2055-01-06 22:22:33.624','7209213f-38bb-cfed-1955-f1fad5a9577a')
|
||||
[-17,18] -29925.369 ('2020-05-27 08:56:18.121','d33d0d6f-b9c0-2850-4593-cfc9f1e20a4d')
|
||||
[86,77] 2676.7265 ('2034-01-18 16:04:16.059','87fbe3f9-b1f0-c030-a4c0-8662045923b4')
|
||||
[-109,69,-63] 81837.7838 ('2001-07-16 07:09:28.754','c1d3a2cc-878f-c2c3-4a0b-10e98cda8b4a')
|
||||
[] 9694.1102 ('2031-02-26 12:06:00.846','8996ae31-d670-cbfe-b735-b16b7c3b3476')
|
||||
[-77] 27041.7606 ('2088-04-13 11:54:18.514','d32b8b61-cc3e-31fa-2a2a-abefa60bfcee')
|
||||
[] -69861.2 ('1974-07-04 11:45:43.139','04fe9603-97fc-07a4-6248-0f21e408c884')
|
||||
[] -81.9506 ('2069-03-03 04:21:08.439','a5fbf764-70b4-8b65-4a8f-7550abca3859')
|
||||
[-87,-122,-65] -54958.9747 ('1970-04-01 15:54:40.257','11db26b3-e2b5-b9fa-6b0e-79c43a2e67ab')
|
||||
[-53] 80117.2267 ('2017-12-15 19:54:15.750','14d5399e-7949-20c7-0e47-85e2fce5836c')
|
||||
[34] -8728.4237 ('2105-09-23 18:06:17.755','00049a92-4350-badb-3764-dd7f019b9b31')
|
||||
[] 39872.2503 ('2085-01-27 04:54:42.717','e0a0324d-1552-d11e-f3a5-fbd822d206c5')
|
||||
[] 85892.8913 ('2064-07-02 08:08:28.068','f7923f2c-e526-1706-79b9-58045d9deaa7')
|
||||
[-35,-95,58] 12557.3762 ('2093-07-25 22:50:23.026','e3013e5c-92e3-c03c-b57a-e1939e00a1a7')
|
||||
[98,119] -32205.4512 ('2036-05-03 23:35:07.845','e973db18-07b7-2117-f3ba-e7002adfa939')
|
||||
[] -1636.5228 ('1997-04-06 12:10:18.624','b8344c22-9e8a-7052-c644-9c3e5989cdf1')
|
||||
[-5,-66,69] -31035.5391 ('2031-11-03 16:47:03.757','4d6b137b-a3e1-f36d-2c0c-c8d718dda388')
|
||||
[81,-84,-24] 84732.4403 ('2089-11-21 18:38:28.848','04785b75-30e5-af8b-547e-d15bcb7f49fb')
|
||||
[84,-105] -32501.8311 ('1985-04-17 13:08:03.998','cb865d38-d961-d7f9-acbb-583b9f31252f')
|
||||
[58,31] 95437.1166 ('1977-06-10 06:40:13.164','0f26c4b4-b24c-1fd5-c619-31bcf71a4831')
|
||||
[-49,-47] 32232.0218 ('2006-10-31 16:14:17.332','0b32ad69-2c84-4269-9718-e3171482878a')
|
||||
[] -8085.7941 ('1995-02-28 19:24:55.774','ed882071-acba-b3ab-5d77-d79a9544a834')
|
||||
[45,-95,-39] -15528.0377 ('2090-01-30 21:38:09.084','7711c7c1-0d22-e302-fc86-61ef5e68db96')
|
||||
[] -26490.6032 ('2064-06-06 03:33:21.798','756bfd26-c4b3-94b8-e991-c7ab7a833b76')
|
||||
[99] 35137.0312 ('2029-05-20 02:21:06.599','aebac019-9054-4a77-2ccd-8801fc4a7496')
|
||||
[] -35249.6041 ('2103-07-16 18:29:01.847','21f2e59a-a1ca-5df3-27fd-aa95456cfbe5')
|
||||
[117,9,-35] -20390.4167 ('2051-04-04 01:10:56.314','6b7b6674-9342-2360-4cc0-f7ef8a2404de')
|
||||
[-35,-58,-101] -86622.5332 ('2056-01-31 05:30:53.382','2dc0038d-67c1-f0ee-280b-f3f0f536b01a')
|
||||
[-58,87] -38301.9728 ('1993-06-09 12:46:54.102','d6487da6-1077-1053-f314-9a1079f5df15')
|
||||
[4,19,58] -19098.0416 ('2046-03-01 07:58:38.749','b32bee8f-85b7-3c71-bb24-9a0093e6a08c')
|
||||
[23,-75,-89] -57396.8139 ('1994-03-07 15:06:46.346','84f3b59b-8d23-78a6-3032-91392344584f')
|
||||
[50] 15536.4639 ('2101-06-20 20:16:49.230','cf722ca8-15f5-6fe2-997c-0cf88e95e902')
|
||||
[-23,17,63] 6790.5373 ('2033-08-28 21:52:52.011','9e676cac-36e6-2962-f7b1-578214f0dfbd')
|
||||
[-6] 55706.5159 ('2073-12-23 07:06:46.299','ca358854-416b-9c95-0b9b-c7fed7bb7cb5')
|
||||
[-72,-108] -86272.6801 ('2011-10-08 23:52:57.079','3558faa4-2d2f-c533-437f-1e03d3600f1d')
|
||||
[-73,34,-27] 99270.5967 ('2100-01-02 21:12:36.759','07bb6e47-3234-c268-40d7-332388dc06f8')
|
||||
[65,-7] -47051.3089 ('2045-02-03 08:35:08.678','86c3bdc3-ff0f-1723-07c2-845aa3c02370')
|
||||
[] -73019.898 ('2031-11-03 03:51:00.078','0869c79d-6bdd-5d2d-a3d1-ffe13f6aa810')
|
||||
[-113,8] 69167.0269 ('2100-08-12 02:10:36.637','aeb59338-254f-dc09-fbd7-263da415e211')
|
||||
[107] 20867.6436 ('2032-05-30 20:42:14.359','8b6221a9-8dad-4655-7460-6b3031b06893')
|
||||
[] -44814.8969 ('2014-10-07 06:52:22.047','08806a79-59f4-c833-eedc-a200bb851767')
|
||||
[59,59,0] 5445.4157 ('2089-11-28 09:02:07.006','914e6166-c96e-e0e4-101a-0bb516cf5a2f')
|
||||
[-114] 92856.7823 ('2028-11-13 18:19:16.001','6de6cc8d-3c49-641e-fb12-87ed5ecb97b0')
|
||||
[43] -2480.1718 ('2102-05-21 16:10:28.701','26484b8a-f3f1-587f-7777-bc7a57a689c3')
|
||||
[] -68249.3014 ('2030-03-10 00:24:03.129','d2625c6e-dd01-7e12-e794-6601d4633dfc')
|
||||
[-25] -96391.8384 ('2079-01-14 14:29:39.356','125c0ffe-0cb6-c0ef-e4fe-cfa824d91cfc')
|
||||
[14,110] 99043.5601 ('2102-02-06 00:40:42.723','0bcc2764-a09e-7707-df0d-ba8de2228488')
|
||||
[-62,-71,-82] -19952.4405 ('2003-12-28 16:25:30.841','b91d069b-8866-f2a5-37a6-d476cafcb331')
|
||||
[96,-114,-101] -25989.8831 ('2026-05-13 15:46:53.209','cbbd4ea9-a80c-642f-2650-977c8e56adff')
|
||||
[49] -3848.9475 ('2102-06-09 05:38:10.156','097a67d1-a39a-b133-03ab-304e954bcd95')
|
||||
[] 69635.1325 ('2070-06-11 21:48:00.549','b9c6c1eb-2ee3-c50d-fb0f-05c7e06c77ce')
|
||||
[-106] 54574.7656 ('2087-08-21 07:15:19.514','b6cc520e-a251-0027-6f4a-26b3a8fc47d1')
|
||||
[] 65529.215 ('2011-07-24 06:41:14.268','bd1b3d45-44c7-f3c3-b521-5a42e095c66e')
|
||||
[42] 46705.3016 ('2042-09-26 17:17:50.524','d3a14a33-e1c6-9c99-66cf-dd8a6b03bbfe')
|
||||
[] 54751.8012 ('2048-12-26 02:02:23.706','ff698130-c509-0e1b-0a85-3989d6699004')
|
||||
[] -84690.1759 ('2063-10-25 19:01:38.315','8040b7c2-ef8f-b180-927f-4745e7a106c3')
|
||||
[43] 63776.0626 ('2021-01-25 10:03:59.774','0aaf8333-b1ea-4d85-33e1-8c715179c161')
|
||||
[] -7703.4808 ('2001-05-12 17:53:23.514','047489f8-7294-e929-f98e-a2044d26ed22')
|
||||
[-128,55] -23194.9926 ('2099-09-18 07:04:58.395','3035f0bf-bda6-9307-90f6-a34378b20d6c')
|
||||
[-30,-54] 98203.9762 ('2050-02-06 14:51:29.743','ccc3d3fd-64dc-65a1-61e1-384e83e3d641')
|
||||
[-116,-72] -13519.4648 ('1998-04-09 16:50:26.194','38810a09-9c5b-9a6f-4b4c-134aa551d6ba')
|
||||
[] -6898.0943 ('2099-09-13 20:00:52.619','255e9952-300f-0153-3a7f-8865d1b6683c')
|
||||
[-103,-39] -52030.6657 ('2047-10-28 16:47:28.315','385abde4-14d6-ed9e-bd01-e641dd0b5ed5')
|
||||
[99] -42787.2791 ('1996-10-22 16:24:52.458','e522d1ea-ffae-14f6-d95c-14dfdaf2eb83')
|
||||
[101] -11540.4113 ('1981-07-17 18:47:34.268','918f1eea-b5e7-b10b-96dd-47cdcd470a1a')
|
||||
[111] 71231.1796 ('1997-05-16 14:19:48.064','28ae2849-7667-d36f-7010-fa020d71eb79')
|
||||
[9,-48] 68698.7488 ('2078-03-06 02:00:34.565','3a37dc94-88d0-e885-8a2f-d37d135c5394')
|
||||
[-41] -14738.4502 ('2092-08-10 16:54:45.294','a629c44c-14ac-c7de-c6bc-a5eaac0063ed')
|
||||
[77] -47644.5561 ('2080-06-16 05:11:09.073','a46a60e2-c8ac-e8de-4b10-2a653c66c751')
|
||||
-
|
||||
|
@ -94,16 +94,16 @@ Float32 Float64
|
||||
7.317837e-36 -1.6511853645079817e-21
|
||||
-
|
||||
Decimal(9, 4) Decimal(18, 8) Decimal(18, 8)
|
||||
-18731.5032 81241713112.39967992 -10576027963457111164764.0798899532879521
|
||||
65289.5061 -27889310937.24180887 5807515838469365530027.7612329616030438
|
||||
-197586.1517 -751754543.85331084 3835903211857734974086.0358362773591932
|
||||
183596.0063 8217353434.4196403 13633006218585943284268.9826084812209912
|
||||
73041.2674 -88881500366.49430454 -148702703925022894263.3187064158377476
|
||||
101454.4494 -27768337.71540858 -634829280961262229789.4961995996929358
|
||||
-174012.0101 -13636289325.35403038 -3611949395160064991369.2765012316944096
|
||||
138203.8526 13556098030.08819271 134470734594381953531.9736002591779584
|
||||
15395.1766 -8047388876.97332962 16804394201271843589306.4234533639925009
|
||||
8569.7048 -49271659843.47126295 -14851374957489266092927.8687987539036841
|
||||
-18731.5032 -27768337.71540858 -9393543543230357843716.0041459374484681
|
||||
-97586.1517 -3636289325.35403038 3364376403318670133825.8224672630083466
|
||||
73041.2674 3556098030.08819271 -2446472555280036491886.6248666210495333
|
||||
-74012.0101 -8047388876.97332962 -1097064725002692978976.3763759594690971
|
||||
15395.1766 -9271659843.47126295 5428073503721506689195.250326552245674
|
||||
-93143.0664 -1797039080.46100129 -8559656833301969702973.2550203153949345
|
||||
46848.5225 -7332762471.23822513 6692780327859072322513.5175470507222506
|
||||
-85331.598 -7937795415.83578394 6508457918219676369805.8207979274851797
|
||||
-31470.8994 1482606444.06230976 -8371832329716119186316.4300878863977591
|
||||
32104.097 -9071727536.35797124 1491705856202199878279.4124322332399575
|
||||
-
|
||||
Tuple(Int32, Int64)
|
||||
(-187315032,8124171311239967992)
|
||||
@ -225,25 +225,25 @@ U6
|
||||
\'%Y~t9
|
||||
RL,{Xs\\tw
|
||||
-
|
||||
[] -27467.1221 ('2021-03-08 00:39:14.331','08ec773f-cded-8c46-727f-954768082cbf')
|
||||
[] 204013.7193 ('2026-05-05 02:20:23.160','30f6d580-cb25-8d4f-f869-fc10128b3389')
|
||||
[-122] -9432.2617 ('2001-08-23 04:05:41.222','f7bf2154-78c3-8920-e4d3-a374e22998a4')
|
||||
[-30,61] -133488.2399 ('2048-05-14 06:05:06.021','a6af106c-b321-978b-fa79-338c9e342b5a')
|
||||
[-1] 58720.0591 ('1976-06-07 20:26:18.162','fc038af0-ba31-8fdc-1847-37328ef161b0')
|
||||
[1] -18736.7874 ('1977-03-10 01:41:16.215','3259d377-a92d-3557-9045-4ad1294d55d5')
|
||||
[34,-10] -99367.9009 ('2031-05-08 07:00:41.084','0b38ebc5-20a6-be3d-8543-23ce3546f49c')
|
||||
[110] 31562.7502 ('2045-02-27 08:46:14.976','74116384-cb3e-eb00-0102-fb30ddea5d5f')
|
||||
[114] -84125.1554 ('2023-06-06 03:55:06.492','bf9ab359-ef9f-ad11-7e6c-160368b1e5ea')
|
||||
[124] -114719.5228 ('2010-11-11 19:57:23.722','c1046ffb-3415-cc3a-509a-e0005856d7d7')
|
||||
[] -89844.0836 ('2057-10-03 21:07:16.864','fa79338c-9e34-2b5a-64b7-ab28e4f8c281')
|
||||
[] 58720.0591 ('2048-05-14 06:05:06.021','854323ce-3546-f49c-08ec-773fcded8c46')
|
||||
[-122] -9432.2617 ('2010-11-11 19:57:23.722','7e6c1603-68b1-e5ea-3259-d377a92d3557')
|
||||
[-30,61] -16883.7384 ('2067-03-02 22:51:41.201','8dab5bc5-a641-5a33-7a35-02d6b3af106f')
|
||||
[-1] -82719.0473 ('2050-09-09 13:42:43.295','138fe3b2-602c-4249-f2dc-175ea47e2429')
|
||||
[1] -99367.9009 ('1976-06-07 20:26:18.162','509ae000-5856-d7d7-0b38-ebc520a6be3d')
|
||||
[34,-10] 97602.7584 ('1995-09-16 10:43:48.516','18473732-8ef1-61b0-a6af-106cb321978b')
|
||||
[110] -84125.1554 ('2031-05-08 07:00:41.084','90454ad1-294d-55d5-30f6-d580cb258d4f')
|
||||
[114] 4013.7193 ('2021-03-08 00:39:14.331','f869fc10-128b-3389-c104-6ffb3415cc3a')
|
||||
[124] 10712.855 ('2005-06-14 02:52:57.504','727f9547-6808-2cbf-fc03-8af0ba318fdc')
|
||||
-
|
||||
[] 1900051923 { -189530.5846 h -5.6279699579452485e47 ('1984-12-06','2028-08-17 03:05:01','2036-04-02 20:52:28.468','4b3d498c-dd44-95c1-5b75-921504ec5d8d') F743
|
||||
[-102,-118] 392272782 Eb -14818.02 o -2.664492247169164e59 ('2082-12-26','2052-09-09 03:50:50','2088-04-21 02:07:08.245','aeb9c26e-0ee7-2b8e-802b-2a96319b8e60') CBF4
|
||||
[-71] 775049089 \N -158115.1178 w 4.1323844687113747e-305 ('2108-04-19','2090-07-31 13:45:26','2076-07-10 06:11:06.385','57c69bc6-dddd-0975-e932-a7b5173a1304') EB1D
|
||||
[-28,100] 3675466147 { -146685.1749 h 3.6676044396877755e142 ('2017-10-25','2100-02-28 15:07:18','2055-10-14 03:36:20.056','14949dae-dfa8-a124-af83-887348b2f609') 6D88
|
||||
[-23] 2514120753 (`u, -119659.6174 w 1.3231258347475906e34 ('2141-04-06','2074-08-10 03:25:12','1976-12-04 15:31:55.745','86a9b3c1-4593-4d56-7762-3aa1dd22cbbf') AD43
|
||||
[11,-36] 3308237300 \N 171205.1896 \N 5.634708707075817e195 ('1974-10-31','1993-12-24 06:38:45','2038-07-15 02:22:51.805','63d999b8-8cca-e237-c4a4-4dd7d0096f65') 609E
|
||||
[39] 1614362420 `4A8P 157144.063 o -1.1843143253872814e-255 ('2147-08-18','2072-09-28 15:27:27','2073-07-10 09:19:58.146','6483f5c0-8733-364c-4fa0-9948d32e8903') A886
|
||||
[48,-120] 3848918261 1<Lu3 91487.2852 h -1.9300793134783347e263 ('2050-12-04','2076-04-05 06:33:05','2103-12-13 20:48:44.066','e522b794-b8fa-3f11-003b-3b6b088ff941') 556E
|
||||
[55] 3047524030 li&lF 93462.3661 h 2.8979254388809897e54 ('1976-01-10','1987-07-13 20:25:51','2021-11-19 01:44:08.986','486e5b26-5fe8-fe3e-12ef-09aee40643e0') 9E75
|
||||
[100,-42] 3999367674 -112975.9852 h 2.658098863752086e-160 ('2081-05-13','2071-08-07 10:34:33','1980-11-11 09:00:44.669','9754e8ac-5145-befb-63d9-a12dd1cf1f3a') DF63
|
||||
[] 1900051923 { -89530.5846 h -1.9300793134783347e263 ('2081-06-01','2078-08-20 17:36:52','2103-12-13 20:48:44.066','77623aa1-dd22-cbbf-9754-e8ac5145befb') B9D2
|
||||
[-102,-118] 392272782 Eb -54771.1235 w 1.862030138254951e-275 ('2069-11-06','2080-03-28 05:11:25','2074-02-13 07:29:40.749','af838873-48b2-f609-6483-f5c08733364c') FD02
|
||||
[-71] 775049089 \N -46685.1749 o -1.1843143253872814e-255 ('2024-01-16','2090-10-31 16:35:45','2073-07-10 09:19:58.146','802b2a96-319b-8e60-63d9-99b88ccae237') CB06
|
||||
[-28,100] 3675466147 { 2713.8171 h 7.716471250409565e-150 ('2084-01-01','2062-08-12 20:41:53','2034-02-02 02:30:44.960','9e60f4cb-6e55-1deb-5ac4-d66a86a8886d') 8502
|
||||
[-23] 2514120753 (`u, -58115.1178 \N 5.634708707075817e195 ('2006-11-21','1998-08-21 14:20:10','2038-07-15 02:22:51.805','e932a7b5-173a-1304-e522-b794b8fa3f11') 0355
|
||||
[11,-36] 3308237300 \N 49981.1072 o 1.551329240281692e74 ('2001-08-12','2029-04-21 09:27:59','2085-03-11 12:17:17.374','4fa09948-d32e-8903-63df-43ad759e43f7') 1C98
|
||||
[39] 1614362420 `4A8P 1344.0939 o -0.00010017641870052119 ('2141-08-07','2031-08-07 08:29:42','2044-03-18 14:34:17.814','98714b2c-65e7-b5cb-a040-421e260c6d8d') 35D9
|
||||
[48,-120] 3848918261 1<Lu3 20577.5348 w -7.09663503573236e-160 ('2079-01-06','2058-07-13 22:47:30','2068-08-27 04:49:41.825','c4a44dd7-d009-6f65-1494-9daedfa8a124') D175
|
||||
[55] 3047524030 li&lF -19659.6174 o -2.664492247169164e59 ('2128-12-20','2032-01-08 03:14:46','2088-04-21 02:07:08.245','63d9a12d-d1cf-1f3a-57c6-9bc6dddd0975') 0926
|
||||
[100,-42] 3999367674 -14818.02 h 3.6676044396877755e142 ('2110-02-03','2070-07-11 04:59:41','2055-10-14 03:36:20.056','003b3b6b-088f-f941-aeb9-c26e0ee72b8e') 6897
|
||||
-
|
||||
|
@ -1,3 +1,3 @@
|
||||
[] 2947817982 "&" -69802.9769 "w" -1.9158530982937093e25 ["2003-05-15","1988-03-19 06:13:49","2090-04-14 03:58:26.029","91943d2e-480d-66b5-ee4c-1b5bb8eb7256"] "½O" []
|
||||
[-115] 481807067 ",{MM" -170235.0663 "o" 3.3808659558052087e155 ["2055-01-12","2070-08-09 03:49:21","2068-11-30 09:36:49.672","20b0e7b5-ad0e-177b-3054-c779b2a8ebe0"] "I\\u001C" ["e57178f9-4d10-2fa1-7c2d-53c5a65c3463"]
|
||||
[] 2947817982 "&" -69802.9769 "o" 3.3808659558052087e155 ["2142-01-24","2076-06-05 14:54:21","2068-11-30 09:36:49.672","ee4c1b5b-b8eb-7256-20b0-e7b5ad0e177b"] "´á" ["7c2d53c5-a65c-3463-a76e-e26583aca234"]
|
||||
[-115] 481807067 ",{MM" -45534.1174 "w" 1.711178201812925e-166 ["1994-01-04","1971-12-29 08:41:23","2012-03-25 07:11:39.573","3054c779-b2a8-ebe0-ec50-64cb1c494fbd"] "Ó\\u0000" ["055300b2-b400-653c-1ea0-2413e3a3af76"]
|
||||
{"1234":"5678"}
|
||||
|
@ -0,0 +1,25 @@
|
||||
32.077
|
||||
-421.374
|
||||
401.741
|
||||
19.925
|
||||
-53.055
|
||||
-741245.011359027
|
||||
-108826.704302334
|
||||
-885710.601317107
|
||||
200615.252943765
|
||||
571119.753066497
|
||||
-1810705720.77468465228544079155
|
||||
4423020457.03124833705321108749
|
||||
-7357115755.03893179428185573375
|
||||
-3596476105.34116783307269095642
|
||||
-882544888.46147190610682821046
|
||||
2998274172057708048.9272057168211482653001963259921827760845
|
||||
-59397657133291422934.9333984240607897191609175175045361436671
|
||||
39869165044835399916.6747138660882932389363995495451540473418
|
||||
-57185968744047146404.1855920695644202095475491426441451681562
|
||||
-45866526235163110880.4305861667709353032099072504822212330478
|
||||
1
|
||||
0
|
||||
1
|
||||
1
|
||||
1
|
@ -0,0 +1,5 @@
|
||||
select toString(x)::Decimal(6, 3) from generateRandom('x Decimal(6, 3)', 42) limit 5;
|
||||
select toString(x)::Decimal(15, 9) from generateRandom('x Decimal(15, 9)', 42) limit 5;
|
||||
select toString(x)::Decimal(30, 20) from generateRandom('x Decimal(30, 20)', 42) limit 5;
|
||||
select toString(x)::Decimal(60, 40) from generateRandom('x Decimal(60, 40)', 42) limit 5;
|
||||
select reinterpret(x, 'UInt8') from generateRandom('x Bool', 42) limit 5;
|
Loading…
Reference in New Issue
Block a user