Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

701 B
Raw Blame
-- Automatically generated by Gravitino Spark SQL test
-- !query
select  i_brand_id brand_id, i_brand brand,
 	sum(ss_ext_sales_price) ext_price
 from date_dim, store_sales, item
 where d_date_sk = ss_sold_date_sk
 	and ss_item_sk = i_item_sk
 	and i_manager_id=36
 	and d_moy=12
 	and d_year=2001
 group by i_brand, i_brand_id
 order by ext_price desc, i_brand_id
limit 100
-- !query schema
struct<brand_id:bigint,brand:string,ext_price:decimal(17,2)>
-- !query output
1004001	edu packamalg #x	1991.22
2002002	importoimporto #x	1830.92
3002001	exportiexporti #x	1264.80
3004001	exportibrand #x	427.14
4004002	edu packedu pack #x	2801.12
6015006	scholarbrand #x	3150.63
7014001	edu packcorp #x	720.90