ClickHouse/dbms/include/DB/Analyzers/TranslatePositionalArguments.h
2017-04-01 11:35:09 +03:00

22 lines
314 B
C++

#pragma once
#include <DB/Parsers/IAST.h>
namespace DB
{
class Context;
class WriteBuffer;
/** Transform GROUP BY, ORDER BY and LIMIT BY sections.
* Replace positional arguments (like ORDER BY 1, 2) to corresponding columns.
*/
struct TranslatePositionalArguments
{
void process(ASTPtr & ast);
};
}