mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
<functions>
|
|
<function>
|
|
<type>executable</type>
|
|
<name>test_function</name>
|
|
<return_type>UInt64</return_type>
|
|
<argument>
|
|
<type>UInt64</type>
|
|
</argument>
|
|
<argument>
|
|
<type>UInt64</type>
|
|
</argument>
|
|
<format>TabSeparated</format>
|
|
<command>cd /; clickhouse-local --input-format TabSeparated --output-format TabSeparated --structure 'x UInt64, y UInt64' --query "SELECT x + y FROM table"</command>
|
|
<execute_direct>0</execute_direct>
|
|
</function>
|
|
<function>
|
|
<type>executable</type>
|
|
<name>test_function_with_parameter</name>
|
|
<return_type>UInt64</return_type>
|
|
<argument>
|
|
<type>UInt64</type>
|
|
</argument>
|
|
<argument>
|
|
<type>UInt64</type>
|
|
</argument>
|
|
<format>TabSeparated</format>
|
|
<command>cd /; clickhouse-local --input-format TabSeparated --output-format TabSeparated --structure 'x UInt64, y UInt64' --query "SELECT x + y + {test_parameter : UInt64} FROM table"</command>
|
|
<execute_direct>0</execute_direct>
|
|
</function>
|
|
</functions>
|