mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 00:54:43 +00:00
18 lines
625 B
XML
18 lines
625 B
XML
<test>
|
|
<substitutions>
|
|
<substitution>
|
|
<name>format</name>
|
|
<values>
|
|
<value>%F %T</value>
|
|
<value>%H:%M:%S</value>
|
|
<value>%Y-%m-%d %H:%M:%S</value>
|
|
<value>%m/%d/%Y %H:%M:%S</value>
|
|
<value>Hello</value>
|
|
<value>The current time is: %I:%M %p</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT count() FROM numbers(10000000) WHERE NOT ignore(toDateTime('2017-01-01 00:00:00') + number % 100000000 + rand() % 100000 AS t, formatDateTime(t, '{format}'))</query>
|
|
</test>
|