Skip to content

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

14.0 KB
Raw Blame
-- Automatically generated by Gravitino Spark SQL test
-- !query
select 
	s_store_name,
	i_item_desc,
	sc.revenue,
	i_current_price,
	i_wholesale_cost,
	i_brand
 from store, item,
     (select ss_store_sk, avg(revenue) as ave
 	from
 	    (select  ss_store_sk, ss_item_sk, 
 		     sum(ss_sales_price) as revenue
 		from store_sales, date_dim
 		where ss_sold_date_sk = d_date_sk and d_month_seq between 1212 and 1212+11
 		group by ss_store_sk, ss_item_sk) sa
 	group by ss_store_sk) sb,
     (select  ss_store_sk, ss_item_sk, sum(ss_sales_price) as revenue
 	from store_sales, date_dim
 	where ss_sold_date_sk = d_date_sk and d_month_seq between 1212 and 1212+11
 	group by ss_store_sk, ss_item_sk) sc
 where sb.ss_store_sk = sc.ss_store_sk and 
       sc.revenue <= 0.1 * sb.ave and
       s_store_sk = sc.ss_store_sk and
       i_item_sk = sc.ss_item_sk
 order by s_store_name, i_item_desc
limit 100
-- !query schema
struct<s_store_name:string,i_item_desc:string,revenue:decimal(17,2),i_current_price:string,i_wholesale_cost:string,i_brand:string>
-- !query output
able	A lot certain winners give with a farmers; financial friends mo	3.49	7.80	2.96	amalgamalg #x
able	Able criteria could break normal, normal documents. Then metropolitan taxes may possess more huge early eyes. Sure long 	1.79	1.64	1.16	exportiimporto #x
able	Again avail	0.77	5.16	2.32	edu packbrand #x
able	Always political centres seem now never modest sets. Major comments may search additional, other guards. National, appropriate relations buy very.	3.05	4.48	3.95	edu packexporti #x
able	Anc	2.72	3.94	2.37	importoamalg #x
able	Annual exc	1.27	3.33	6.13	corpcorp #x
able	Annual forests meet. Even small instances occur feet. Different qualities replace. Main, new hands determine however for a ideas. Physical sides worry as	3.83	7.41	3.48	amalgamalg #x
able	As pra	2.20	4.56	3.14	scholarnameless #x
able	Aware, forthcoming students miss markedly healthy weekends; types should become oppo	1.73	1.09	14.27	edu packamalg #x
able	Awkward, typical places must not check only workers; bright parties restore studies. Men show about finally interested programmes; certainly economic soldiers meet there 	1.13	1.72	1.51	amalgedu pack #x
able	Badly back designers limit right things. Exotic, modern lines signal perhaps. Rationally unexpected flowers set.	0.27	3.06	2.47	exportiedu pack #x
able	Big, obvious commitments must provide also; strange women will collect 	1.09	7.69	2.53	importoexporti #x
able	Candidates will hold. Chief ages used to choose with the foundations; horrible, complex rates meet	0.22	1.08	0.72	exportiimporto #x
able	Children could see again ahead of the patients. Nice terms ought to get high materials. Odd others would enable at a others. Together common subjects shall not interrupt other, brig	2.27	4.90	2.94	scholaramalgamalg #x
able	Closer dependen	1.59	3.12	2.79	corpmaxi #x
able	Colleagues notice angrily witnesses. Private organs may not reduce visitors; also old pain	3.32	2.26	1.15	corpnameless #x
able	Conditions rise recently nearly aware horses. Difficult areas should anal	1.29	0.09	0.07	namelessunivamalg #x
able	Courses will show to the hours. Simple feelings	1.81	9.12	3.61	importoimporto #x
able	Current, important women give thousands. Firmly y	2.87	1.32	0.91	amalgedu pack #x
able	Detectives must not assess international prisoners. Accidents amount further actions. Organis	1.49	2.18	1.67	amalgexporti #x
able	Different shares shall last even words. Contracts make on a others. Far from awful colleagues know right years. Names know in a letters. High varieties ought to undergo successful, immed	0.38	5.94	2.25	edu packunivamalg #x
able	Effective sales see always good, ambitious symptoms. Particular, early needs sa	2.18	0.42	0.90	amalgscholar #x
able	Elsewhere certain protests should work together still strange cou	0.21	8.48	6.69	importounivamalg #x
able	Elsewhere free contacts would take well from a aspects. Trying, glad economies must begin equal emissions. Settlements used to sh	2.24	29.47	1.86	amalgscholar #x
able	Ever l	2.22	1.22	0.97	exportiexporti #x
able	F	0.97	4.46	0.85	edu packamalg #x
able	Facilities learn makers. Large, aware objections would appeal later. Ill explanations must tr	3.83	9.89	0.42	univunivamalg #x
able	Far, small levels get then public computers. Far experienced newspapers divide eventually in a careers. Objectives see black plants. Modern wome	3.13	78.78	4.91	amalgexporti #x
able	Final activities hope alongside p	2.55	7.90	4.26	importoedu pack #x
able	Fine old programmes may not mean. Public pp. may not believe however thus continued lines. Physical agenc	1.03	1.74	2.38	importomaxi #x
able	Firmly local premises shall not long recently empty minutes. Bad, individual nations will not choose als	2.76	4.06	1.90	edu packcorp #x
able	Forms fetch always new arms. New friends will make successfully journals. Available players take now police. Ulti	1.33	8.29	5.88	exportiexporti #x
able	Forward, welsh comments look social, minor conditions. Related soldiers should not go difficult	2.91	2.57	0.43	exportiedu pack #x
able	Forwards different yards might reflect perhaps unfair woo	2.53	68.85	53.01	exportiamalgamalg #x
able	Full, new holders follow keen re	3.47	0.50	0.22	amalgunivamalg #x
able	Highly level children handle hardly young, pleasant periods; environmental, irrelevant advantages can lead as with a times. Here legal arr	0.29	4.81	2.45	univmaxi #x
able	Horizontal nerves will not study just. Issues shall not imagine workshops. Relevant industries provide british, fresh others. Commercial, new houses give with the 	1.85	7.52	6.31	namelessunivamalg #x
able	However thick blocks could not learn also medical fingers. Like, european 	0.93	3.14	7.21	exportiamalg #x
able	Implicit, likely nati	2.31	9.93	6.85	edu packscholar #x
able	Important children vote so. Answers apply nevertheless free problems. Years hope easily united police. 	0.52	0.29	0.09	exportibrand #x
able	Individuals identify then speakers. Parts shall not pay most causes. Bottom, main clothes might not come somewhere dark, major calculations. Elections like italian purposes. Chinese action	3.13	2.10	1.55	corpbrand #x
able	Industrial students run communities. Home old differences change soon. There new tale	0.00	4.05	1.66	importonameless #x
able	Influential, new heels conceal. Free features will pop then. Very royal interests bring both low sources. So	2.34	4.18	2.09	edu packedu pack #x
able	Intentionally poor generations can benefit alone. Royal, new regions must see gloomily important, nearby functions. Unemployed, personal efforts reduce completely from a terms	0.65	5.35	3.10	edu packbrand #x
able	Invariably new goods want small, necessary surveys	0.96	6.35	3.93	brandcorp #x
able	Irish, close variations used to get years. Royal arts see increasingly hundreds. Empty trials prefer again nearly open ways; already human materials seize even	1.34	1.39	0.58	exportiedu pack #x
able	Keenly managerial cases will know other, darling respects. Beds purchase around concer	2.60	1.31	0.96	brandbrand #x
able	Keys should meet parties. Ministers leave members. Small, new students may take always individual letters. Video-taped levels think russian ingredients. Evident pieces secure merely biological, safe c	0.75	1.63	1.23	namelessbrand #x
able	Lists cannot continue rapidly goods. Improved, original applications say on	2.22	5.47	3.50	brandunivamalg #x
able	Loc	1.96	0.77	0.39	amalgexporti #x
able	Long-term services increase sure existing, poor progr	0.59	1.92	0.67	univbrand #x
able	Low temperatures would not browse houses; cultural stations cann	3.28	6.76	4.25	importoscholar #x
able	Main arrangements support red, chief othe	0.18	1.91	1.08	exportiexporti #x
able	Makers recognize effectively alone operations; properties forget very	2.84	3.18	4.92	edu packexporti #x
able	Male, human sales perform studies. Dependent, hostile services answer principles. Formal men show	3.55	8.66	2.68	amalgimporto #x
able	Millions give like the models. To	1.56	7.43	5.57	amalgedu pack #x
able	Minutes ought to carry about a operations. Also hidden terms zero approximately please local borders. Traditionally harsh pieces could not remain too patt	0.65	5.76	1.55	amalgedu pack #x
able	Modern men would not ask girls. Often p	0.30	4.00	2.28	importoamalgamalg #x
able	NULL	0.53	1.32	NULL	importobrand #x
able	National women find major, able shows. Direct visitors must not want indian clothes. Years must run slowly in the costs. Months mak	0.47	8.93	2.85	scholarunivamalg #x
able	Nerves may provide most to a representatives. Sad, available mechanisms give foreign projects. Loans imagine once recent, biological facilities. Economic directors 	0.44	3.39	2.67	corpunivamalg #x
able	New markets come faintly different readers; possible, right claims should apply most future, elderly functions. Free others result deliberately efforts.	2.53	6.47	4.27	exportiimporto #x
able	Nuclear orders find quite now direct materials. Ago alive markets affect often public rights; words bring actually. Available services may not vote thus to a functions; too given parties	1.71	3.67	4.78	importoedu pack #x
able	Objects see often changes. Conceivably current sectors would not deal therefore today good things. Only other votes might judge great items. Certainly accessible drugs must want in a funds; past 	1.19	6.02	2.91	scholarmaxi #x
able	Only obvious profits produce now. Swiftly necessary times used to formulate here circles. Primary drugs inform doubtless low cases; too previous concessions pay. V	3.36	3.96	1.74	maximaxi #x
able	Operations could not overlook. Pounds 	2.98	2.63	36.70	amalgexporti #x
able	Operations used to kill perhaps alwa	1.85	1.08	0.56	univamalgamalg #x
able	Organizations work probably. Material churches used to accept seconds; video-taped, secure subjects may spend good. Designs go reliable, known pupils. Politicians force in a	1.15	1.68	1.53	exportiunivamalg #x
able	Other, modern officials must not say. Sorry, major users m	0.60	0.89	0.46	edu packscholar #x
able	Particular parents run. Thus slow studies must think so much as in a women. Other courses would not mind by the images. Past, high families shall pray best still 	2.36	9.38	7.50	amalgscholar #x
able	Patient, secure individuals ought t	3.84	29.02	9.28	edu packimporto #x
able	Patiently full features speculate heavily in the r	1.60	4.94	1.91	importoimporto #x
able	Physical problems could know in a courts. Too major houses sit ultimately often vast reserves. Shareholders force circumstances. Likely notions require with the years; excellent, e	2.92	4.05	3.40	corpbrand #x
able	Plans follow studies. Local shoulders must present american goods. Here existing trousers ask very with the figures. Great teeth raise outside underlying objects. Appropriate	1.38	2.60	1.27	amalgexporti #x
able	Political, welcome feelings bring today islamic things. Colourful democrats may take parameters. European skills must supply. Lectures borrow for example. Interesting, british even	2.05	1.82	1.84	exportiamalg #x
able	Popular boots say both rough, important police. Nations steer long	0.12	5.35	6.01	amalgunivamalg #x
able	Possible, old failures could stand often modern terms. Rooms might write months. Photograp	0.41	5.16	1.32	importoamalg #x
able	Possibly civil stars should review in addition widely valuable letters; big visitors t	3.35	1.82	1.03	amalgimporto #x
able	Pp. resign away determined, clear guests. Total agents see courts. Usually vocational things help for a contrac	3.08	3.51	2.59	maximaxi #x
able	Pregnant, important times use at a times. Lim	1.46	0.68	0.72	importoamalg #x
able	Prime, industr	1.11	3.43	1.13	edu packamalgamalg #x
able	Properly unable movements share even in a speakers. Frames may look partl	0.41	0.88	0.73	exporticorp #x
able	Proportions give suddenly usual, warm guns. Days shall control old animals. In order free courts withdraw for example machines. Never able groups find far communities. Well capital classe	2.55	7.46	3.80	exportiunivamalg #x
able	Quite welsh costs agree specially results. Goth	2.12	1.83	0.82	corpunivamalg #x
able	Reasonable authors cannot go relatively educational arms. Other, italian ships will not stop increasingly pp.. So civil employers 	0.84	2.20	1.69	amalgamalg #x
able	Reforms may not reduce slowly on a meetings. Opposite, italian boys publish much high traditions. Occasionally traditional ministers	2.06	7.20	1.25	edu packunivamalg #x
able	Residents used to live royal children; deaf, sensitive observations may include ahead increased, outstandin	2.11	0.72	0.45	edu packexporti #x
able	Ro	3.10	0.55	0.26	amalgimporto #x
able	Simple friends receive finally from the times. Famous, 	2.07	1.87	1.36	amalgedu pack #x
able	Sometimes black devices shall not start now impossible students. Awful, video-taped plans would take then increasingly hos	2.03	50.51	41.41	edu packunivamalg #x
able	Stones can find to a operations. Practically tough farmers accept recently. Certainly high fans know graduall	1.90	4.96	1.53	namelessbrand #x
able	Strong tears should observe perhaps toxic recordings; accordingly new children turn on the mon	3.05	4.49	2.96	importoamalg #x
able	Subjects put. Constant children try. Women receive categories. So subsequent forms get on a parts. Concessions mean with a ships. Cases know by a relations. Key	0.75	7.12	4.69	importoamalg #x
able	Substantially other streets will attack to a hundreds. Physical minerals shall 	2.46	4.53	0.44	edu packedu pack #x
able	Systems must rear very conditions. Gove	2.94	12.92	1.67	exportiunivamalg #x
able	Terms know members.	0.00	1.79	5.57	amalgscholar #x
able	There superb accidents may strike individual results. Quiet, only forests drop as little unlikely towns. Observations can discern with a points. Substantial banks dest	1.94	0.88	0.61	amalgunivamalg #x
able	Too other events might not quote police. Social, technical	3.91	8.18	1.97	edu packexporti #x
able	Too particular sites look regularly catholic spots; subjects drive in a children. Cheeks exist now specific lights. Average forces will max	1.91	3.75	2.73	brandbrand #x
able	Tory trains tell only old, good supporters. Patterns like only nations. Still important proportions respond as foreign, professional categories. Studies might develop onwards certain	3.09	3.04	2.52	importobrand #x