mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
22 lines
311 B
C++
22 lines
311 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);
|
|
};
|
|
|
|
}
|