ClickHouse/dbms/tests/performance/visit_param_extract_raw.xml

25 lines
872 B
XML
Raw Normal View History

<test>
<type>once</type>
<stop_conditions>
<any_of>
2019-05-17 11:42:41 +00:00
<average_speed_not_changing_for_ms>4000</average_speed_not_changing_for_ms>
<total_time_ms>10000</total_time_ms>
</any_of>
</stop_conditions>
<substitutions>
<substitution>
<name>param</name>
<values>
<value>'{"myparam":"test_string"}'</value>
<value>'{"myparam":{"nested_1":"test_string","nested_2":"test_2"}}'</value>
<value>'{"myparam":{"nested_1":"test_string","nested_2":"test_2","nested_1":"test_string","nested_2":"test_2","nested_1":"test_string","nested_2":"test_2"}}'</value>
</values>
</substitution>
</substitutions>
<query>SELECT count() FROM system.numbers WHERE NOT ignore(visitParamExtractRaw(materialize({param}), 'myparam'))</query>
</test>