Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].

This commit is contained in:
Alexey Milovidov 2017-03-12 16:27:25 +03:00
parent 8184846ee0
commit 8f6966de5a

View File

@ -16,7 +16,7 @@ void ASTOrderByElement::formatImpl(const FormatSettings & settings, FormatState
{
settings.ostr << (settings.hilite ? hilite_keyword : "")
<< " NULLS "
<< (nulls_direction == direction ? " LAST" : " FIRST")
<< (nulls_direction == direction ? "LAST" : "FIRST")
<< (settings.hilite ? hilite_none : "");
}