ClickHouse/tests/performance/map_update.xml
2023-03-28 17:20:05 +00:00

23 lines
999 B
XML

<test>
<query>
WITH (range(10), range(10))::Map(String, UInt64) AS m1, (range(3), range(3))::Map(String, UInt64) AS m2
SELECT count() FROM numbers(500000)
WHERE NOT ignore(mapUpdate(materialize(m1), materialize(m2)))
</query>
<query>
WITH (range(10), range(10))::Map(String, UInt64) AS m1, (range(3), range(3))::Map(String, UInt64) AS m2
SELECT count() FROM numbers(500000)
WHERE NOT ignore(mapUpdate(materialize(m1), m2))
</query>
<query>
WITH (range(100), range(100))::Map(String, UInt64) AS m1, (range(30), range(30))::Map(String, UInt64) AS m2
SELECT count() FROM numbers(50000)
WHERE NOT ignore(mapUpdate(materialize(m1), materialize(m2)))
</query>
<query>
WITH (range(100), range(100))::Map(String, UInt64) AS m1, (range(30), range(30))::Map(String, UInt64) AS m2
SELECT count() FROM numbers(50000)
WHERE NOT ignore(mapUpdate(materialize(m1), m2))
</query>
</test>