Skip to content

Commit

Permalink
Adding verification dataset (#800)
Browse files Browse the repository at this point in the history
closes #748 
* Added create and insert statement(100) TPC-DS dataset
  • Loading branch information
aman-db authored Aug 15, 2024
1 parent 061122b commit dc8c596
Show file tree
Hide file tree
Showing 8 changed files with 806 additions and 0 deletions.
117 changes: 117 additions & 0 deletions tests/resources/datasets/customer.sql

Large diffs are not rendered by default.

174 changes: 174 additions & 0 deletions tests/resources/datasets/lineitem.sql

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions tests/resources/datasets/nation.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
------------------------------------------------------------

DROP TABLE if EXISTS nation;
CREATE TABLE if NOT EXISTS nation (
n_nationkey BIGINT,
n_name STRING,
n_regionkey BIGINT,
n_comment STRING);

------------------------------------------------------------

INSERT INTO nation (n_nationkey, n_name, n_regionkey, n_comment) VALUES
(0, 'ALGERIA', 0, ' haggle. carefully final deposits detect slyly agai'),
(1, 'ARGENTINA', 1, 'al foxes promise slyly according to the regular accounts. bold requests alon'),
(2, 'BRAZIL', 1, 'y alongside of the pending deposits. carefully special packages are about the ironic forges. slyly special '),
(3, 'CANADA', 1, 'eas hang ironic, silent packages. slyly regular packages are furiously over the tithes. fluffily bold'),
(4, 'EGYPT', 4, 'y above the carefully unusual theodolites. final dugouts are quickly across the furiously regular d'),
(5, 'ETHIOPIA', 0, 'ven packages wake quickly. regu'),
(6, 'FRANCE', 3, 'refully final requests. regular, ironi'),
(7, 'GERMANY', 3, 'l platelets. regular accounts x-ray: unusual, regular acco'),
(8, 'INDIA', 2, 'ss excuses cajole slyly across the packages. deposits print aroun'),
(9, 'INDONESIA', 2, ' slyly express asymptotes. regular deposits haggle slyly. carefully ironic hockey players sleep blithely. carefull'),
(10, 'IRAN', 4, 'efully alongside of the slyly final dependencies. '),
(11, 'IRAQ', 4, 'nic deposits boost atop the quickly final requests? quickly regula'),
(12, 'JAPAN', 2, 'ously. final, express gifts cajole a'),
(13, 'JORDAN', 4, 'ic deposits are blithely about the carefully regular pa'),
(14, 'KENYA', 0, ' pending excuses haggle furiously deposits. pending, express pinto beans wake fluffily past t'),
(15, 'MOROCCO', 0, 'rns. blithely bold courts among the closely regular packages use furiously bold platelets?'),
(16, 'MOZAMBIQUE', 0, 's. ironic, unusual asymptotes wake blithely r'),
(17, 'PERU', 1, 'platelets. blithely pending dependencies use fluffily across the even pinto beans. carefully silent accoun'),
(18, 'CHINA', 2, 'c dependencies. furiously express notornis sleep slyly regular accounts. ideas sleep. depos'),
(19, 'ROMANIA', 3, 'ular asymptotes are about the furious multipliers. express dependencies nag above the ironically ironic account'),
(20, 'SAUDI ARABIA', 4, 'ts. silent requests haggle. closely express packages sleep across the blithely'),
(21, 'VIETNAM', 2, 'hely enticingly express accounts. even, final '),
(22, 'RUSSIA', 3, ' requests against the platelets use never according to the quickly regular pint'),
(23, 'UNITED KINGDOM', 3, 'eans boost carefully special requests. accounts are. carefull'),
(24, 'UNITED STATES', 1, 'y final packages. slow foxes cajole quickly. quickly silent platelets breach ironic accounts. unusual pinto be');
117 changes: 117 additions & 0 deletions tests/resources/datasets/order.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
----------------------------------------------

DROP TABLE if EXISTS orders;
CREATE TABLE if NOT EXISTS orders (
o_orderkey BIGINT,
o_custkey BIGINT,
o_orderstatus STRING,
o_totalprice DECIMAL(18,2),
o_orderdate DATE,
o_orderpriority STRING,
o_clerk STRING,
o_shippriority INT,
o_comment STRING);

----------------------------------------------

INSERT INTO orders (o_orderkey, o_custkey, o_orderstatus, o_totalprice, o_orderdate, o_orderpriority, o_clerk, o_shippriority, o_comment) VALUES
(1, 36899983, 'O', 192726.27, '1996-01-02', '5-LOW', 'Clerk#000950550', 0, 'nstructions sleep furiously among '),
(2, 78001627, 'O', 71278.15, '1996-12-01', '1-URGENT', 'Clerk#000879155', 0, ' foxes. pending accounts at the pending, silent asymptot'),
(3, 123313904, 'F', 245783.08, '1993-10-14', '5-LOW', 'Clerk#000954253', 0, 'sly final accounts boost. carefully regular ideas cajole carefully. depos'),
(4, 136776016, 'O', 50733.58, '1995-10-11', '5-LOW', 'Clerk#000123397', 0, 'sits. slyly regular warthogs cajole. regular, regular theodolites acro'),
(5, 44484776, 'F', 125096.86, '1994-07-30', '5-LOW', 'Clerk#000924797', 0, 'quickly. bold deposits sleep slyly. packages use slyly'),
(6, 55622011, 'F', 48506.10, '1992-02-21', '4-NOT SPECIFIED', 'Clerk#000057980', 0, 'ggle. special, final requests are against the furiously specia'),
(7, 39134293, 'O', 249584.44, '1996-01-10', '2-HIGH', 'Clerk#000469603', 0, 'ly special requests '),
(32, 130056940, 'O', 144289.97, '1995-07-16', '2-HIGH', 'Clerk#000615602', 0, 'ise blithely bold, regular requests. quickly unusual dep'),
(33, 66957875, 'F', 155195.60, '1993-10-27', '3-MEDIUM', 'Clerk#000408594', 0, 'uriously. furiously final request'),
(34, 61000036, 'O', 52712.78, '1998-07-21', '3-MEDIUM', 'Clerk#000222780', 0, 'ly final packages. fluffily final deposits wake blithely ideas. spe'),
(35, 127587628, 'O', 227783.45, '1995-10-23', '4-NOT SPECIFIED', 'Clerk#000258366', 0, 'zzle. carefully enticing deposits nag furio'),
(36, 115251748, 'O', 57653.34, '1995-11-03', '1-URGENT', 'Clerk#000357081', 0, ' quick packages are blithely. slyly silent accounts wake qu'),
(37, 86114407, 'F', 174548.94, '1992-06-03', '3-MEDIUM', 'Clerk#000455561', 0, 'kly regular pinto beans. carefully unusual waters cajole never'),
(38, 124827856, 'O', 74580.21, '1996-08-21', '4-NOT SPECIFIED', 'Clerk#000603657', 0, 'haggle blithely. furiously express ideas haggle blithely furiously regular re'),
(39, 81762487, 'O', 331637.68, '1996-09-20', '3-MEDIUM', 'Clerk#000658575', 0, 'ole express, ironic requests: ir'),
(64, 32112589, 'F', 39081.88, '1994-07-16', '3-MEDIUM', 'Clerk#000660299', 0, 'wake fluffily. sometimes ironic pinto beans about the dolphin'),
(65, 16250920, 'P', 109574.38, '1995-03-18', '1-URGENT', 'Clerk#000631984', 0, 'ular requests are blithely pending orbits-- even requests against the deposit'),
(66, 129199537, 'F', 94306.72, '1994-01-20', '5-LOW', 'Clerk#000742283', 0, 'y pending requests integrate'),
(67, 56612041, 'O', 178918.38, '1996-12-19', '4-NOT SPECIFIED', 'Clerk#000546406', 0, 'symptotes haggle slyly around the furiously iron'),
(68, 28546706, 'O', 291943.34, '1998-04-18', '3-MEDIUM', 'Clerk#000439361', 0, ' pinto beans sleep carefully. blithely ironic deposits haggle furiously acro'),
(69, 84486485, 'F', 233148.86, '1994-06-04', '4-NOT SPECIFIED', 'Clerk#000329882', 0, ' depths atop the slyly thin deposits detect among the furiously silent accou'),
(70, 64339465, 'F', 127237.02, '1993-12-18', '5-LOW', 'Clerk#000321668', 0, ' carefully ironic request'),
(71, 3371083, 'O', 260473.37, '1998-01-24', '4-NOT SPECIFIED', 'Clerk#000270150', 0, ' express deposits along the blithely regul'),
(96, 107777776, 'F', 97715.08, '1994-04-17', '2-HIGH', 'Clerk#000394512', 0, 'oost furiously. pinto'),
(97, 21059945, 'F', 115934.53, '1993-01-29', '3-MEDIUM', 'Clerk#000546823', 0, 'hang blithely along the regular accounts. furiously even ideas after the'),
(98, 104479618, 'F', 91363.58, '1994-09-25', '1-URGENT', 'Clerk#000447788', 0, 'c asymptotes. quickly regular packages should have to nag re'),
(99, 88909205, 'F', 127782.63, '1994-03-13', '4-NOT SPECIFIED', 'Clerk#000972249', 0, 'e carefully ironic packages. pending'),
(100, 147002917, 'O', 212317.22, '1998-02-28', '4-NOT SPECIFIED', 'Clerk#000576035', 0, 'heodolites detect slyly alongside of the ent'),
(101, 27997306, 'O', 133402.78, '1996-03-17', '3-MEDIUM', 'Clerk#000418136', 0, 'ding accounts above the slyly final asymptote'),
(102, 715720, 'O', 188738.28, '1997-05-09', '2-HIGH', 'Clerk#000595175', 0, ' slyly according to the asymptotes. carefully final packages integrate furious'),
(103, 29099422, 'O', 161691.76, '1996-06-20', '4-NOT SPECIFIED', 'Clerk#000089629', 0, 'ges. carefully unusual instructions haggle quickly regular f'),
(128, 73955563, 'F', 49537.95, '1992-06-15', '1-URGENT', 'Clerk#000384118', 0, 'ns integrate fluffily. ironic asymptotes after the regular excuses nag around '),
(129, 71133277, 'F', 297401.58, '1992-11-19', '5-LOW', 'Clerk#000858692', 0, 'ing tithes. carefully pending deposits boost about the silently express '),
(130, 36963334, 'F', 149676.16, '1992-05-08', '2-HIGH', 'Clerk#000035202', 0, 'le slyly unusual, regular packages? express deposits det'),
(131, 92748641, 'F', 142252.24, '1994-06-08', '3-MEDIUM', 'Clerk#000624829', 0, 'after the fluffily special foxes integrate s'),
(132, 26393408, 'F', 170563.96, '1993-06-11', '3-MEDIUM', 'Clerk#000487044', 0, 'sits are daringly accounts. carefully regular foxes sleep slyly about the'),
(133, 43999894, 'O', 121289.63, '1997-11-29', '1-URGENT', 'Clerk#000737236', 0, 'usly final asymptotes '),
(134, 6197447, 'F', 247819.51, '1992-05-01', '4-NOT SPECIFIED', 'Clerk#000710943', 0, 'lar theodolites boos'),
(135, 60479711, 'O', 263545.46, '1995-10-21', '4-NOT SPECIFIED', 'Clerk#000803377', 0, 'l platelets use according t'),
(160, 82493404, 'O', 157852.72, '1996-12-19', '4-NOT SPECIFIED', 'Clerk#000341306', 0, 'thely special sauternes wake slyly of t'),
(161, 16618916, 'F', 21545.55, '1994-08-31', '2-HIGH', 'Clerk#000321258', 0, 'carefully! special instructions sin'),
(162, 14115415, 'O', 3538.21, '1995-05-08', '3-MEDIUM', 'Clerk#000377842', 0, 'nts hinder fluffily ironic instructions. express, express excuses '),
(163, 87758125, 'O', 187536.78, '1997-09-05', '3-MEDIUM', 'Clerk#000378308', 0, 'y final packages. final foxes since the quickly even'),
(164, 778084, 'F', 291093.87, '1992-10-21', '5-LOW', 'Clerk#000208621', 0, 'cajole ironic courts. slyly final ideas are slyly. blithely final Tiresias sub'),
(165, 27236141, 'F', 197970.00, '1993-01-30', '4-NOT SPECIFIED', 'Clerk#000291810', 0, 'across the blithely regular accounts. bold'),
(166, 107810401, 'O', 145568.40, '1995-09-12', '2-HIGH', 'Clerk#000439087', 0, 'lets. ironic, bold asymptotes kindle'),
(167, 119401594, 'F', 87123.86, '1993-01-04', '4-NOT SPECIFIED', 'Clerk#000730677', 0, 's nag furiously bold excuses. fluffily iron'),
(192, 82568518, 'O', 186074.82, '1997-11-25', '5-LOW', 'Clerk#000482777', 0, 'y unusual platelets among the final instructions integrate rut'),
(193, 79060019, 'F', 61949.53, '1993-08-08', '1-URGENT', 'Clerk#000024535', 0, 'the furiously final pin'),
(194, 61723415, 'F', 167377.65, '1992-04-05', '3-MEDIUM', 'Clerk#000351236', 0, 'egular requests haggle slyly regular, regular pinto beans. asymptote'),
(195, 135420649, 'F', 186359.22, '1993-12-28', '3-MEDIUM', 'Clerk#000215922', 0, 'old forges are furiously sheaves. slyly fi'),
(196, 64823140, 'F', 52884.74, '1993-03-17', '2-HIGH', 'Clerk#000987147', 0, 'beans boost at the foxes. silent foxes'),
(197, 32510872, 'P', 145084.27, '1995-04-07', '2-HIGH', 'Clerk#000968307', 0, 'solve quickly about the even braids. carefully express deposits affix care'),
(198, 110216159, 'O', 212946.03, '1998-01-02', '4-NOT SPECIFIED', 'Clerk#000330844', 0, 'its. carefully ironic requests sleep. furiously express fox'),
(199, 52969150, 'O', 137876.35, '1996-03-07', '2-HIGH', 'Clerk#000488764', 0, 'g theodolites. special packag'),
(224, 2474150, 'F', 249317.98, '1994-06-18', '4-NOT SPECIFIED', 'Clerk#000641410', 0, 'r the quickly thin courts. carefully'),
(225, 33029540, 'P', 238678.08, '1995-05-25', '1-URGENT', 'Clerk#000176282', 0, 's. blithely ironic accounts wake quickly fluffily special acc'),
(226, 127465336, 'F', 324618.04, '1993-03-10', '2-HIGH', 'Clerk#000755990', 0, 's are carefully at the blithely ironic acc'),
(227, 9882436, 'O', 69285.58, '1995-11-10', '5-LOW', 'Clerk#000918223', 0, ' express instructions. slyly regul'),
(228, 44077571, 'F', 3811.67, '1993-02-25', '1-URGENT', 'Clerk#000561590', 0, 'es was slyly among the regular foxes. blithely regular dependenci'),
(229, 111727408, 'F', 226752.27, '1993-12-29', '1-URGENT', 'Clerk#000627687', 0, 'he fluffily even instructions. furiously i'),
(230, 102534112, 'F', 196932.63, '1993-10-27', '1-URGENT', 'Clerk#000519929', 0, 'odolites. carefully quick requ'),
(231, 90817804, 'F', 176997.79, '1994-09-29', '2-HIGH', 'Clerk#000445936', 0, ' packages haggle slyly after the carefully ironic instruct'),
(256, 124830292, 'F', 158742.21, '1993-10-19', '4-NOT SPECIFIED', 'Clerk#000833325', 0, 'he fluffily final ideas might are final accounts. carefully f'),
(257, 122692442, 'O', 6462.29, '1998-03-28', '3-MEDIUM', 'Clerk#000679132', 0, 'ts against the sly warhorses cajole slyly accounts'),
(258, 41860129, 'F', 252298.36, '1993-12-29', '1-URGENT', 'Clerk#000166217', 0, 'dencies. blithely quick packages cajole. ruthlessly final accounts'),
(259, 43184669, 'F', 121177.65, '1993-09-29', '4-NOT SPECIFIED', 'Clerk#000600938', 0, 'ages doubt blithely against the final foxes. carefully express deposits dazzle'),
(260, 104726965, 'O', 252588.62, '1996-12-10', '3-MEDIUM', 'Clerk#000959560', 0, 'lently regular pinto beans sleep after the slyly e'),
(261, 46071896, 'F', 303454.20, '1993-06-29', '3-MEDIUM', 'Clerk#000309250', 0, 'ully fluffily brave instructions. furiousl'),
(262, 30351406, 'O', 198674.95, '1995-11-25', '4-NOT SPECIFIED', 'Clerk#000550312', 0, 'l packages. blithely final pinto beans use carefu'),
(263, 116068132, 'F', 136416.46, '1994-05-17', '2-HIGH', 'Clerk#000087768', 0, ' pending instructions. blithely un'),
(288, 7092508, 'O', 273779.21, '1997-02-21', '1-URGENT', 'Clerk#000108295', 0, 'uriously final requests. even, final ideas det'),
(289, 103749508, 'O', 215349.07, '1997-02-10', '3-MEDIUM', 'Clerk#000102799', 0, 'sily. slyly special excuse'),
(290, 117950323, 'F', 99516.47, '1994-01-01', '4-NOT SPECIFIED', 'Clerk#000734987', 0, 'efully dogged deposits. furiou'),
(291, 141049697, 'F', 91007.26, '1994-03-13', '1-URGENT', 'Clerk#000922485', 0, 'dolites. carefully regular pinto beans cajol'),
(292, 22251439, 'F', 52236.30, '1992-01-13', '2-HIGH', 'Clerk#000192458', 0, 'g pinto beans will have to sleep f'),
(293, 29928037, 'F', 67168.42, '1992-10-02', '2-HIGH', 'Clerk#000628280', 0, 're bold, ironic deposits. platelets c'),
(294, 50497948, 'F', 43160.20, '1993-07-16', '3-MEDIUM', 'Clerk#000498135', 0, 'kly according to the frays. final dolphins affix quickly '),
(295, 18983180, 'F', 140545.02, '1994-09-29', '2-HIGH', 'Clerk#000154315', 0, ' unusual pinto beans play. regular ideas haggle'),
(320, 301816, 'O', 50366.95, '1997-11-21', '2-HIGH', 'Clerk#000572041', 0, 'ar foxes nag blithely'),
(321, 122590799, 'F', 102660.33, '1993-03-21', '3-MEDIUM', 'Clerk#000288878', 0, 'equests run. blithely final dependencies after the deposits wake caref'),
(322, 133544900, 'F', 168881.52, '1992-03-19', '1-URGENT', 'Clerk#000157254', 0, 'fully across the slyly bold packages. packages against the quickly regular i'),
(323, 39132812, 'F', 138213.59, '1994-03-26', '1-URGENT', 'Clerk#000958670', 0, 'arefully pending foxes sleep blithely. slyly express accoun'),
(324, 105154997, 'F', 46204.82, '1992-03-20', '1-URGENT', 'Clerk#000351868', 0, ' about the ironic, regular deposits run blithely against the excuses'),
(325, 40023562, 'F', 103112.84, '1993-10-17', '5-LOW', 'Clerk#000843427', 0, 'ly sometimes pending pa'),
(326, 75985876, 'O', 302704.68, '1995-06-04', '2-HIGH', 'Clerk#000465044', 0, ' requests. furiously ironic asymptotes mold carefully alongside of the blit'),
(327, 144597874, 'P', 34736.85, '1995-04-17', '5-LOW', 'Clerk#000991369', 0, 'ng the slyly final courts. slyly even escapades eat '),
(352, 106455751, 'F', 18839.74, '1994-03-08', '2-HIGH', 'Clerk#000931484', 0, 'ke slyly bold pinto beans. blithely regular accounts against the spe'),
(353, 1775348, 'F', 265740.68, '1993-12-31', '5-LOW', 'Clerk#000448118', 0, ' quiet ideas sleep. even instructions cajole slyly. silently spe'),
(354, 138267985, 'O', 271440.62, '1996-03-14', '2-HIGH', 'Clerk#000510117', 0, 'ly regular ideas wake across the slyly silent ideas. final deposits eat b'),
(355, 70006357, 'F', 105671.63, '1994-06-14', '5-LOW', 'Clerk#000531085', 0, 's. sometimes regular requests cajole. regular, pending accounts a'),
(356, 146808497, 'F', 252238.28, '1994-06-30', '4-NOT SPECIFIED', 'Clerk#000943673', 0, 'as wake along the bold accounts. even, '),
(357, 60394615, 'O', 137799.94, '1996-10-09', '2-HIGH', 'Clerk#000300672', 0, 'e blithely about the express, final accounts. quickl'),
(358, 2289380, 'F', 351172.09, '1993-09-20', '2-HIGH', 'Clerk#000391917', 0, 'l, silent instructions are slyly. silently even de'),
(359, 77599394, 'F', 202583.31, '1994-12-19', '3-MEDIUM', 'Clerk#000933731', 0, 'n dolphins. special courts above the carefully ironic requests use'),
(384, 113008447, 'F', 182911.31, '1992-03-03', '5-LOW', 'Clerk#000205724', 0, ', even accounts use furiously packages. slyly ironic pla'),
(385, 32945209, 'O', 97475.23, '1996-03-22', '5-LOW', 'Clerk#000599075', 0, 'hless accounts unwind bold pain'),
(386, 60109081, 'F', 151257.58, '1995-01-25', '2-HIGH', 'Clerk#000647931', 0, ' haggle quickly. stealthily bold asymptotes haggle among the furiously even re'),
(387, 3295930, 'O', 202423.80, '1997-01-26', '4-NOT SPECIFIED', 'Clerk#000767975', 0, ' are carefully among the quickly even deposits. furiously silent req'),
(388, 44667518, 'F', 193416.33, '1992-12-16', '4-NOT SPECIFIED', 'Clerk#000355749', 0, 'ar foxes above the furiously ironic deposits nag slyly final reque');
Loading

0 comments on commit dc8c596

Please sign in to comment.