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

17 lines
679 B
XML

<test>
<preconditions>
<table_exists>default.hits_100m_single</table_exists>
</preconditions>
<query>SELECT * FROM hits_100m_single ORDER BY CounterID, EventDate LIMIT 100</query>
<query>SELECT * FROM hits_100m_single ORDER BY CounterID DESC, toStartOfWeek(EventDate) DESC LIMIT 100</query>
<query>SELECT * FROM hits_100m_single ORDER BY CounterID, EventDate, URL LIMIT 100</query>
<query>SELECT * FROM hits_100m_single WHERE CounterID IN (152220, 168777, 149234, 149234) ORDER BY CounterID DESC, EventDate DESC LIMIT 100</query>
<query>SELECT * FROM hits_100m_single WHERE UserID=1988954671305023629 ORDER BY CounterID, EventDate LIMIT 100</query>
</test>