diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2023-09-21 19:10:06 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2023-09-21 19:50:36 +0300 |
commit | e7d500fdc7894d82b7e2d827fdbde9cfbe0c2f72 (patch) | |
tree | 5e5c56bdfb562749c26732b25f0a90a72a311f6b | |
parent | d3c55bfee233908911d7f4eaf3c4f9cfd22a6164 (diff) | |
download | ydb-e7d500fdc7894d82b7e2d827fdbde9cfbe0c2f72.tar.gz |
Avoid using uniform_int_distribution<char> since it is non-standard extension.
-rw-r--r-- | ydb/library/yql/minikql/comp_nodes/ut/mkql_computation_node_ut.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/minikql/comp_nodes/ut/mkql_computation_node_ut.cpp b/ydb/library/yql/minikql/comp_nodes/ut/mkql_computation_node_ut.cpp index 1ddb962548..65e497ada0 100644 --- a/ydb/library/yql/minikql/comp_nodes/ut/mkql_computation_node_ut.cpp +++ b/ydb/library/yql/minikql/comp_nodes/ut/mkql_computation_node_ut.cpp @@ -52,7 +52,7 @@ std::vector<std::pair<ui16, double>> MakeOtherSamples() { std::vector<std::tuple<ui64, std::string, std::string, double, double, double, double>> MakeTpchSamples() { std::default_random_engine eng; std::uniform_int_distribution<ui64> dates(694303200000000ULL, 9124596000000005ULL); - std::uniform_int_distribution<ui8> keys(0U, 3U); + std::uniform_int_distribution<int> keys(0U, 3U); std::uniform_real_distribution<double> prices(900., 105000.0); std::uniform_real_distribution<double> taxes(0., 0.08); std::uniform_real_distribution<double> discs(0., 0.1); |