I have a long query with many transformations. I need to list all aggregation and transformation done within the query.
For example
select sum(a)as product,
sum(quantity)as salesprice,
productcodefrom factSalesgroupby
productcodeAs result, I need
Transformation column------------------------------------
sum(a) product
sum(quantity) salespricegroupby
productcode RegroupmentIs there a way to do it?