sage/py3/lib/python3.10/site-packages/clickhouse_driver/columns/simpleaggregatefunctioncolumn.py

8 lines
235 B
Python

def create_simple_aggregate_function_column(spec, column_by_spec_getter):
# SimpleAggregateFunction(Func, Type) -> Type
inner = spec[24:-1].split(',', 1)[1].strip()
nested = column_by_spec_getter(inner)
return nested