ClickHouse/tests/performance/redundant_functions_in_order_by.xml

11 lines
555 B
XML
Raw Normal View History

<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
</preconditions>
<query>SELECT CounterID, EventDate FROM hits_100m_single ORDER BY CounterID, exp(CounterID), sqrt(CounterID) FORMAT Null</query>
<query>SELECT CounterID, EventDate FROM hits_100m_single ORDER BY CounterID, EventDate, exp(CounterID), toDateTime(EventDate) FORMAT Null</query>
<query>SELECT CounterID, EventDate FROM hits_100m_single ORDER BY CounterID DESC, EventDate DESC, exp(CounterID), toDateTime(EventDate) FORMAT Null</query>
</test>