ClickHouse/tests/performance/visit_param_extract_raw.xml
2020-04-18 15:54:16 +03:00

16 lines
631 B
XML

<test>
<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 zeros(2000000) WHERE NOT ignore(visitParamExtractRaw(materialize({param}), 'myparam'))</query>
</test>