aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Planner/PlannerSorting.h
blob: c4e4e63497390a90700a5f37baa839e6e902b6f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <Core/SortDescription.h>

#include <Planner/PlannerContext.h>

namespace DB
{

/// Extract sort description from order by node
SortDescription extractSortDescription(const QueryTreeNodePtr & order_by_node, const PlannerContext & planner_context);

}