You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2018/01/18 04:27:41 UTC

[01/12] impala git commit: IMPALA-6399: Increase timeout in test_observability to reduce flakiness

Repository: impala
Updated Branches:
  refs/heads/master 6cc76d720 -> 35a3e186d


IMPALA-6399: Increase timeout in test_observability to reduce flakiness

Change-Id: I58f7e7b367e73675be42e85f55fd7698d51f92af
Reviewed-on: http://gerrit.cloudera.org:8080/9034
Reviewed-by: Sailesh Mukil <sa...@cloudera.com>
Tested-by: Lars Volker <lv...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/b6e43133
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/b6e43133
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/b6e43133

Branch: refs/heads/master
Commit: b6e43133e671773d2757612f72cfcdb0ff303226
Parents: 6cc76d7
Author: Lars Volker <lv...@cloudera.com>
Authored: Tue Jan 16 10:03:57 2018 -0800
Committer: Lars Volker <lv...@cloudera.com>
Committed: Wed Jan 17 22:31:33 2018 +0000

----------------------------------------------------------------------
 tests/query_test/test_observability.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/b6e43133/tests/query_test/test_observability.py
----------------------------------------------------------------------
diff --git a/tests/query_test/test_observability.py b/tests/query_test/test_observability.py
index b25d88e..d0d4ecd 100644
--- a/tests/query_test/test_observability.py
+++ b/tests/query_test/test_observability.py
@@ -147,7 +147,7 @@ class TestObservability(ImpalaTestSuite):
     start_time = ""
     end_time = ""
 
-    MAX_RETRIES = 60
+    MAX_RETRIES = 300
     for retries in xrange(MAX_RETRIES):
       tree = self.impalad_test_service.get_thrift_profile(query_id)
 


[09/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q4.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q4.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q4.test
new file mode 100644
index 0000000..5cf56c3
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q4.test
@@ -0,0 +1,126 @@
+====
+---- QUERY: TPCDS-Q4
+with year_total as (
+ select c_customer_id customer_id,
+        c_first_name customer_first_name,
+        c_last_name customer_last_name,
+        c_preferred_cust_flag customer_preferred_cust_flag,
+        c_birth_country customer_birth_country,
+        c_login customer_login,
+        c_email_address customer_email_address,
+        d_year dyear,
+        sum(((ss_ext_list_price-ss_ext_wholesale_cost-ss_ext_discount_amt)+ss_ext_sales_price)/2) year_total,
+        's' sale_type
+ from customer,
+      store_sales,
+      date_dim
+ where c_customer_sk = ss_customer_sk
+   and ss_sold_date_sk = d_date_sk
+ group by c_customer_id,
+          c_first_name,
+          c_last_name,
+          c_preferred_cust_flag,
+          c_birth_country,
+          c_login,
+          c_email_address,
+          d_year
+ union all
+ select c_customer_id customer_id,
+        c_first_name customer_first_name,
+        c_last_name customer_last_name,
+        c_preferred_cust_flag customer_preferred_cust_flag,
+        c_birth_country customer_birth_country,
+        c_login customer_login,
+        c_email_address customer_email_address,
+        d_year dyear,
+        sum((((cs_ext_list_price-cs_ext_wholesale_cost-cs_ext_discount_amt)+cs_ext_sales_price)/2) ) year_total,
+        'c' sale_type
+ from customer,
+      catalog_sales,
+      date_dim
+ where c_customer_sk = cs_bill_customer_sk
+   and cs_sold_date_sk = d_date_sk
+ group by c_customer_id,
+          c_first_name,
+          c_last_name,
+          c_preferred_cust_flag,
+          c_birth_country,
+          c_login,
+          c_email_address,
+          d_year
+union all
+ select c_customer_id customer_id,
+        c_first_name customer_first_name,
+        c_last_name customer_last_name,
+        c_preferred_cust_flag customer_preferred_cust_flag,
+        c_birth_country customer_birth_country,
+        c_login customer_login,
+        c_email_address customer_email_address,
+        d_year dyear,
+        sum((((ws_ext_list_price-ws_ext_wholesale_cost-ws_ext_discount_amt)+ws_ext_sales_price)/2) ) year_total,
+        'w' sale_type
+ from customer,
+      web_sales,
+      date_dim
+ where c_customer_sk = ws_bill_customer_sk
+   and ws_sold_date_sk = d_date_sk
+ group by c_customer_id,
+          c_first_name,
+          c_last_name,
+          c_preferred_cust_flag,
+          c_birth_country,
+          c_login,
+          c_email_address,
+          d_year
+         )
+  select t_s_secyear.customer_id,
+         t_s_secyear.customer_first_name,
+         t_s_secyear.customer_last_name,
+         t_s_secyear.customer_preferred_cust_flag
+ from year_total t_s_firstyear,
+      year_total t_s_secyear,
+      year_total t_c_firstyear,
+      year_total t_c_secyear,
+      year_total t_w_firstyear,
+      year_total t_w_secyear
+ where t_s_secyear.customer_id = t_s_firstyear.customer_id
+   and t_s_firstyear.customer_id = t_c_secyear.customer_id
+   and t_s_firstyear.customer_id = t_c_firstyear.customer_id
+   and t_s_firstyear.customer_id = t_w_firstyear.customer_id
+   and t_s_firstyear.customer_id = t_w_secyear.customer_id
+   and t_s_firstyear.sale_type = 's'
+   and t_c_firstyear.sale_type = 'c'
+   and t_w_firstyear.sale_type = 'w'
+   and t_s_secyear.sale_type = 's'
+   and t_c_secyear.sale_type = 'c'
+   and t_w_secyear.sale_type = 'w'
+   and t_s_firstyear.dyear =  2001
+   and t_s_secyear.dyear = 2001+1
+   and t_c_firstyear.dyear =  2001
+   and t_c_secyear.dyear =  2001+1
+   and t_w_firstyear.dyear = 2001
+   and t_w_secyear.dyear = 2001+1
+   and t_s_firstyear.year_total > 0
+   and t_c_firstyear.year_total > 0
+   and t_w_firstyear.year_total > 0
+   and case when t_c_firstyear.year_total > 0 then t_c_secyear.year_total / t_c_firstyear.year_total else null end
+           > case when t_s_firstyear.year_total > 0 then t_s_secyear.year_total / t_s_firstyear.year_total else null end
+   and case when t_c_firstyear.year_total > 0 then t_c_secyear.year_total / t_c_firstyear.year_total else null end
+           > case when t_w_firstyear.year_total > 0 then t_w_secyear.year_total / t_w_firstyear.year_total else null end
+ order by t_s_secyear.customer_id,
+          t_s_secyear.customer_first_name,
+          t_s_secyear.customer_last_name,
+          t_s_secyear.customer_email_address
+limit 100;
+---- RESULTS
+'AAAAAAAABIJBAAAA','James','White','N'
+'AAAAAAAADIIOAAAA','David','Carroll','Y'
+'AAAAAAAAIJCIBAAA','Thomas','Oneal','Y'
+'AAAAAAAAKJBLAAAA','Kerry','Davis','Y'
+'AAAAAAAAMFPFBAAA','Jamie','Woods','Y'
+'AAAAAAAANJAMAAAA','Thaddeus','Griffin','N'
+'AAAAAAAANJOLAAAA','Debra','Underwood','Y'
+'AAAAAAAAPEHEBAAA','Edith','Molina','Y'
+---- TYPES
+STRING,STRING,STRING,STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q40.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q40.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q40.test
new file mode 100644
index 0000000..ce19c5b
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q40.test
@@ -0,0 +1,131 @@
+====
+---- QUERY: TPCDS-Q40
+select
+   w_state
+  ,i_item_id
+  ,sum(case when (cast(d_date as timestamp) < cast ('2000-03-11' as timestamp))
+    then cs_sales_price - coalesce(cr_refunded_cash,0) else 0 end) as sales_before
+  ,sum(case when (cast(d_date as timestamp) >= cast ('2000-03-11' as timestamp))
+    then cs_sales_price - coalesce(cr_refunded_cash,0) else 0 end) as sales_after
+ from
+   catalog_sales left outer join catalog_returns on
+       (cs_order_number = cr_order_number
+        and cs_item_sk = cr_item_sk)
+  ,warehouse
+  ,item
+  ,date_dim
+ where
+     i_current_price between 0.99 and 1.49
+ and i_item_sk          = cs_item_sk
+ and cs_warehouse_sk    = w_warehouse_sk
+ and cs_sold_date_sk    = d_date_sk
+ and cast(d_date as timestamp) between (cast ('2000-03-11' as timestamp) - interval 30 days)
+                and (cast ('2000-03-11' as timestamp) + interval 30 days)
+ group by
+    w_state,i_item_id
+ order by w_state,i_item_id
+limit 100;
+---- RESULTS
+'TN','AAAAAAAAAABDAAAA',0.00,-82.10
+'TN','AAAAAAAAAACDAAAA',-216.54,158.04
+'TN','AAAAAAAAAAHDAAAA',186.55,0.00
+'TN','AAAAAAAAAALAAAAA',0.00,48.23
+'TN','AAAAAAAAABBDAAAA',98.61,332.71
+'TN','AAAAAAAAABDAAAAA',0.00,213.64
+'TN','AAAAAAAAACGCAAAA',63.68,0.00
+'TN','AAAAAAAAACHCAAAA',102.68,51.89
+'TN','AAAAAAAAACKCAAAA',128.93,44.82
+'TN','AAAAAAAAACLDAAAA',205.44,-948.62
+'TN','AAAAAAAAACOBAAAA',207.32,24.89
+'TN','AAAAAAAAACPDAAAA',87.75,53.99
+'TN','AAAAAAAAADGBAAAA',44.31,222.48
+'TN','AAAAAAAAADKBAAAA',0.00,-471.87
+'TN','AAAAAAAAAEADAAAA',58.24,0.00
+'TN','AAAAAAAAAEOCAAAA',19.91,214.70
+'TN','AAAAAAAAAFACAAAA',271.82,163.17
+'TN','AAAAAAAAAFADAAAA',2.35,28.32
+'TN','AAAAAAAAAFDCAAAA',-378.05,-303.27
+'TN','AAAAAAAAAGIDAAAA',307.61,-19.29
+'TN','AAAAAAAAAHDEAAAA',80.58,-476.72
+'TN','AAAAAAAAAHHAAAAA',8.27,155.10
+'TN','AAAAAAAAAHJBAAAA',39.24,0.00
+'TN','AAAAAAAAAIECAAAA',82.40,3.91
+'TN','AAAAAAAAAIEEAAAA',20.40,-151.09
+'TN','AAAAAAAAAIMCAAAA',24.47,-150.30
+'TN','AAAAAAAAAJACAAAA',49.09,82.10
+'TN','AAAAAAAAAJCAAAAA',121.18,63.78
+'TN','AAAAAAAAAJKBAAAA',27.94,8.97
+'TN','AAAAAAAAALBEAAAA',88.26,30.23
+'TN','AAAAAAAAALCEAAAA',93.52,92.02
+'TN','AAAAAAAAALECAAAA',64.20,15.16
+'TN','AAAAAAAAALNBAAAA',4.20,148.27
+'TN','AAAAAAAAAMBEAAAA',28.44,0.00
+'TN','AAAAAAAAAMPBAAAA',0.00,131.93
+'TN','AAAAAAAAANFEAAAA',0.00,-137.34
+'TN','AAAAAAAAAOBBAAAA',0.00,55.62
+'TN','AAAAAAAAAOIBAAAA',150.41,254.28
+'TN','AAAAAAAAAPBAAAAA',70.40,0.00
+'TN','AAAAAAAAAPJBAAAA',45.27,334.40
+'TN','AAAAAAAAAPLAAAAA',50.20,29.15
+'TN','AAAAAAAAAPLDAAAA',0.00,32.39
+'TN','AAAAAAAABAPDAAAA',93.42,145.87
+'TN','AAAAAAAABBIDAAAA',296.77,30.96
+'TN','AAAAAAAABDCEAAAA',-1771.08,-54.78
+'TN','AAAAAAAABDDDAAAA',111.12,280.59
+'TN','AAAAAAAABDJAAAAA',0.00,79.55
+'TN','AAAAAAAABEFDAAAA',0.00,3.43
+'TN','AAAAAAAABEODAAAA',269.90,297.58
+'TN','AAAAAAAABFMBAAAA',110.83,-941.40
+'TN','AAAAAAAABFNAAAAA',47.86,0.00
+'TN','AAAAAAAABFOCAAAA',46.34,83.52
+'TN','AAAAAAAABHPCAAAA',27.37,77.62
+'TN','AAAAAAAABIDBAAAA',196.62,5.57
+'TN','AAAAAAAABIGBAAAA',425.34,0.00
+'TN','AAAAAAAABIJBAAAA',209.63,0.00
+'TN','AAAAAAAABJFEAAAA',7.33,55.16
+'TN','AAAAAAAABKFAAAAA',0.00,138.14
+'TN','AAAAAAAABKMCAAAA',27.17,54.97
+'TN','AAAAAAAABLDEAAAA',170.29,0.00
+'TN','AAAAAAAABNHBAAAA',58.06,-337.89
+'TN','AAAAAAAABNIDAAAA',54.40,35.02
+'TN','AAAAAAAABNLAAAAA',0.00,168.38
+'TN','AAAAAAAABNLDAAAA',0.00,96.41
+'TN','AAAAAAAABNMCAAAA',202.41,49.53
+'TN','AAAAAAAABOCCAAAA',4.73,69.84
+'TN','AAAAAAAABOMBAAAA',63.67,163.49
+'TN','AAAAAAAACAAAAAAA',121.91,0.00
+'TN','AAAAAAAACAADAAAA',-1107.61,0.00
+'TN','AAAAAAAACAJCAAAA',115.81,173.05
+'TN','AAAAAAAACBCDAAAA',18.94,226.38
+'TN','AAAAAAAACBFAAAAA',0.00,97.41
+'TN','AAAAAAAACBIAAAAA',2.14,84.66
+'TN','AAAAAAAACBPBAAAA',95.44,26.68
+'TN','AAAAAAAACCABAAAA',160.43,135.86
+'TN','AAAAAAAACCHDAAAA',0.00,121.62
+'TN','AAAAAAAACCMDAAAA',-115.87,124.38
+'TN','AAAAAAAACDBCAAAA',16.62,3.40
+'TN','AAAAAAAACDECAAAA',-3114.60,0.00
+'TN','AAAAAAAACEEAAAAA',34.68,26.41
+'TN','AAAAAAAACELAAAAA',130.59,154.63
+'TN','AAAAAAAACELDAAAA',0.00,181.07
+'TN','AAAAAAAACFEAAAAA',3.78,-315.13
+'TN','AAAAAAAACFHDAAAA',0.00,1.80
+'TN','AAAAAAAACGFDAAAA',-386.87,96.92
+'TN','AAAAAAAACHHDAAAA',143.17,251.64
+'TN','AAAAAAAACHPCAAAA',0.17,198.29
+'TN','AAAAAAAACJCBAAAA',-918.65,270.96
+'TN','AAAAAAAACJDCAAAA',0.00,130.15
+'TN','AAAAAAAACJLAAAAA',63.96,91.27
+'TN','AAAAAAAACKFCAAAA',-540.59,35.64
+'TN','AAAAAAAACKHAAAAA',204.52,110.61
+'TN','AAAAAAAACKIAAAAA',18.43,-63.65
+'TN','AAAAAAAACLAEAAAA',116.07,0.00
+'TN','AAAAAAAACLGAAAAA',108.10,111.14
+'TN','AAAAAAAACLKAAAAA',143.05,19.59
+'TN','AAAAAAAACLLBAAAA',0.00,178.10
+'TN','AAAAAAAACLOBAAAA',-2200.72,14.13
+'TN','AAAAAAAACMADAAAA',71.42,-13.64
+'TN','AAAAAAAACMJAAAAA',0.00,358.31
+---- TYPES
+STRING, STRING, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q41.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q41.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q41.test
new file mode 100644
index 0000000..4286c76
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q41.test
@@ -0,0 +1,59 @@
+====
+---- QUERY: TPCDS-Q41
+select  distinct(i_product_name)
+ from item i1
+ where i_manufact_id between 738 and 738+40
+   and (select count(*) as item_cnt
+        from item
+        where (i_manufact = i1.i_manufact and
+        ((i_category = 'Women' and
+        (i_color = 'powder' or i_color = 'khaki') and
+        (i_units = 'Ounce' or i_units = 'Oz') and
+        (i_size = 'medium' or i_size = 'extra large')
+        ) or
+        (i_category = 'Women' and
+        (i_color = 'brown' or i_color = 'honeydew') and
+        (i_units = 'Bunch' or i_units = 'Ton') and
+        (i_size = 'N/A' or i_size = 'small')
+        ) or
+        (i_category = 'Men' and
+        (i_color = 'floral' or i_color = 'deep') and
+        (i_units = 'N/A' or i_units = 'Dozen') and
+        (i_size = 'petite' or i_size = 'large')
+        ) or
+        (i_category = 'Men' and
+        (i_color = 'light' or i_color = 'cornflower') and
+        (i_units = 'Box' or i_units = 'Pound') and
+        (i_size = 'medium' or i_size = 'extra large')
+        ))) or
+       (i_manufact = i1.i_manufact and
+        ((i_category = 'Women' and
+        (i_color = 'midnight' or i_color = 'snow') and
+        (i_units = 'Pallet' or i_units = 'Pallet') and
+        (i_size = 'medium' or i_size = 'extra large')
+        ) or
+        (i_category = 'Women' and
+        (i_color = 'cyan' or i_color = 'papaya') and
+        (i_units = 'Cup' or i_units = 'Dram') and
+        (i_size = 'N/A' or i_size = 'small')
+        ) or
+        (i_category = 'Men' and
+        (i_color = 'orange' or i_color = 'frosted') and
+        (i_units = 'Each' or i_units = 'Tbl') and
+        (i_size = 'petite' or i_size = 'large')
+        ) or
+        (i_category = 'Men' and
+        (i_color = 'forest' or i_color = 'ghost') and
+        (i_units = 'Lb' or i_units = 'Bundle') and
+        (i_size = 'medium' or i_size = 'extra large')
+        )))) > 0
+ order by i_product_name
+ limit 100;
+---- RESULTS
+'ableationableought'
+'anticallyeingese'
+'callycallyeingese'
+'oughtationableought'
+---- TYPES
+STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q42.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q42.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q42.test
new file mode 100644
index 0000000..f7e6b18
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q42.test
@@ -0,0 +1,41 @@
+====
+---- QUERY: TPCDS-Q42
+select
+  dt.d_year,
+  item.i_category_id,
+  item.i_category,
+  sum(ss_ext_sales_price)
+from
+  date_dim dt,
+  store_sales,
+  item
+where
+  dt.d_date_sk = store_sales.ss_sold_date_sk
+  and store_sales.ss_item_sk = item.i_item_sk
+  and item.i_manager_id = 1
+  and dt.d_moy = 11
+  and dt.d_year = 2000
+group by
+  dt.d_year,
+  item.i_category_id,
+  item.i_category
+order by
+  sum(ss_ext_sales_price) desc,
+  dt.d_year,
+  item.i_category_id,
+  item.i_category
+limit 100;
+---- RESULTS
+2000,7,'Home',458017.85
+2000,3,'Children',370261.29
+2000,2,'Men',368718.95
+2000,1,'Women',320132.43
+2000,10,'Electronics',281421.74
+2000,5,'Music',223420.70
+2000,4,'Shoes',221242.25
+2000,8,'Sports',200806.45
+2000,6,'Jewelry',167920.91
+2000,9,'Books',161721.11
+---- TYPES
+INT, INT, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q43.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q43.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q43.test
new file mode 100644
index 0000000..efe0f22
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q43.test
@@ -0,0 +1,45 @@
+====
+---- QUERY: TPCDS-Q43
+select
+  s_store_name,
+  s_store_id,
+  sum(case when (d_day_name = 'Sunday') then ss_sales_price else null end) sun_sales,
+  sum(case when (d_day_name = 'Monday') then ss_sales_price else null end) mon_sales,
+  sum(case when (d_day_name = 'Tuesday') then ss_sales_price else null end) tue_sales,
+  sum(case when (d_day_name = 'Wednesday') then ss_sales_price else null end) wed_sales,
+  sum(case when (d_day_name = 'Thursday') then ss_sales_price else null end) thu_sales,
+  sum(case when (d_day_name = 'Friday') then ss_sales_price else null end) fri_sales,
+  sum(case when (d_day_name = 'Saturday') then ss_sales_price else null end) sat_sales
+from
+  date_dim,
+  store_sales,
+  store
+where
+  d_date_sk = ss_sold_date_sk
+  and s_store_sk = ss_store_sk
+  and s_gmt_offset = -5
+  and d_year = 2000
+group by
+  s_store_name,
+  s_store_id
+order by
+  s_store_name,
+  s_store_id,
+  sun_sales,
+  mon_sales,
+  tue_sales,
+  wed_sales,
+  thu_sales,
+  fri_sales,
+  sat_sales
+limit 100;
+---- RESULTS
+'able','AAAAAAAACAAAAAAA',517884.59,469230.50,505832.67,443696.30,479716.97,462447.50,503064.60
+'ation','AAAAAAAAHAAAAAAA',508811.68,474290.02,448808.84,492870.99,498127.64,474355.89,505906.68
+'bar','AAAAAAAAKAAAAAAA',496021.80,459933.01,479825.96,474630.24,482326.79,478330.87,505252.22
+'eing','AAAAAAAAIAAAAAAA',498752.97,476119.01,485965.24,454921.28,491953.89,476014.69,484633.67
+'ese','AAAAAAAAEAAAAAAA',493724.01,499637.85,452314.62,466232.23,481922.38,477933.29,500577.95
+'ought','AAAAAAAABAAAAAAA',505735.34,471490.23,463248.39,482690.52,485818.98,481816.20,491354.68
+---- TYPES
+STRING, STRING, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q46.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q46.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q46.test
new file mode 100644
index 0000000..a0bb3d1
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q46.test
@@ -0,0 +1,156 @@
+====
+---- QUERY: TPCDS-Q46
+select
+  c_last_name,
+  c_first_name,
+  ca_city,
+  bought_city,
+  ss_ticket_number,
+  amt,
+  profit
+from
+  (select
+    ss_ticket_number,
+    ss_customer_sk,
+    ca_city bought_city,
+    sum(ss_coupon_amt) amt,
+    sum(ss_net_profit) profit
+  from
+    store_sales,
+    date_dim,
+    store,
+    household_demographics,
+    customer_address
+  where
+    store_sales.ss_sold_date_sk = date_dim.d_date_sk
+    and store_sales.ss_store_sk = store.s_store_sk
+    and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
+    and store_sales.ss_addr_sk = customer_address.ca_address_sk
+    and (household_demographics.hd_dep_count = 4
+      or household_demographics.hd_vehicle_count = 3)
+    and date_dim.d_dow in (6, 0)
+    and date_dim.d_year in (1999, 1999 + 1, 1999 + 2)
+    and store.s_city in ('Fairview','Midway','Fairview','Fairview','Fairview')
+  group by
+    ss_ticket_number,
+    ss_customer_sk,
+    ss_addr_sk,
+    ca_city
+  ) dn,
+  customer,
+  customer_address current_addr
+where
+  ss_customer_sk = c_customer_sk
+  and customer.c_current_addr_sk = current_addr.ca_address_sk
+  and current_addr.ca_city <> bought_city
+order by
+  c_last_name,
+  c_first_name,
+  ca_city,
+  bought_city,
+  ss_ticket_number
+limit 100;
+---- RESULTS
+'Aaron','Charles','Jamestown','Red Hill',183217,2067.37,-8054.03
+'Aaron','Genevieve','Lakeside','Springtown',185247,1739.84,-1337.44
+'Aaron','Guy','Lakeside','Mount Pleasant',210815,1849.59,-11333.00
+'Abbott','Frederick','Green Acres','Oakland',7247,518.63,-13290.67
+'Abbott','Harriet','Wesley','Forest Hills',84405,800.12,-8540.46
+'Abel','Flora','Perry','Newtown',117310,8532.29,-28474.67
+'Abney','Louis','Gladstone','Green Acres',140967,7.52,-13382.19
+'Abrams','Amy','Salem','Pine Grove',231298,1132.44,-19986.97
+'Abrams','Dorothy','Lincoln','New Hope',99435,2640.46,-12712.81
+'Abreu','David','Brownsville','Mount Pleasant',189640,4026.11,-7711.87
+'Abreu','David','Brownsville','White Oak',55423,2943.20,-5695.81
+'Ackerman','NULL','Hopewell','Pleasant Grove',94468,5981.77,-11788.36
+'Ackley','Christopher','Bethel','Newport',95923,2996.52,-7797.50
+'Acosta','Bobby','Riverdale','Friendship',197899,60.50,-27188.42
+'Acosta','Eric','Fairfield','Shiloh',11072,9.85,-4142.15
+'Acosta','Johnnie','Centerville','Enterprise',69183,1581.96,-3015.22
+'Acosta','Wilfred','Jackson','Macedonia',190054,316.43,-913.72
+'Adair','Silvia','Bayview','Plainview',170324,4208.47,-9295.96
+'Adams','Alicia','Concord','Mount Zion',22029,3132.36,-12262.13
+'Adams','Carlena','Five Forks','Mount Olive',200385,220.23,-7642.46
+'Adams','Christopher','Highland Park','New Hope',89344,66.03,-8711.35
+'Adams','Christopher','Highland Park','Owens',150027,755.51,-5103.79
+'Adams','David','Bridgeport','Antioch',213366,9174.05,-14025.32
+'Adams','David','Bridgeport','Price',233836,1568.08,-20484.95
+'Adams','Earl','Mount Zion','Greenfield',99055,551.98,-6440.04
+'Adams','Henry','Saint James','Georgetown',231785,901.24,-18286.29
+'Adams','Hortencia','Wildwood','Friendship',69694,296.89,-11931.45
+'Adams','Isidro','Glenwood','Oak Grove',148351,923.30,-3177.00
+'Adams','Jane','Shiloh','Red Hill',106214,1434.41,-7320.39
+'Adams','Jay','Sulphur Springs','Bridgeport',195437,141.95,-6997.43
+'Adams','Jim','Pleasant Valley','Edgewater',136554,4677.64,-8308.27
+'Adams','Kimberly','Caledonia','Five Forks',105902,2112.44,-305.98
+'Adams','Magdalena','Glendale','Edgewood',70321,163.95,-3472.48
+'Adams','Patrick','Bridgeport','Edgewood',232741,523.33,-5830.63
+'Adams','Pedro','Pleasant Valley','Enterprise',139637,2968.84,-5251.73
+'Adams','Steven','Greenville','Hillcrest',13710,7235.33,-2345.79
+'Adams','Tim','Mount Zion','Deerfield',188255,1942.53,-11899.84
+'Adams','Tim','Mount Zion','Oak Grove',97273,3299.36,-16893.16
+'Adams','Tonya','Enterprise','Oak Hill',143974,1025.42,-9619.17
+'Adkins','Alica','Oakwood','Woodrow',131755,4255.95,-18319.64
+'Adkins','Debra','Bloomingdale','Wayland',231738,4340.02,-15037.93
+'Adkins','Debra','Helena','Deerfield',97428,1757.72,-4654.11
+'Adkins','Judith','Plainview','Riverview',61339,5414.10,-15150.39
+'Adkins','Melanie','Liberty','Riverside',41578,3471.30,-15110.65
+'Adkins','Michael','Five Forks','Mount Pleasant',158714,3565.11,-14888.46
+'Adkins','Virginia','Highland','Woodlawn',192086,0.00,-5100.88
+'Aguilar','Arlene','Ashland','Belmont',132623,5624.93,-6045.24
+'Aguilar','Douglas','Pine Grove','Brunswick',77899,166.17,-5251.06
+'Aguilar','Karen','Pleasant Hill','Buena Vista',47133,1868.27,-6121.78
+'Aguilar','Kimberly','Pleasant Hill','Jackson',192256,1.19,-7640.59
+'Aguilar','Lynda','Greenwood','Pleasant Valley',51477,978.54,-11859.19
+'Aguilar','Lynda','Greenwood','Woodrow',89360,803.59,-5283.17
+'Aguilar','Milton','Mount Zion','Friendship',162299,5305.56,-7522.86
+'Aguilar','Robert','Walnut Grove','Antioch',169539,2584.34,-5225.46
+'Aguilar','Tracy','Highland Park','Kingston',206717,2995.45,-3976.20
+'Aguilera','Michelle','Tipton','Shiloh',228010,3815.66,-11820.05
+'Ahmed','Maureen','Oak Hill','Union Hill',128051,7270.41,-13433.60
+'Aiken','James','Mount Olive','Crossroads',212463,0.00,-3126.87
+'Akin','Sharon','Harmony','Edgewood',201392,2962.97,-14053.85
+'Alaniz','Elia','Marion','Mount Zion',79719,3691.54,-10297.32
+'Albert','Donald','Red Hill','Macedonia',83899,2140.15,-9622.92
+'Albert','Jesse','Bunker Hill','Stringtown',139171,19429.35,-18276.98
+'Albert','Joseph','Richfield','Brownsville',63910,5982.83,-9276.46
+'Albert','Robert','Greenville','Royal',52927,0.00,-1929.68
+'Albertson','Sarah','Pleasant Valley','White Oak',82675,2311.79,-11496.78
+'Albright','Michelle','Hillcrest','Woodland',49024,6451.20,-12414.60
+'Albright','Vincent','Wildwood','Oakdale',7278,4425.56,-25696.83
+'Alcala','Nancy','Fairfield','Arlington',181927,711.70,-14419.56
+'Aldrich','Stephen','Shady Grove','Post Oak',194020,4141.47,-15841.39
+'Aldrich','Willard','Woodville','Arthur',11159,9577.24,1816.47
+'Aldrich','NULL','Salem','Woodville',107876,638.97,-6506.27
+'Aleman','Eddie','White Oak','Concord',25327,9293.14,-21425.24
+'Alexander','Beverly','Valley View','Five Forks',212635,0.00,-5122.61
+'Alexander','Donna','Liberty','Hamilton',218554,517.32,-10027.79
+'Alexander','Graham','Fairfield','Newtown',104061,1574.22,-4375.65
+'Alexander','Joseph','Winchester','Sutton',211390,6542.30,-20325.16
+'Alexander','Nancy','Riverside','Union Hill',184734,7944.54,-12244.04
+'Alexander','Paul','Springdale','Hopewell',190468,143.92,-9226.83
+'Alfonso','Mabel','Clifton','Red Hill',54976,2422.52,3133.04
+'Ali','Jennifer','Lake Forest','Liberty',40263,3467.53,-18495.55
+'Ali','Stephen','Lone Pine','Glenwood',175860,167.14,-12116.78
+'Allen','Andrea','Lakeside','Newport',11334,6.64,-2610.30
+'Allen','Curtis','Brentwood','Richardson',216964,0.00,-19124.72
+'Allen','Dana','Crossroads','Bunker Hill',112648,2164.34,-11973.83
+'Allen','Donita','Riverdale','Sunnyside',182017,711.62,-3681.42
+'Allen','Earl','Marion','Lincoln',64277,11935.26,-12108.31
+'Allen','Edward','Brownsville','Bunker Hill',155950,3267.59,-7671.84
+'Allen','Edward','Brownsville','Lakewood',162070,1359.35,-15806.88
+'Allen','Emily','Macedonia','Springdale',186035,1860.88,-10258.69
+'Allen','Jeanne','Waterloo','Summit',181784,448.50,-10244.62
+'Allen','Jennifer','Green Acres','Five Points',194912,536.52,-18001.88
+'Allen','John','Sulphur Springs','Five Forks',97314,463.68,-14328.20
+'Allen','Leslie','Five Forks','Ashland',77055,87.92,-9644.24
+'Allen','Mark','Lakeside','Riverside',191934,203.13,-19803.96
+'Allen','Marty','Greenwood','Riverview',1040,308.20,-1547.30
+'Allen','Matthew','Mount Pleasant','Mountain View',190723,2.77,-2219.34
+'Allen','Natalie','Oak Grove','Woodville',82315,2230.76,-14635.09
+'Allen','Robert','Oakdale','White Oak',92331,331.56,1122.69
+'Allen','Roger','Jamestown','Springdale',84977,407.65,-2525.30
+'Allen','Ronald','Wright','Pleasant Valley',8104,24.26,-1996.98
+---- TYPES
+STRING, STRING, STRING, STRING, BIGINT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q50.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q50.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q50.test
new file mode 100644
index 0000000..873e3c1
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q50.test
@@ -0,0 +1,68 @@
+====
+---- QUERY: TPCDS-Q50
+select
+   s_store_name
+  ,s_company_id
+  ,s_street_number
+  ,s_street_name
+  ,s_street_type
+  ,s_suite_number
+  ,s_city
+  ,s_county
+  ,s_state
+  ,s_zip
+  ,sum(case when (sr_returned_date_sk - ss_sold_date_sk <= 30 ) then 1 else 0 end)  as "30 days"
+  ,sum(case when (sr_returned_date_sk - ss_sold_date_sk > 30) and
+                 (sr_returned_date_sk - ss_sold_date_sk <= 60) then 1 else 0 end )  as "31-60 days"
+  ,sum(case when (sr_returned_date_sk - ss_sold_date_sk > 60) and
+                 (sr_returned_date_sk - ss_sold_date_sk <= 90) then 1 else 0 end)  as "61-90 days"
+  ,sum(case when (sr_returned_date_sk - ss_sold_date_sk > 90) and
+                 (sr_returned_date_sk - ss_sold_date_sk <= 120) then 1 else 0 end)  as "91-120 days"
+  ,sum(case when (sr_returned_date_sk - ss_sold_date_sk  > 120) then 1 else 0 end)  as ">120 days"
+from
+   store_sales
+  ,store_returns
+  ,store
+  ,date_dim d1
+  ,date_dim d2
+where
+    d2.d_year = 2001
+and d2.d_moy  = 8
+and ss_ticket_number = sr_ticket_number
+and ss_item_sk = sr_item_sk
+and ss_sold_date_sk   = d1.d_date_sk
+and sr_returned_date_sk   = d2.d_date_sk
+and ss_customer_sk = sr_customer_sk
+and ss_store_sk = s_store_sk
+group by
+   s_store_name
+  ,s_company_id
+  ,s_street_number
+  ,s_street_name
+  ,s_street_type
+  ,s_suite_number
+  ,s_city
+  ,s_county
+  ,s_state
+  ,s_zip
+order by s_store_name
+        ,s_company_id
+        ,s_street_number
+        ,s_street_name
+        ,s_street_type
+        ,s_suite_number
+        ,s_city
+        ,s_county
+        ,s_state
+        ,s_zip
+limit 100;
+---- RESULTS
+'able',1,'255','Sycamore ','Dr.','Suite 410','Midway','Williamson County','TN','31904',67,48,61,66,98
+'ation',1,'811','Lee ','Circle','Suite T','Midway','Williamson County','TN','31904',70,51,50,61,109
+'bar',1,'175','4th ','Court','Suite C','Midway','Williamson County','TN','31904',96,53,55,76,86
+'eing',1,'226','12th ','Lane','Suite D','Fairview','Williamson County','TN','35709',69,63,62,63,114
+'ese',1,'27','Lake ','Ln','Suite 260','Midway','Williamson County','TN','31904',58,57,55,54,106
+'ought',1,'767','Spring ','Wy','Suite 250','Midway','Williamson County','TN','31904',81,63,52,58,103
+---- TYPES
+STRING, INT, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, BIGINT, BIGINT, BIGINT, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51.test
new file mode 100644
index 0000000..2aa5146
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51.test
@@ -0,0 +1,148 @@
+====
+---- QUERY: TPCDS-Q51
+WITH web_v1 as (
+select
+  ws_item_sk item_sk, d_date,
+  sum(sum(ws_sales_price))
+      over (partition by ws_item_sk order by d_date rows between unbounded preceding and current row) cume_sales
+from web_sales
+    ,date_dim
+where ws_sold_date_sk=d_date_sk
+  and d_month_seq between 1200 and 1200+11
+  and ws_item_sk is not NULL
+group by ws_item_sk, d_date),
+store_v1 as (
+select
+  ss_item_sk item_sk, d_date,
+  sum(sum(ss_sales_price))
+      over (partition by ss_item_sk order by d_date rows between unbounded preceding and current row) cume_sales
+from store_sales
+    ,date_dim
+where ss_sold_date_sk=d_date_sk
+  and d_month_seq between 1200 and 1200+11
+  and ss_item_sk is not NULL
+group by ss_item_sk, d_date)
+ select  *
+from (select item_sk
+     ,d_date
+     ,web_sales
+     ,store_sales
+     ,max(web_sales)
+         over (partition by item_sk order by d_date rows between unbounded preceding and current row) web_cumulative
+     ,max(store_sales)
+         over (partition by item_sk order by d_date rows between unbounded preceding and current row) store_cumulative
+     from (select case when web.item_sk is not null then web.item_sk else store.item_sk end item_sk
+                 ,case when web.d_date is not null then web.d_date else store.d_date end d_date
+                 ,web.cume_sales web_sales
+                 ,store.cume_sales store_sales
+           from web_v1 web full outer join store_v1 store on (web.item_sk = store.item_sk
+                                                          and web.d_date = store.d_date)
+          )x )y
+where web_cumulative > store_cumulative
+order by item_sk
+        ,d_date
+limit 100;
+---- RESULTS
+14,'2000-01-10',176.83,NULL,176.83,73.60
+14,'2000-01-21',NULL,75.29,176.83,75.29
+14,'2000-01-29',222.33,NULL,222.33,75.29
+14,'2000-02-02',224.01,NULL,224.01,75.29
+14,'2000-02-08',NULL,85.07,224.01,85.07
+14,'2000-02-19',NULL,98.60,224.01,98.60
+14,'2000-02-21',241.64,NULL,241.64,98.60
+14,'2000-02-22',NULL,99.83,241.64,99.83
+14,'2000-03-18',NULL,112.82,241.64,112.82
+14,'2000-03-23',251.15,NULL,251.15,112.82
+14,'2000-03-28',260.17,NULL,260.17,112.82
+14,'2000-03-31',370.74,NULL,370.74,112.82
+14,'2000-04-05',NULL,115.94,370.74,115.94
+14,'2000-04-15',445.30,NULL,445.30,115.94
+14,'2000-04-27',NULL,151.48,445.30,151.48
+14,'2000-05-03',NULL,176.89,445.30,176.89
+14,'2000-05-10',451.40,NULL,451.40,176.89
+14,'2000-05-21',NULL,238.39,451.40,238.39
+14,'2000-05-26',596.81,NULL,596.81,238.39
+14,'2000-05-29',NULL,242.51,596.81,242.51
+14,'2000-06-05',NULL,304.64,596.81,304.64
+14,'2000-07-03',623.77,NULL,623.77,304.64
+14,'2000-07-07',NULL,307.77,623.77,307.77
+14,'2000-07-18',NULL,320.04,623.77,320.04
+14,'2000-07-25',673.08,NULL,673.08,320.04
+14,'2000-08-10',NULL,411.48,673.08,411.48
+14,'2000-08-14',NULL,465.85,673.08,465.85
+14,'2000-08-21',NULL,541.45,673.08,541.45
+14,'2000-08-26',NULL,574.56,673.08,574.56
+19,'2000-01-02',56.96,49.68,56.96,49.68
+25,'2000-01-21',97.29,NULL,97.29,4.49
+25,'2000-01-28',192.46,NULL,192.46,4.49
+25,'2000-02-09',NULL,24.23,192.46,24.23
+25,'2000-02-11',NULL,98.99,192.46,98.99
+25,'2000-02-21',NULL,170.60,192.46,170.60
+25,'2000-02-22',NULL,185.05,192.46,185.05
+35,'2000-01-14',NULL,55.24,177.88,55.24
+35,'2000-01-16',NULL,95.92,177.88,95.92
+35,'2000-01-18',NULL,126.45,177.88,126.45
+35,'2000-01-19',NULL,167.07,177.88,167.07
+35,'2000-02-17',NULL,173.97,177.88,173.97
+35,'2000-02-22',270.43,NULL,270.43,173.97
+35,'2000-02-23',NULL,180.61,270.43,180.61
+35,'2000-03-03',NULL,181.99,270.43,181.99
+35,'2000-03-05',NULL,221.24,270.43,221.24
+35,'2000-03-06',NULL,266.41,270.43,266.41
+37,'2000-01-02',31.75,11.89,31.75,11.89
+37,'2000-01-04',NULL,17.15,31.75,17.15
+37,'2000-01-05',34.34,NULL,34.34,17.15
+37,'2000-01-06',NULL,29.67,34.34,29.67
+41,'2000-01-21',NULL,15.54,123.34,15.54
+41,'2000-02-03',NULL,21.04,123.34,21.04
+41,'2000-02-16',NULL,33.46,123.34,33.46
+41,'2000-02-20',NULL,37.46,123.34,37.46
+41,'2000-02-22',NULL,58.57,123.34,58.57
+41,'2000-03-05',NULL,70.06,123.34,70.06
+41,'2000-03-17',178.84,150.76,178.84,150.76
+41,'2000-04-26',263.14,NULL,263.14,254.88
+41,'2000-07-12',474.83,NULL,474.83,393.87
+41,'2000-07-18',NULL,421.23,474.83,421.23
+41,'2000-08-15',NULL,430.77,474.83,430.77
+49,'2000-01-18',NULL,2.51,4.58,2.51
+49,'2000-01-31',72.47,NULL,72.47,13.05
+49,'2000-02-13',NULL,70.68,72.47,70.68
+49,'2000-02-29',NULL,71.86,72.47,71.86
+49,'2000-04-17',225.29,NULL,225.29,219.03
+53,'2000-01-02',12.85,1.13,12.85,1.13
+53,'2000-01-08',119.24,NULL,119.24,1.13
+53,'2000-01-09',126.98,NULL,126.98,1.13
+53,'2000-01-15',NULL,3.20,126.98,3.20
+53,'2000-02-04',NULL,22.89,126.98,22.89
+53,'2000-02-05',NULL,64.45,126.98,64.45
+53,'2000-02-12',NULL,66.06,126.98,66.06
+56,'2000-01-02',41.57,17.31,41.57,17.31
+61,'2000-02-17',421.60,NULL,421.60,344.03
+61,'2000-03-01',NULL,411.33,421.60,411.33
+61,'2000-04-22',600.20,NULL,600.20,573.28
+71,'2000-01-02',13.92,2.88,13.92,2.88
+85,'2000-02-03',NULL,42.30,65.50,42.30
+85,'2000-02-16',NULL,42.95,65.50,42.95
+85,'2000-04-19',335.16,NULL,335.16,247.67
+85,'2000-04-23',NULL,252.83,335.16,252.83
+85,'2000-05-02',NULL,289.65,335.16,289.65
+85,'2000-05-11',NULL,312.62,335.16,312.62
+86,'2000-01-19',31.70,NULL,31.70,25.97
+86,'2000-02-03',151.26,NULL,151.26,91.16
+86,'2000-02-04',NULL,112.15,151.26,112.15
+89,'2000-01-12',NULL,28.84,181.56,28.84
+89,'2000-01-23',NULL,67.19,181.56,67.19
+89,'2000-01-30',NULL,104.65,181.56,104.65
+89,'2000-02-22',NULL,146.96,181.56,146.96
+89,'2000-02-25',NULL,147.02,181.56,147.02
+89,'2000-03-19',NULL,172.85,181.56,172.85
+89,'2000-03-20',191.66,NULL,191.66,172.85
+89,'2000-04-11',295.81,NULL,295.81,172.85
+89,'2000-04-13',NULL,203.86,295.81,203.86
+89,'2000-04-20',373.30,NULL,373.30,203.86
+89,'2000-04-23',NULL,219.74,373.30,219.74
+89,'2000-04-26',NULL,235.97,373.30,235.97
+89,'2000-05-04',NULL,248.05,373.30,248.05
+---- TYPES
+BIGINT, STRING, DECIMAL, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51a.test
new file mode 100644
index 0000000..c27ac06
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q51a.test
@@ -0,0 +1,166 @@
+====
+---- QUERY: TPCDS-Q51A
+WITH web_tv as (
+select
+  ws_item_sk item_sk, d_date, sum(ws_sales_price) sumws,
+  row_number()
+      over (partition by ws_item_sk order by d_date) rk
+from web_sales
+    ,date_dim
+where ws_sold_date_sk=d_date_sk
+  and d_month_seq between 1200 and 1200+11
+  and ws_item_sk is not NULL
+group by ws_item_sk, d_date
+),
+web_v1 as (
+select v1.item_sk, v1.d_date, v1.sumws, sum(v2.sumws) cume_sales
+from web_tv v1, web_tv v2
+where v1.item_sk = v2.item_sk and v1.rk >= v2.rk
+group by v1.item_sk, v1.d_date, v1.sumws
+),
+store_tv as (
+select
+  ss_item_sk item_sk, d_date, sum(ss_sales_price) sumss,
+  row_number()
+      over (partition by ss_item_sk order by d_date) rk
+from store_sales
+    ,date_dim
+where ss_sold_date_sk=d_date_sk
+  and d_month_seq between 1200 and 1200+11
+  and ss_item_sk is not NULL
+group by ss_item_sk, d_date
+),
+store_v1 as (
+select v1.item_sk, v1.d_date, v1.sumss, sum(v2.sumss) cume_sales
+from store_tv v1, store_tv v2
+where v1.item_sk = v2.item_sk and v1.rk >= v2.rk
+group by v1.item_sk, v1.d_date, v1.sumss
+),
+v as (
+select item_sk
+     ,d_date
+     ,web_sales
+     ,store_sales
+     ,row_number() over (partition by item_sk order by d_date) rk
+     from (select case when web.item_sk is not null then web.item_sk else store.item_sk end item_sk
+                 ,case when web.d_date is not null then web.d_date else store.d_date end d_date
+                 ,web.cume_sales web_sales
+                 ,store.cume_sales store_sales
+           from web_v1 web full outer join store_v1 store on (web.item_sk = store.item_sk
+                                                          and web.d_date = store.d_date)
+          ) x
+)
+ select  *
+from(
+        select v1.item_sk, v1.d_date, v1.web_sales, v1.store_sales, max(v2.web_sales) web_cumulative, max(v2.store_sales) store_cumulative
+        from v v1, v v2
+        where v1.item_sk = v2.item_sk and v1.rk >= v2.rk
+        group by v1.item_sk, v1.d_date, v1.web_sales, v1.store_sales
+)x
+where web_cumulative > store_cumulative
+order by item_sk, d_date
+limit 100;
+---- RESULTS
+14,'2000-01-10',176.83,NULL,176.83,73.60
+14,'2000-01-21',NULL,75.29,176.83,75.29
+14,'2000-01-29',222.33,NULL,222.33,75.29
+14,'2000-02-02',224.01,NULL,224.01,75.29
+14,'2000-02-08',NULL,85.07,224.01,85.07
+14,'2000-02-19',NULL,98.60,224.01,98.60
+14,'2000-02-21',241.64,NULL,241.64,98.60
+14,'2000-02-22',NULL,99.83,241.64,99.83
+14,'2000-03-18',NULL,112.82,241.64,112.82
+14,'2000-03-23',251.15,NULL,251.15,112.82
+14,'2000-03-28',260.17,NULL,260.17,112.82
+14,'2000-03-31',370.74,NULL,370.74,112.82
+14,'2000-04-05',NULL,115.94,370.74,115.94
+14,'2000-04-15',445.30,NULL,445.30,115.94
+14,'2000-04-27',NULL,151.48,445.30,151.48
+14,'2000-05-03',NULL,176.89,445.30,176.89
+14,'2000-05-10',451.40,NULL,451.40,176.89
+14,'2000-05-21',NULL,238.39,451.40,238.39
+14,'2000-05-26',596.81,NULL,596.81,238.39
+14,'2000-05-29',NULL,242.51,596.81,242.51
+14,'2000-06-05',NULL,304.64,596.81,304.64
+14,'2000-07-03',623.77,NULL,623.77,304.64
+14,'2000-07-07',NULL,307.77,623.77,307.77
+14,'2000-07-18',NULL,320.04,623.77,320.04
+14,'2000-07-25',673.08,NULL,673.08,320.04
+14,'2000-08-10',NULL,411.48,673.08,411.48
+14,'2000-08-14',NULL,465.85,673.08,465.85
+14,'2000-08-21',NULL,541.45,673.08,541.45
+14,'2000-08-26',NULL,574.56,673.08,574.56
+19,'2000-01-02',56.96,49.68,56.96,49.68
+25,'2000-01-21',97.29,NULL,97.29,4.49
+25,'2000-01-28',192.46,NULL,192.46,4.49
+25,'2000-02-09',NULL,24.23,192.46,24.23
+25,'2000-02-11',NULL,98.99,192.46,98.99
+25,'2000-02-21',NULL,170.60,192.46,170.60
+25,'2000-02-22',NULL,185.05,192.46,185.05
+35,'2000-01-14',NULL,55.24,177.88,55.24
+35,'2000-01-16',NULL,95.92,177.88,95.92
+35,'2000-01-18',NULL,126.45,177.88,126.45
+35,'2000-01-19',NULL,167.07,177.88,167.07
+35,'2000-02-17',NULL,173.97,177.88,173.97
+35,'2000-02-22',270.43,NULL,270.43,173.97
+35,'2000-02-23',NULL,180.61,270.43,180.61
+35,'2000-03-03',NULL,181.99,270.43,181.99
+35,'2000-03-05',NULL,221.24,270.43,221.24
+35,'2000-03-06',NULL,266.41,270.43,266.41
+37,'2000-01-02',31.75,11.89,31.75,11.89
+37,'2000-01-04',NULL,17.15,31.75,17.15
+37,'2000-01-05',34.34,NULL,34.34,17.15
+37,'2000-01-06',NULL,29.67,34.34,29.67
+41,'2000-01-21',NULL,15.54,123.34,15.54
+41,'2000-02-03',NULL,21.04,123.34,21.04
+41,'2000-02-16',NULL,33.46,123.34,33.46
+41,'2000-02-20',NULL,37.46,123.34,37.46
+41,'2000-02-22',NULL,58.57,123.34,58.57
+41,'2000-03-05',NULL,70.06,123.34,70.06
+41,'2000-03-17',178.84,150.76,178.84,150.76
+41,'2000-04-26',263.14,NULL,263.14,254.88
+41,'2000-07-12',474.83,NULL,474.83,393.87
+41,'2000-07-18',NULL,421.23,474.83,421.23
+41,'2000-08-15',NULL,430.77,474.83,430.77
+49,'2000-01-18',NULL,2.51,4.58,2.51
+49,'2000-01-31',72.47,NULL,72.47,13.05
+49,'2000-02-13',NULL,70.68,72.47,70.68
+49,'2000-02-29',NULL,71.86,72.47,71.86
+49,'2000-04-17',225.29,NULL,225.29,219.03
+53,'2000-01-02',12.85,1.13,12.85,1.13
+53,'2000-01-08',119.24,NULL,119.24,1.13
+53,'2000-01-09',126.98,NULL,126.98,1.13
+53,'2000-01-15',NULL,3.20,126.98,3.20
+53,'2000-02-04',NULL,22.89,126.98,22.89
+53,'2000-02-05',NULL,64.45,126.98,64.45
+53,'2000-02-12',NULL,66.06,126.98,66.06
+56,'2000-01-02',41.57,17.31,41.57,17.31
+61,'2000-02-17',421.60,NULL,421.60,344.03
+61,'2000-03-01',NULL,411.33,421.60,411.33
+61,'2000-04-22',600.20,NULL,600.20,573.28
+71,'2000-01-02',13.92,2.88,13.92,2.88
+85,'2000-02-03',NULL,42.30,65.50,42.30
+85,'2000-02-16',NULL,42.95,65.50,42.95
+85,'2000-04-19',335.16,NULL,335.16,247.67
+85,'2000-04-23',NULL,252.83,335.16,252.83
+85,'2000-05-02',NULL,289.65,335.16,289.65
+85,'2000-05-11',NULL,312.62,335.16,312.62
+86,'2000-01-19',31.70,NULL,31.70,25.97
+86,'2000-02-03',151.26,NULL,151.26,91.16
+86,'2000-02-04',NULL,112.15,151.26,112.15
+89,'2000-01-12',NULL,28.84,181.56,28.84
+89,'2000-01-23',NULL,67.19,181.56,67.19
+89,'2000-01-30',NULL,104.65,181.56,104.65
+89,'2000-02-22',NULL,146.96,181.56,146.96
+89,'2000-02-25',NULL,147.02,181.56,147.02
+89,'2000-03-19',NULL,172.85,181.56,172.85
+89,'2000-03-20',191.66,NULL,191.66,172.85
+89,'2000-04-11',295.81,NULL,295.81,172.85
+89,'2000-04-13',NULL,203.86,295.81,203.86
+89,'2000-04-20',373.30,NULL,373.30,203.86
+89,'2000-04-23',NULL,219.74,373.30,219.74
+89,'2000-04-26',NULL,235.97,373.30,235.97
+89,'2000-05-04',NULL,248.05,373.30,248.05
+---- TYPES
+BIGINT, STRING, DECIMAL, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q52.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q52.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q52.test
new file mode 100644
index 0000000..dfa1fc4
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q52.test
@@ -0,0 +1,130 @@
+====
+---- QUERY: TPCDS-Q52
+select
+  dt.d_year,
+  item.i_brand_id brand_id,
+  item.i_brand brand,
+  sum(ss_ext_sales_price) ext_price
+from
+  date_dim dt,
+  store_sales,
+  item
+where
+  dt.d_date_sk = store_sales.ss_sold_date_sk
+  and store_sales.ss_item_sk = item.i_item_sk
+  and item.i_manager_id = 1
+  and dt.d_moy = 11
+  and dt.d_year = 2000
+group by
+  dt.d_year,
+  item.i_brand,
+  item.i_brand_id
+order by
+  dt.d_year,
+  ext_price desc,
+  brand_id
+limit 100;
+---- RESULTS
+2000,2001002,'amalgimporto #2',133668.20
+2000,1003001,'exportiamalg #1',85038.62
+2000,3002002,'importoexporti #2',79104.47
+2000,3004002,'edu packexporti #2',78772.08
+2000,3003001,'exportiexporti #1',67105.01
+2000,2004002,'edu packimporto #2',65904.27
+2000,4001002,'amalgedu pack #2',56283.13
+2000,5002002,'importoscholar #2',54390.12
+2000,7016001,'corpnameless #1',51331.65
+2000,2002001,'importoimporto #1',50831.66
+2000,7001005,'amalgbrand #5',50727.31
+2000,9015009,'scholarunivamalg #9',49522.53
+2000,5004002,'edu packscholar #2',45205.15
+2000,4003001,'exportiedu pack #1',42810.52
+2000,5001002,'amalgscholar #2',42061.33
+2000,1003002,'exportiamalg #2',41130.32
+2000,2003002,'exportiimporto #2',39318.67
+2000,7007004,'brandbrand #4',38993.74
+2000,1002002,'importoamalg #2',38952.02
+2000,8003010,'exportinameless #10',37010.51
+2000,1002001,'importounivamalg #1',36393.47
+2000,4002001,'scholarmaxi #6',34103.67
+2000,1001002,'amalgamalg #2',32518.42
+2000,4004002,'edu packedu pack #2',32114.76
+2000,5001001,'edu packexporti #2',31507.22
+2000,6005005,'edu packnameless #8',31445.28
+2000,1001001,'amalgamalg #1',31305.49
+2000,4002001,'importoedu pack #1',31248.26
+2000,6005001,'scholarcorp #1',30955.09
+2000,1004001,'edu packamalg #1',30464.10
+2000,7009004,'maxibrand #4',29127.01
+2000,10010013,'univamalgamalg #13',29071.87
+2000,6012008,'importobrand #8',28799.91
+2000,8005009,'corpnameless #10',28231.03
+2000,5003001,'exportischolar #1',27336.64
+2000,5001001,'brandunivamalg #11',26418.90
+2000,3001002,'amalgexporti #2',25858.35
+2000,4004001,'edu packedu pack #1',25715.17
+2000,7009009,'exportibrand #10',25380.68
+2000,4004001,'maxinameless #8',23992.40
+2000,10014001,'maxibrand #4',23662.09
+2000,10009015,'maxiunivamalg #15',23576.97
+2000,3003001,'exportiedu pack #2',21959.63
+2000,10004004,'edu packunivamalg #4',21950.07
+2000,3002001,'importoexporti #1',21677.43
+2000,1004002,'edu packamalg #2',21563.27
+2000,2002002,'importoimporto #2',21502.53
+2000,2001001,'importoimporto #2',21106.22
+2000,9012003,'importounivamalg #3',21075.27
+2000,3003002,'exportiexporti #2',20711.54
+2000,10015013,'scholaramalgamalg #13',20610.41
+2000,7010005,'corpunivamalg #6',19821.13
+2000,4003001,'exportischolar #2',19693.88
+2000,9012008,'importounivamalg #8',19463.65
+2000,7010009,'univnameless #9',19176.91
+2000,7008004,'namelessbrand #4',19128.07
+2000,2003001,'exportiimporto #1',19074.52
+2000,6008005,'namelesscorp #5',19067.51
+2000,3004001,'edu packexporti #1',18504.78
+2000,5001001,'exportinameless #8',18493.00
+2000,10003016,'exportiunivamalg #16',18413.97
+2000,3001001,'maxibrand #8',18290.52
+2000,8003007,'edu packnameless #8',18265.99
+2000,7016007,'corpnameless #7',18103.37
+2000,5003002,'exportischolar #2',17930.96
+2000,8016004,'corpmaxi #4',17828.86
+2000,2004001,'importoexporti #2',17646.57
+2000,10004012,'edu packunivamalg #12',17608.05
+2000,8002009,'importonameless #9',17513.05
+2000,7004009,'importoimporto #2',17312.88
+2000,2004001,'edu packunivamalg #8',17084.17
+2000,9014006,'edu packunivamalg #6',16958.88
+2000,9015011,'exportiamalg #2',15875.77
+2000,10004005,'importounivamalg #6',15258.42
+2000,6008002,'namelesscorp #2',15199.06
+2000,6004002,'edu packcorp #2',14905.77
+2000,9013009,'exportiunivamalg #9',14704.96
+2000,7012010,'importonameless #10',14697.15
+2000,7013007,'exportinameless #7',14068.62
+2000,7008009,'namelessbrand #9',13759.65
+2000,7006007,'edu packamalg #2',13705.14
+2000,10012004,'importoamalgamalg #4',13514.95
+2000,6015006,'scholarbrand #6',13421.39
+2000,10002012,'importounivamalg #12',13080.55
+2000,9016003,'corpunivamalg #3',12936.25
+2000,6002004,'importocorp #4',12491.48
+2000,8004003,'edu packnameless #3',12480.24
+2000,6011008,'amalgbrand #8',12236.00
+2000,6003008,'exporticorp #8',11621.79
+2000,8005008,'scholarnameless #8',11609.84
+2000,4001001,'amalgedu pack #1',11110.78
+2000,7009010,'maxibrand #10',11061.00
+2000,3004001,'edu packscholar #2',11025.47
+2000,7012001,'amalgamalgamalg #2',10846.24
+2000,7016009,'univnameless #10',10454.42
+2000,7014001,'edu packnameless #1',9596.47
+2000,1002001,'importoamalg #1',9579.28
+2000,8010004,'univmaxi #4',9508.89
+2000,3001001,'amalgexporti #1',9373.84
+2000,6010005,'univbrand #5',9222.91
+---- TYPES
+INT, INT, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q53.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q53.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q53.test
new file mode 100644
index 0000000..793ac71
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q53.test
@@ -0,0 +1,140 @@
+====
+---- QUERY: TPCDS-Q53
+select
+  *
+from
+  (select
+    i_manufact_id,
+    sum(ss_sales_price) sum_sales,
+    avg(sum(ss_sales_price)) over (partition by i_manufact_id) avg_quarterly_sales
+  from
+    item,
+    store_sales,
+    date_dim,
+    store
+  where
+    ss_item_sk = i_item_sk
+    and ss_sold_date_sk = d_date_sk
+    and ss_store_sk = s_store_sk
+    and d_month_seq in (1200, 1200 + 1, 1200 + 2, 1200 + 3, 1200 + 4, 1200 + 5, 1200 + 6, 1200 + 7, 1200 + 8, 1200 + 9, 1200 + 10, 1200 + 11)
+    and ((i_category in ('Books', 'Children', 'Electronics')
+      and i_class in ('personal', 'portable', 'reference', 'self-help')
+      and i_brand in ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9'))
+    or (i_category in ('Women', 'Music', 'Men')
+      and i_class in ('accessories', 'classical', 'fragrances', 'pants')
+      and i_brand in ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1')))
+  group by
+    i_manufact_id,
+    d_qoy
+  ) tmp1
+where
+  case when avg_quarterly_sales > 0 then abs (sum_sales - avg_quarterly_sales) / avg_quarterly_sales else null end > 0.1
+order by
+  avg_quarterly_sales,
+  sum_sales,
+  i_manufact_id
+limit 100
+---- RESULTS
+30,165.67,340.635000
+30,247.07,340.635000
+30,627.63,340.635000
+619,158.76,348.640000
+619,210.81,348.640000
+619,464.26,348.640000
+619,560.73,348.640000
+271,79.26,354.330000
+271,86.87,354.330000
+271,179.61,354.330000
+271,1071.58,354.330000
+827,82.44,356.590000
+827,320.05,356.590000
+827,666.52,356.590000
+296,188.61,369.125000
+296,265.76,369.125000
+296,655.24,369.125000
+308,200.28,385.982500
+308,214.07,385.982500
+308,489.17,385.982500
+308,640.41,385.982500
+486,178.80,400.530000
+486,455.08,400.530000
+486,468.01,400.530000
+486,500.23,400.530000
+554,191.48,407.975000
+554,346.80,407.975000
+554,660.97,407.975000
+208,151.84,410.385000
+208,207.02,410.385000
+208,533.75,410.385000
+208,748.93,410.385000
+662,199.83,412.135000
+662,300.61,412.135000
+662,460.94,412.135000
+662,687.16,412.135000
+394,264.65,413.405000
+394,272.02,413.405000
+394,674.12,413.405000
+221,183.63,416.082500
+221,534.62,416.082500
+221,552.44,416.082500
+621,232.20,418.115000
+621,624.80,418.115000
+507,76.98,419.465000
+507,505.36,419.465000
+507,644.24,419.465000
+316,36.25,423.035000
+316,158.85,423.035000
+316,697.32,423.035000
+316,799.72,423.035000
+56,110.81,423.097500
+56,371.77,423.097500
+56,500.77,423.097500
+56,709.04,423.097500
+517,194.87,426.287500
+517,313.41,426.287500
+517,482.41,426.287500
+517,714.46,426.287500
+411,364.09,426.892500
+411,519.60,426.892500
+247,313.42,427.682500
+247,353.08,427.682500
+247,628.37,427.682500
+652,228.75,434.752500
+652,314.98,434.752500
+652,365.90,434.752500
+652,829.38,434.752500
+129,301.69,436.452500
+129,325.26,436.452500
+129,550.47,436.452500
+129,568.39,436.452500
+99,164.24,438.667500
+99,183.75,438.667500
+99,393.58,438.667500
+99,1013.10,438.667500
+235,111.64,441.030000
+235,179.51,441.030000
+235,493.83,441.030000
+235,979.14,441.030000
+360,143.83,445.415000
+360,293.99,445.415000
+360,928.51,445.415000
+732,106.56,447.065000
+732,300.77,447.065000
+732,498.49,447.065000
+732,882.44,447.065000
+190,202.77,451.982500
+190,233.10,451.982500
+190,358.97,451.982500
+190,1013.09,451.982500
+147,212.53,455.892500
+147,366.10,455.892500
+147,553.92,455.892500
+147,691.02,455.892500
+665,283.25,456.087500
+665,357.22,456.087500
+665,691.20,456.087500
+85,325.28,456.280000
+85,350.10,456.280000
+---- TYPES
+INT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q54.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q54.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q54.test
new file mode 100644
index 0000000..7130c4e
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q54.test
@@ -0,0 +1,60 @@
+====
+---- QUERY: TPCDS-Q54
+with my_customers as (
+ select distinct c_customer_sk
+        , c_current_addr_sk
+ from
+        ( select cs_sold_date_sk sold_date_sk,
+                 cs_bill_customer_sk customer_sk,
+                 cs_item_sk item_sk
+          from   catalog_sales
+          union all
+          select ws_sold_date_sk sold_date_sk,
+                 ws_bill_customer_sk customer_sk,
+                 ws_item_sk item_sk
+          from   web_sales
+         ) cs_or_ws_sales,
+         item,
+         date_dim,
+         customer
+ where   sold_date_sk = d_date_sk
+         and item_sk = i_item_sk
+         and i_category = 'Women'
+         and i_class = 'maternity'
+         and c_customer_sk = cs_or_ws_sales.customer_sk
+         and d_moy = 12
+         and d_year = 1998
+ )
+ , my_revenue as (
+ select c_customer_sk,
+        sum(ss_ext_sales_price) as revenue
+ from   my_customers,
+        store_sales,
+        customer_address,
+        store,
+        date_dim
+ where  c_current_addr_sk = ca_address_sk
+        and ca_county = s_county
+        and ca_state = s_state
+        and ss_sold_date_sk = d_date_sk
+        and c_customer_sk = ss_customer_sk
+        and d_month_seq between (select distinct d_month_seq+1
+                                 from   date_dim where d_year = 1998 and d_moy = 12 limit 1)
+                           and  (select distinct d_month_seq+3
+                                 from   date_dim where d_year = 1998 and d_moy = 12 limit 1)
+ group by c_customer_sk
+ )
+ , segments as
+ (select cast((revenue/50) as int) as segment
+  from   my_revenue
+ )
+  select  segment, count(*) as num_customers, segment*50 as segment_base
+ from segments
+ group by segment
+ order by segment, num_customers
+ limit 100;
+---- RESULTS
+11860,1,593000
+---- TYPES
+INT, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q55.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q55.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q55.test
new file mode 100644
index 0000000..e522ffb
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q55.test
@@ -0,0 +1,127 @@
+====
+---- QUERY: TPCDS-Q55
+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 = 28
+  and d_moy = 12
+  and d_year = 1999
+group by
+  i_brand,
+  i_brand_id
+order by
+  ext_price desc,
+  i_brand_id
+limit 100;
+---- RESULTS
+1001001,'amalgamalg #1',136722.83
+2001001,'amalgimporto #1',133391.08
+5001001,'amalgscholar #1',118347.84
+5003001,'exportischolar #1',109595.01
+1002001,'importoamalg #1',105226.72
+5003002,'exportischolar #2',95810.25
+5004001,'edu packscholar #1',90624.90
+4001001,'amalgedu pack #1',83730.42
+1001002,'amalgamalg #2',81937.80
+4001002,'amalgedu pack #2',78799.33
+2002001,'importoimporto #1',77701.54
+3003001,'exportiexporti #1',66809.69
+4002001,'importoedu pack #1',65056.38
+5001002,'amalgscholar #2',63100.23
+4003001,'exportiedu pack #1',61067.16
+3001001,'amalgexporti #1',58157.56
+5002001,'importoscholar #1',57895.73
+2003001,'exportiimporto #1',54996.70
+4004002,'edu packedu pack #2',54650.86
+6016005,'corpbrand #5',50955.77
+1004001,'edu packamalg #1',50844.36
+6002001,'importocorp #1',48122.46
+7015003,'scholarnameless #3',47531.49
+1004002,'edu packamalg #2',46925.04
+6006006,'corpcorp #6',44504.94
+3002001,'importoexporti #1',44449.84
+5002002,'importoscholar #2',43736.13
+9004008,'edu packmaxi #8',43124.13
+6011006,'amalgbrand #6',42516.13
+9016003,'corpunivamalg #3',41651.94
+8009007,'maxinameless #7',40216.48
+9008008,'namelessmaxi #8',37294.08
+10012012,'importoamalgamalg #12',36166.35
+2004001,'edu packimporto #1',36056.65
+10003013,'exportiunivamalg #13',32619.62
+1003001,'exportiamalg #1',28084.23
+8010006,'univmaxi #6',27531.46
+8006005,'corpnameless #5',26468.77
+2004002,'edu packimporto #2',26438.94
+6014007,'edu packbrand #7',25884.76
+6005001,'scholarcorp #1',25849.68
+9005002,'scholarmaxi #2',25116.15
+9011003,'amalgunivamalg #3',25085.52
+10006017,'corpunivamalg #17',25085.08
+6009008,'maxicorp #8',24934.96
+7011009,'amalgnameless #9',24823.19
+9011009,'amalgunivamalg #9',24802.03
+8013007,'exportimaxi #7',24582.70
+8012005,'importomaxi #5',24370.92
+6003006,'exporticorp #6',23710.13
+3004001,'edu packexporti #1',23358.51
+1003002,'exportiamalg #2',23154.78
+7002004,'importobrand #4',23003.13
+9005011,'scholarmaxi #11',22313.86
+9013009,'exportiunivamalg #9',22303.83
+9003003,'exportimaxi #3',21736.62
+2001002,'amalgimporto #2',21466.13
+6011001,'amalgbrand #1',21162.91
+6008008,'namelesscorp #8',20636.40
+9016009,'corpunivamalg #9',20465.89
+10013009,'exportiamalgamalg #9',19610.85
+10009006,'maxiunivamalg #6',19564.84
+4002002,'importoedu pack #2',19399.39
+3002002,'importoexporti #2',19272.70
+6002002,'importocorp #2',19147.26
+3001002,'amalgexporti #2',19008.57
+6014001,'edu packbrand #1',18807.55
+8002010,'importonameless #10',18591.58
+7003005,'exportibrand #5',18527.36
+2003002,'exportiimporto #2',18318.61
+6005003,'scholarcorp #3',18167.51
+8009003,'maxinameless #3',17115.53
+8001003,'amalgnameless #3',17068.61
+7015007,'scholarnameless #7',16069.97
+9011008,'amalgunivamalg #8',15861.18
+8011009,'amalgmaxi #9',15785.74
+6014008,'edu packbrand #8',15668.28
+10016003,'corpamalgamalg #3',15322.94
+6015003,'scholarbrand #3',14890.37
+8005010,'scholarnameless #10',14620.95
+8004009,'edu packnameless #9',14529.33
+10004001,'edu packunivamalg #1',14101.90
+8006008,'corpnameless #8',13159.42
+10015001,'scholaramalgamalg #1',13119.59
+9015009,'scholarunivamalg #9',12679.95
+7006010,'corpbrand #10',11490.56
+10005001,'scholarunivamalg #1',11299.62
+6015001,'scholarbrand #1',11242.40
+6013007,'exportibrand #7',11162.36
+6006002,'corpcorp #2',10986.40
+10015011,'scholaramalgamalg #11',10980.10
+8004003,'edu packnameless #3',10945.08
+6001005,'amalgcorp #5',10108.20
+10014016,'edu packamalgamalg #16',9656.21
+6008001,'namelesscorp #1',9546.46
+6009003,'maxicorp #3',8425.25
+10011013,'amalgamalgamalg #13',7914.33
+7009005,'maxibrand #5',7859.23
+10006001,'corpunivamalg #1',6901.74
+9009002,'maximaxi #2',4025.61
+---- TYPES
+INT, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q56.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q56.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q56.test
new file mode 100644
index 0000000..4283385
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q56.test
@@ -0,0 +1,171 @@
+====
+---- QUERY: TPCDS-Q56
+with ss as (
+ select i_item_id,sum(ss_ext_sales_price) total_sales
+ from
+  store_sales,
+  date_dim,
+         customer_address,
+         item
+ where i_item_id in (select
+     i_item_id
+from item
+where i_color in ('slate','blanched','burnished'))
+ and     ss_item_sk              = i_item_sk
+ and     ss_sold_date_sk         = d_date_sk
+ and     d_year                  = 2001
+ and     d_moy                   = 2
+ and     ss_addr_sk              = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_item_id),
+ cs as (
+ select i_item_id,sum(cs_ext_sales_price) total_sales
+ from
+  catalog_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_item_id               in (select
+  i_item_id
+from item
+where i_color in ('slate','blanched','burnished'))
+ and     cs_item_sk              = i_item_sk
+ and     cs_sold_date_sk         = d_date_sk
+ and     d_year                  = 2001
+ and     d_moy                   = 2
+ and     cs_bill_addr_sk         = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_item_id),
+ ws as (
+ select i_item_id,sum(ws_ext_sales_price) total_sales
+ from
+  web_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_item_id               in (select
+  i_item_id
+from item
+where i_color in ('slate','blanched','burnished'))
+ and     ws_item_sk              = i_item_sk
+ and     ws_sold_date_sk         = d_date_sk
+ and     d_year                  = 2001
+ and     d_moy                   = 2
+ and     ws_bill_addr_sk         = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_item_id)
+  select  i_item_id ,sum(total_sales) total_sales
+ from  (select * from ss
+        union all
+        select * from cs
+        union all
+        select * from ws) tmp1
+ group by i_item_id
+ order by total_sales, i_item_id
+ limit 100;
+---- RESULTS
+'AAAAAAAACENDAAAA',0.00
+'AAAAAAAAEPDEAAAA',0.00
+'AAAAAAAAIGBEAAAA',0.00
+'AAAAAAAAFBGBAAAA',3.52
+'AAAAAAAAINHBAAAA',7.28
+'AAAAAAAAMBGAAAAA',8.52
+'AAAAAAAAEOIDAAAA',14.02
+'AAAAAAAAALIBAAAA',48.62
+'AAAAAAAAEDDAAAAA',48.80
+'AAAAAAAAHOBDAAAA',49.50
+'AAAAAAAAMGCCAAAA',51.84
+'AAAAAAAAGBEAAAAA',54.53
+'AAAAAAAACKAEAAAA',66.30
+'AAAAAAAAKHOAAAAA',72.72
+'AAAAAAAANFPBAAAA',74.48
+'AAAAAAAAOFMBAAAA',83.22
+'AAAAAAAAKHMCAAAA',105.44
+'AAAAAAAAFOCEAAAA',105.98
+'AAAAAAAAENCBAAAA',109.20
+'AAAAAAAANGIBAAAA',111.00
+'AAAAAAAADGDEAAAA',121.74
+'AAAAAAAAEPADAAAA',126.08
+'AAAAAAAAINHAAAAA',127.92
+'AAAAAAAAHKJCAAAA',129.84
+'AAAAAAAAOLFBAAAA',132.16
+'AAAAAAAAPLEBAAAA',135.34
+'AAAAAAAAOHKDAAAA',136.36
+'AAAAAAAAEHOAAAAA',153.54
+'AAAAAAAAGJABAAAA',172.50
+'AAAAAAAAOCCBAAAA',200.93
+'AAAAAAAAGGFAAAAA',235.20
+'AAAAAAAAKIKBAAAA',236.95
+'AAAAAAAAMIOBAAAA',238.92
+'AAAAAAAAIPODAAAA',240.96
+'AAAAAAAACPDCAAAA',265.33
+'AAAAAAAAMKCEAAAA',268.37
+'AAAAAAAAKMPAAAAA',283.53
+'AAAAAAAACIBAAAAA',297.76
+'AAAAAAAAEIACAAAA',332.80
+'AAAAAAAAOGEEAAAA',339.65
+'AAAAAAAAMFMDAAAA',351.12
+'AAAAAAAAGHBCAAAA',359.90
+'AAAAAAAAIGDCAAAA',371.79
+'AAAAAAAACHLCAAAA',410.56
+'AAAAAAAAGMBDAAAA',418.46
+'AAAAAAAAIJMCAAAA',422.10
+'AAAAAAAAEJLBAAAA',442.50
+'AAAAAAAANDHCAAAA',460.07
+'AAAAAAAAAFNBAAAA',460.32
+'AAAAAAAAKDGDAAAA',479.88
+'AAAAAAAAKKNCAAAA',494.48
+'AAAAAAAAJAJBAAAA',518.30
+'AAAAAAAACCOBAAAA',522.92
+'AAAAAAAAAEKAAAAA',525.52
+'AAAAAAAAKJBDAAAA',527.15
+'AAAAAAAAGHEDAAAA',538.85
+'AAAAAAAAACGCAAAA',562.68
+'AAAAAAAAAEGAAAAA',572.32
+'AAAAAAAAEKLBAAAA',572.32
+'AAAAAAAAAHCBAAAA',604.38
+'AAAAAAAALFADAAAA',606.67
+'AAAAAAAAKFNDAAAA',617.96
+'AAAAAAAAOEKAAAAA',619.39
+'AAAAAAAAEEBEAAAA',626.40
+'AAAAAAAAKMBCAAAA',628.95
+'AAAAAAAAJHGDAAAA',631.81
+'AAAAAAAAOMLDAAAA',631.89
+'AAAAAAAAGNDDAAAA',645.99
+'AAAAAAAAEADAAAAA',648.20
+'AAAAAAAAKPKCAAAA',651.42
+'AAAAAAAAAKHCAAAA',657.04
+'AAAAAAAAOEIDAAAA',660.24
+'AAAAAAAAMKAEAAAA',691.02
+'AAAAAAAABLKAAAAA',691.26
+'AAAAAAAADEIBAAAA',726.72
+'AAAAAAAAKBHCAAAA',730.20
+'AAAAAAAADNJAAAAA',731.92
+'AAAAAAAAOFPBAAAA',737.28
+'AAAAAAAACPIBAAAA',737.64
+'AAAAAAAAEPPBAAAA',759.36
+'AAAAAAAALNHDAAAA',761.60
+'AAAAAAAAGKPDAAAA',773.56
+'AAAAAAAAKBCAAAAA',775.30
+'AAAAAAAAIBOCAAAA',777.48
+'AAAAAAAAOJBEAAAA',777.84
+'AAAAAAAAKFKBAAAA',780.41
+'AAAAAAAAPJCCAAAA',783.00
+'AAAAAAAACAKBAAAA',800.27
+'AAAAAAAAOFNDAAAA',806.19
+'AAAAAAAAGLIDAAAA',843.75
+'AAAAAAAAGDBAAAAA',868.77
+'AAAAAAAAOGFDAAAA',887.30
+'AAAAAAAACOLBAAAA',918.96
+'AAAAAAAAFFNCAAAA',923.35
+'AAAAAAAACCJDAAAA',955.08
+'AAAAAAAAMMCAAAAA',959.76
+'AAAAAAAACCPDAAAA',971.77
+'AAAAAAAAKNCEAAAA',998.60
+'AAAAAAAACNACAAAA',1010.70
+'AAAAAAAAKDEAAAAA',1019.52
+---- TYPES
+STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q6.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q6.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q6.test
new file mode 100644
index 0000000..11b5ec7
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q6.test
@@ -0,0 +1,75 @@
+====
+---- QUERY: TPCDS-Q6
+select a.ca_state state, count(*) cnt
+from customer_address a,
+     customer c,
+     store_sales s,
+     date_dim d,
+     item i
+where a.ca_address_sk = c.c_current_addr_sk
+  and c.c_customer_sk = s.ss_customer_sk
+  and s.ss_sold_date_sk = d.d_date_sk
+  and s.ss_item_sk = i.i_item_sk
+  and d.d_month_seq =
+      (select distinct (d_month_seq)
+       from date_dim
+       where d_year = 2001
+         and d_moy = 1
+         limit 1)
+  and i.i_current_price > 1.2 *
+      (select avg(j.i_current_price)
+       from item j
+       where j.i_category = i.i_category)
+group by a.ca_state
+having count(*) >= 10
+order by 2,1
+limit 100
+---- RESULTS: VERIFY_IS_EQUAL_SORTED
+'VT',14
+'ME',16
+'NJ',18
+'MD',19
+'AK',21
+'NH',21
+'MA',24
+'NV',26
+'OR',27
+'ND',28
+'UT',31
+'SD',35
+'ID',36
+'NM',36
+'WV',45
+'WA',46
+'SC',47
+'CO',48
+'AL',49
+'FL',49
+'LA',49
+'NY',52
+'WI',53
+'MT',55
+'PA',56
+'OK',57
+'CA',60
+'MS',69
+'NULL',73
+'AR',73
+'TN',74
+'IN',76
+'KS',80
+'MN',81
+'MI',83
+'MO',83
+'NE',87
+'IA',96
+'OH',102
+'KY',103
+'IL',106
+'NC',107
+'VA',137
+'GA',153
+'TX',228
+---- TYPES
+STRING, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q60.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q60.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q60.test
new file mode 100644
index 0000000..4f1059a
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q60.test
@@ -0,0 +1,181 @@
+====
+---- QUERY: TPCDS-Q60
+with ss as (
+ select
+          i_item_id,sum(ss_ext_sales_price) total_sales
+ from
+  store_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_item_id in (select
+  i_item_id
+from
+ item
+where i_category in ('Music'))
+ and     ss_item_sk              = i_item_sk
+ and     ss_sold_date_sk         = d_date_sk
+ and     d_year                  = 1998
+ and     d_moy                   = 9
+ and     ss_addr_sk              = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_item_id),
+ cs as (
+ select
+          i_item_id,sum(cs_ext_sales_price) total_sales
+ from
+  catalog_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_item_id               in (select
+  i_item_id
+from
+ item
+where i_category in ('Music'))
+ and     cs_item_sk              = i_item_sk
+ and     cs_sold_date_sk         = d_date_sk
+ and     d_year                  = 1998
+ and     d_moy                   = 9
+ and     cs_bill_addr_sk         = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_item_id),
+ ws as (
+ select
+          i_item_id,sum(ws_ext_sales_price) total_sales
+ from
+  web_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_item_id               in (select
+  i_item_id
+from
+ item
+where i_category in ('Music'))
+ and     ws_item_sk              = i_item_sk
+ and     ws_sold_date_sk         = d_date_sk
+ and     d_year                  = 1998
+ and     d_moy                   = 9
+ and     ws_bill_addr_sk         = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_item_id)
+  select
+  i_item_id
+,sum(total_sales) total_sales
+ from  (select * from ss
+        union all
+        select * from cs
+        union all
+        select * from ws) tmp1
+ group by i_item_id
+ order by i_item_id
+      ,total_sales
+ limit 100;
+---- RESULTS
+'AAAAAAAAAABBAAAA',6287.84
+'AAAAAAAAAABEAAAA',1297.26
+'AAAAAAAAAADCAAAA',8936.88
+'AAAAAAAAAADEAAAA',20945.84
+'AAAAAAAAAAHAAAAA',7227.38
+'AAAAAAAAAANDAAAA',17117.56
+'AAAAAAAAAAOCAAAA',4287.89
+'AAAAAAAAABADAAAA',499.72
+'AAAAAAAAABBCAAAA',22704.66
+'AAAAAAAAABCEAAAA',22499.76
+'AAAAAAAAABDEAAAA',5527.74
+'AAAAAAAAABFBAAAA',4953.67
+'AAAAAAAAABFEAAAA',12523.22
+'AAAAAAAAABHCAAAA',20093.49
+'AAAAAAAAABIBAAAA',382.30
+'AAAAAAAAABICAAAA',1271.62
+'AAAAAAAAABKCAAAA',7355.85
+'AAAAAAAAABLBAAAA',786.05
+'AAAAAAAAABNAAAAA',8385.94
+'AAAAAAAAACACAAAA',11564.85
+'AAAAAAAAACBEAAAA',13046.23
+'AAAAAAAAACCDAAAA',14533.50
+'AAAAAAAAACDCAAAA',820.49
+'AAAAAAAAACLBAAAA',6761.17
+'AAAAAAAAACNCAAAA',19023.15
+'AAAAAAAAACODAAAA',7322.65
+'AAAAAAAAADACAAAA',4696.41
+'AAAAAAAAADBAAAAA',988.80
+'AAAAAAAAADDCAAAA',5661.21
+'AAAAAAAAADDEAAAA',1846.56
+'AAAAAAAAADEEAAAA',15327.48
+'AAAAAAAAADGEAAAA',4511.21
+'AAAAAAAAADHDAAAA',27866.80
+'AAAAAAAAADICAAAA',15624.49
+'AAAAAAAAADLCAAAA',399.00
+'AAAAAAAAADNDAAAA',6403.89
+'AAAAAAAAADPCAAAA',4246.28
+'AAAAAAAAAEBAAAAA',1946.34
+'AAAAAAAAAEBCAAAA',2021.69
+'AAAAAAAAAEBDAAAA',6664.64
+'AAAAAAAAAECCAAAA',11363.72
+'AAAAAAAAAECEAAAA',10198.96
+'AAAAAAAAAEFCAAAA',62.04
+'AAAAAAAAAEGDAAAA',9547.35
+'AAAAAAAAAEIBAAAA',3804.21
+'AAAAAAAAAEICAAAA',7097.51
+'AAAAAAAAAEKCAAAA',20954.40
+'AAAAAAAAAEPDAAAA',2162.31
+'AAAAAAAAAFBEAAAA',10916.01
+'AAAAAAAAAFCDAAAA',14657.18
+'AAAAAAAAAFDCAAAA',794.73
+'AAAAAAAAAFFAAAAA',9979.09
+'AAAAAAAAAFHCAAAA',2060.61
+'AAAAAAAAAFIAAAAA',705.60
+'AAAAAAAAAFJCAAAA',13594.18
+'AAAAAAAAAFMDAAAA',2354.86
+'AAAAAAAAAFNBAAAA',17475.06
+'AAAAAAAAAGBBAAAA',2052.41
+'AAAAAAAAAGCCAAAA',8040.70
+'AAAAAAAAAGCDAAAA',16455.28
+'AAAAAAAAAGDCAAAA',2495.73
+'AAAAAAAAAGDEAAAA',6750.35
+'AAAAAAAAAGFAAAAA',5985.82
+'AAAAAAAAAGHAAAAA',17532.15
+'AAAAAAAAAGHDAAAA',1220.67
+'AAAAAAAAAGJCAAAA',7564.93
+'AAAAAAAAAGKAAAAA',14082.90
+'AAAAAAAAAGKDAAAA',1891.00
+'AAAAAAAAAGNBAAAA',7856.78
+'AAAAAAAAAGOCAAAA',14920.31
+'AAAAAAAAAGPCAAAA',7986.28
+'AAAAAAAAAHCBAAAA',15074.94
+'AAAAAAAAAHECAAAA',11667.69
+'AAAAAAAAAHHDAAAA',2491.48
+'AAAAAAAAAHJDAAAA',4056.95
+'AAAAAAAAAHMAAAAA',15866.43
+'AAAAAAAAAHNDAAAA',7289.53
+'AAAAAAAAAIACAAAA',2603.30
+'AAAAAAAAAIBCAAAA',9.09
+'AAAAAAAAAIBEAAAA',6979.53
+'AAAAAAAAAIDAAAAA',32.70
+'AAAAAAAAAIDCAAAA',15307.29
+'AAAAAAAAAIIAAAAA',11268.14
+'AAAAAAAAAIIDAAAA',6837.36
+'AAAAAAAAAIJCAAAA',28318.16
+'AAAAAAAAAIMAAAAA',4013.06
+'AAAAAAAAAINBAAAA',7691.92
+'AAAAAAAAAINCAAAA',13190.42
+'AAAAAAAAAIODAAAA',17489.85
+'AAAAAAAAAIPDAAAA',6096.92
+'AAAAAAAAAJAEAAAA',30169.62
+'AAAAAAAAAJCCAAAA',17608.54
+'AAAAAAAAAJGBAAAA',14.10
+'AAAAAAAAAJJCAAAA',2763.55
+'AAAAAAAAAJMBAAAA',1013.43
+'AAAAAAAAAJMCAAAA',12220.00
+'AAAAAAAAAJNBAAAA',8076.70
+'AAAAAAAAAJODAAAA',5113.02
+'AAAAAAAAAKBAAAAA',2413.44
+'AAAAAAAAAKDAAAAA',15712.05
+---- TYPES
+STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q61.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q61.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q61.test
new file mode 100644
index 0000000..e8c2213
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q61.test
@@ -0,0 +1,49 @@
+====
+---- QUERY: TPCDS-Q61
+-- RESULT MISMATCH FROM ORIGINAL in DECIMAL value
+-- FIXED. CAST RESULT QUOTIENT TO DECIMAL(15, 4), TAKE ACTUAL RESULT AS EXPECTED
+select promotions,total,cast(promotions*100.00/total as decimal(15,4))
+from
+  (select sum(ss_ext_sales_price) promotions
+   from  store_sales
+        ,store
+        ,promotion
+        ,date_dim
+        ,customer
+        ,customer_address
+        ,item
+   where ss_sold_date_sk = d_date_sk
+   and   ss_store_sk = s_store_sk
+   and   ss_promo_sk = p_promo_sk
+   and   ss_customer_sk= c_customer_sk
+   and   ca_address_sk = c_current_addr_sk
+   and   ss_item_sk = i_item_sk
+   and   ca_gmt_offset = -5
+   and   i_category = 'Jewelry'
+   and   (p_channel_dmail = 'Y' or p_channel_email = 'Y' or p_channel_tv = 'Y')
+   and   s_gmt_offset = -5
+   and   d_year = 1998
+   and   d_moy  = 1) promotional_sales,
+  (select sum(ss_ext_sales_price) total
+   from  store_sales
+        ,store
+        ,date_dim
+        ,customer
+        ,customer_address
+        ,item
+   where ss_sold_date_sk = d_date_sk
+   and   ss_store_sk = s_store_sk
+   and   ss_customer_sk= c_customer_sk
+   and   ca_address_sk = c_current_addr_sk
+   and   ss_item_sk = i_item_sk
+   and   ca_gmt_offset = -5
+   and   i_category = 'Jewelry'
+   and   s_gmt_offset = -5
+   and   d_year = 1998
+   and   d_moy  = 1) all_sales
+order by promotions, total
+---- RESULTS
+969445.96,1772143.56,54.7047
+---- TYPES
+DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q62.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q62.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q62.test
new file mode 100644
index 0000000..bd2efec
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q62.test
@@ -0,0 +1,138 @@
+====
+---- QUERY: TPCDS-Q62
+select
+   substr(w_warehouse_name,1,20)
+  ,sm_type
+  ,web_name
+  ,sum(case when (ws_ship_date_sk - ws_sold_date_sk <= 30 ) then 1 else 0 end)  as "30 days"
+  ,sum(case when (ws_ship_date_sk - ws_sold_date_sk > 30) and
+                 (ws_ship_date_sk - ws_sold_date_sk <= 60) then 1 else 0 end )  as "31-60 days"
+  ,sum(case when (ws_ship_date_sk - ws_sold_date_sk > 60) and
+                 (ws_ship_date_sk - ws_sold_date_sk <= 90) then 1 else 0 end)  as "61-90 days"
+  ,sum(case when (ws_ship_date_sk - ws_sold_date_sk > 90) and
+                 (ws_ship_date_sk - ws_sold_date_sk <= 120) then 1 else 0 end)  as "91-120 days"
+  ,sum(case when (ws_ship_date_sk - ws_sold_date_sk  > 120) then 1 else 0 end)  as ">120 days"
+from
+   web_sales
+  ,warehouse
+  ,ship_mode
+  ,web_site
+  ,date_dim
+where
+    d_month_seq between 1200 and 1200 + 11
+and ws_ship_date_sk   = d_date_sk
+and ws_warehouse_sk   = w_warehouse_sk
+and ws_ship_mode_sk   = sm_ship_mode_sk
+and ws_web_site_sk    = web_site_sk
+group by
+   substr(w_warehouse_name,1,20)
+  ,sm_type
+  ,web_name
+order by substr(w_warehouse_name,1,20)
+        ,sm_type
+       ,web_name
+limit 100;
+---- RESULTS
+'Bad cards must make.','EXPRESS','site_0',251,248,268,277,0
+'Bad cards must make.','EXPRESS','site_1',262,304,290,267,0
+'Bad cards must make.','EXPRESS','site_2',287,290,293,286,0
+'Bad cards must make.','EXPRESS','site_3',283,260,267,290,0
+'Bad cards must make.','EXPRESS','site_4',281,310,309,321,0
+'Bad cards must make.','LIBRARY','site_0',254,265,226,231,0
+'Bad cards must make.','LIBRARY','site_1',198,231,211,201,0
+'Bad cards must make.','LIBRARY','site_2',181,172,190,176,0
+'Bad cards must make.','LIBRARY','site_3',196,214,173,226,0
+'Bad cards must make.','LIBRARY','site_4',241,241,247,236,0
+'Bad cards must make.','NEXT DAY','site_0',259,255,279,260,0
+'Bad cards must make.','NEXT DAY','site_1',287,334,295,300,0
+'Bad cards must make.','NEXT DAY','site_2',269,309,306,272,0
+'Bad cards must make.','NEXT DAY','site_3',281,322,308,277,0
+'Bad cards must make.','NEXT DAY','site_4',273,295,275,281,0
+'Bad cards must make.','OVERNIGHT','site_0',221,216,201,213,0
+'Bad cards must make.','OVERNIGHT','site_1',250,228,257,235,0
+'Bad cards must make.','OVERNIGHT','site_2',255,223,230,238,0
+'Bad cards must make.','OVERNIGHT','site_3',195,217,199,211,0
+'Bad cards must make.','OVERNIGHT','site_4',175,165,169,164,0
+'Bad cards must make.','REGULAR','site_0',176,239,220,233,0
+'Bad cards must make.','REGULAR','site_1',187,163,200,198,0
+'Bad cards must make.','REGULAR','site_2',190,231,195,208,0
+'Bad cards must make.','REGULAR','site_3',227,241,231,252,0
+'Bad cards must make.','REGULAR','site_4',258,245,260,245,0
+'Bad cards must make.','TWO DAY','site_0',222,235,235,223,0
+'Bad cards must make.','TWO DAY','site_1',264,248,237,227,0
+'Bad cards must make.','TWO DAY','site_2',181,230,231,207,0
+'Bad cards must make.','TWO DAY','site_3',182,158,209,185,0
+'Bad cards must make.','TWO DAY','site_4',203,218,198,221,0
+'Conventional childr','EXPRESS','site_0',311,308,336,287,0
+'Conventional childr','EXPRESS','site_1',250,269,273,260,0
+'Conventional childr','EXPRESS','site_2',255,280,235,276,0
+'Conventional childr','EXPRESS','site_3',269,292,303,278,0
+'Conventional childr','EXPRESS','site_4',275,324,268,330,0
+'Conventional childr','LIBRARY','site_0',212,211,225,250,0
+'Conventional childr','LIBRARY','site_1',218,249,244,204,0
+'Conventional childr','LIBRARY','site_2',203,215,222,205,0
+'Conventional childr','LIBRARY','site_3',163,181,180,193,0
+'Conventional childr','LIBRARY','site_4',189,208,207,191,0
+'Conventional childr','NEXT DAY','site_0',253,269,285,258,0
+'Conventional childr','NEXT DAY','site_1',289,244,254,269,0
+'Conventional childr','NEXT DAY','site_2',341,290,310,315,0
+'Conventional childr','NEXT DAY','site_3',309,294,328,270,0
+'Conventional childr','NEXT DAY','site_4',312,311,275,291,0
+'Conventional childr','OVERNIGHT','site_0',180,193,167,211,0
+'Conventional childr','OVERNIGHT','site_1',196,210,238,194,0
+'Conventional childr','OVERNIGHT','site_2',218,236,287,220,0
+'Conventional childr','OVERNIGHT','site_3',235,253,228,246,0
+'Conventional childr','OVERNIGHT','site_4',211,199,201,201,0
+'Conventional childr','REGULAR','site_0',209,262,232,207,0
+'Conventional childr','REGULAR','site_1',214,218,222,227,0
+'Conventional childr','REGULAR','site_2',166,193,184,183,0
+'Conventional childr','REGULAR','site_3',195,191,221,219,0
+'Conventional childr','REGULAR','site_4',248,236,244,256,0
+'Conventional childr','TWO DAY','site_0',192,225,232,225,0
+'Conventional childr','TWO DAY','site_1',248,239,233,251,0
+'Conventional childr','TWO DAY','site_2',230,214,237,201,0
+'Conventional childr','TWO DAY','site_3',236,190,190,222,0
+'Conventional childr','TWO DAY','site_4',197,159,202,176,0
+'Doors canno','EXPRESS','site_0',303,312,304,319,0
+'Doors canno','EXPRESS','site_1',321,278,313,297,0
+'Doors canno','EXPRESS','site_2',267,277,265,257,0
+'Doors canno','EXPRESS','site_3',263,245,258,285,0
+'Doors canno','EXPRESS','site_4',282,313,319,323,0
+'Doors canno','LIBRARY','site_0',201,210,201,200,0
+'Doors canno','LIBRARY','site_1',239,217,208,206,0
+'Doors canno','LIBRARY','site_2',229,233,244,241,0
+'Doors canno','LIBRARY','site_3',216,198,182,222,0
+'Doors canno','LIBRARY','site_4',176,163,170,216,0
+'Doors canno','NEXT DAY','site_0',289,287,289,311,0
+'Doors canno','NEXT DAY','site_1',253,293,256,274,0
+'Doors canno','NEXT DAY','site_2',275,242,265,261,0
+'Doors canno','NEXT DAY','site_3',347,299,296,278,0
+'Doors canno','NEXT DAY','site_4',280,300,325,334,0
+'Doors canno','OVERNIGHT','site_0',235,232,202,221,0
+'Doors canno','OVERNIGHT','site_1',189,177,179,174,0
+'Doors canno','OVERNIGHT','site_2',230,186,228,207,0
+'Doors canno','OVERNIGHT','site_3',231,251,228,242,0
+'Doors canno','OVERNIGHT','site_4',226,247,237,227,0
+'Doors canno','REGULAR','site_0',235,224,237,214,0
+'Doors canno','REGULAR','site_1',203,252,226,247,0
+'Doors canno','REGULAR','site_2',227,193,204,222,0
+'Doors canno','REGULAR','site_3',157,176,169,189,0
+'Doors canno','REGULAR','site_4',232,200,217,199,0
+'Doors canno','TWO DAY','site_0',190,165,199,200,0
+'Doors canno','TWO DAY','site_1',226,224,209,196,0
+'Doors canno','TWO DAY','site_2',229,236,220,235,0
+'Doors canno','TWO DAY','site_3',242,197,248,238,0
+'Doors canno','TWO DAY','site_4',204,213,230,221,0
+'Important issues liv','EXPRESS','site_0',240,250,239,260,0
+'Important issues liv','EXPRESS','site_1',291,287,283,311,0
+'Important issues liv','EXPRESS','site_2',274,312,300,293,0
+'Important issues liv','EXPRESS','site_3',282,298,307,285,0
+'Important issues liv','EXPRESS','site_4',285,271,268,290,0
+'Important issues liv','LIBRARY','site_0',218,230,209,201,0
+'Important issues liv','LIBRARY','site_1',165,160,153,182,0
+'Important issues liv','LIBRARY','site_2',213,209,234,222,0
+'Important issues liv','LIBRARY','site_3',237,258,219,238,0
+'Important issues liv','LIBRARY','site_4',224,243,277,237,0
+---- TYPES
+STRING, STRING, STRING, BIGINT, BIGINT, BIGINT, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q64.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q64.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q64.test
new file mode 100644
index 0000000..32d6779
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q64.test
@@ -0,0 +1,144 @@
+====
+---- QUERY: TPCDS-Q64
+-- RESULT MISMATCH FROM ORIGINAL
+-- ADDED ORDER BY COLUMNS.
+with cs_ui as
+ (select cs_item_sk
+        ,sum(cs_ext_list_price) as sale,sum(cr_refunded_cash+cr_reversed_charge+cr_store_credit) as refund
+  from catalog_sales
+      ,catalog_returns
+  where cs_item_sk = cr_item_sk
+    and cs_order_number = cr_order_number
+  group by cs_item_sk
+  having sum(cs_ext_list_price)>2*sum(cr_refunded_cash+cr_reversed_charge+cr_store_credit)),
+cross_sales as
+ (select i_product_name product_name
+     ,i_item_sk item_sk
+     ,s_store_name store_name
+     ,s_zip store_zip
+     ,ad1.ca_street_number b_street_number
+     ,ad1.ca_street_name b_street_name
+     ,ad1.ca_city b_city
+     ,ad1.ca_zip b_zip
+     ,ad2.ca_street_number c_street_number
+     ,ad2.ca_street_name c_street_name
+     ,ad2.ca_city c_city
+     ,ad2.ca_zip c_zip
+     ,d1.d_year as syear
+     ,d2.d_year as fsyear
+     ,d3.d_year s2year
+     ,count(*) cnt
+     ,sum(ss_wholesale_cost) s1
+     ,sum(ss_list_price) s2
+     ,sum(ss_coupon_amt) s3
+  FROM   store_sales
+        ,store_returns
+        ,cs_ui
+        ,date_dim d1
+        ,date_dim d2
+        ,date_dim d3
+        ,store
+        ,customer
+        ,customer_demographics cd1
+        ,customer_demographics cd2
+        ,promotion
+        ,household_demographics hd1
+        ,household_demographics hd2
+        ,customer_address ad1
+        ,customer_address ad2
+        ,income_band ib1
+        ,income_band ib2
+        ,item
+  WHERE  ss_store_sk = s_store_sk AND
+         ss_sold_date_sk = d1.d_date_sk AND
+         ss_customer_sk = c_customer_sk AND
+         ss_cdemo_sk= cd1.cd_demo_sk AND
+         ss_hdemo_sk = hd1.hd_demo_sk AND
+         ss_addr_sk = ad1.ca_address_sk and
+         ss_item_sk = i_item_sk and
+         ss_item_sk = sr_item_sk and
+         ss_ticket_number = sr_ticket_number and
+         ss_item_sk = cs_ui.cs_item_sk and
+         c_current_cdemo_sk = cd2.cd_demo_sk AND
+         c_current_hdemo_sk = hd2.hd_demo_sk AND
+         c_current_addr_sk = ad2.ca_address_sk and
+         c_first_sales_date_sk = d2.d_date_sk and
+         c_first_shipto_date_sk = d3.d_date_sk and
+         ss_promo_sk = p_promo_sk and
+         hd1.hd_income_band_sk = ib1.ib_income_band_sk and
+         hd2.hd_income_band_sk = ib2.ib_income_band_sk and
+         cd1.cd_marital_status <> cd2.cd_marital_status and
+         i_color in ('purple','burlywood','indian','spring','floral','medium') and
+         i_current_price between 64 and 64 + 10 and
+         i_current_price between 64 + 1 and 64 + 15
+group by i_product_name
+       ,i_item_sk
+       ,s_store_name
+       ,s_zip
+       ,ad1.ca_street_number
+       ,ad1.ca_street_name
+       ,ad1.ca_city
+       ,ad1.ca_zip
+       ,ad2.ca_street_number
+       ,ad2.ca_street_name
+       ,ad2.ca_city
+       ,ad2.ca_zip
+       ,d1.d_year
+       ,d2.d_year
+       ,d3.d_year
+)
+select cs1.product_name
+     ,cs1.store_name
+     ,cs1.store_zip
+     ,cs1.b_street_number
+     ,cs1.b_street_name
+     ,cs1.b_city
+     ,cs1.b_zip
+     ,cs1.c_street_number
+     ,cs1.c_street_name
+     ,cs1.c_city
+     ,cs1.c_zip
+     ,cs1.syear
+     ,cs1.cnt
+     ,cs1.s1 as s11
+     ,cs1.s2 as s21
+     ,cs1.s3 as s31
+     ,cs2.s1 as s12
+     ,cs2.s2 as s22
+     ,cs2.s3 as s32
+     ,cs2.syear
+     ,cs2.cnt
+from cross_sales cs1,cross_sales cs2
+where cs1.item_sk=cs2.item_sk and
+     cs1.syear = 1999 and
+     cs2.syear = 1999 + 1 and
+     cs2.cnt <= cs1.cnt and
+     cs1.store_name = cs2.store_name and
+     cs1.store_zip = cs2.store_zip
+order by cs1.product_name
+       ,cs1.store_name
+       ,cs2.cnt
+     -- Added to fix result ordering
+       ,b_street_number desc
+       ,b_street_name desc
+       ,b_zip desc
+       ,s11 desc
+       ,s21 desc
+       ,s31 desc
+       ,s12 desc
+       ,s22 desc
+       ,s32 desc;
+---- RESULTS
+'n stableableantiought','able','31904','987','Hillcrest ','Fairbanks','46653','216','3rd ','Reno','40344',1999,1,55.42,80.91,954.53,59.08,76.80,0.00,2000,1
+'n stableableantiought','ation','31904','425','Green ','Enterprise','11757','772','Valley ','NULL','NULL',1999,1,16.24,25.17,0.00,44.27,58.43,0.00,2000,1
+'n stableableantiought','ation','31904','425','Green ','Enterprise','11757','772','Valley ','NULL','NULL',1999,1,16.24,25.17,0.00,7.92,11.80,0.00,2000,1
+'n stableableantiought','ation','31904','316','Valley Tenth','Pine Grove','74593','806','Wilson Main','Jackson','59583',1999,1,49.63,78.41,14.22,44.27,58.43,0.00,2000,1
+'n stableableantiought','ation','31904','316','Valley Tenth','Pine Grove','74593','806','Wilson Main','Jackson','59583',1999,1,49.63,78.41,14.22,7.92,11.80,0.00,2000,1
+'n stableableantiought','ation','31904','173','Park Maple','Sulphur Springs','68354','232','Franklin ','Fairfield','66192',1999,1,60.78,85.09,0.00,44.27,58.43,0.00,2000,1
+'n stableableantiought','ation','31904','173','Park Maple','Sulphur Springs','68354','232','Franklin ','Fairfield','66192',1999,1,60.78,85.09,0.00,7.92,11.80,0.00,2000,1
+'n stableableantiought','eing','35709','928','First Oak','Summit','40499','178','Johnson Hillcrest','Oakdale','59584',1999,1,63.82,121.25,0.00,58.19,85.53,0.00,2000,1
+'n stableableantiought','eing','35709','928','First Oak','Summit','40499','178','Johnson Hillcrest','Oakdale','59584',1999,1,63.82,121.25,0.00,30.28,49.65,0.00,2000,1
+'n stableableantiought','eing','35709','928','First Oak','Summit','40499','178','Johnson Hillcrest','Oakdale','59584',1999,1,63.82,121.25,0.00,10.25,12.09,0.00,2000,1
+---- TYPES
+STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, INT, BIGINT, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL, INT, BIGINT
+====
\ No newline at end of file


[02/12] impala git commit: IMPALA-4315: Allow USE and SHOW TABLES if the user has only column privileges

Posted by ta...@apache.org.
IMPALA-4315: Allow USE and SHOW TABLES if the user has only column privileges

USE and SHOW TABLES should be allowed if there is at least one
table in a database where the user has table or column
privileges. Impala incorrectly checked only for table privileges.

To test this issue in AuthorizationTest.java, 'functional_avro'
is added as a test database with only column level permissions.

Change-Id: Ia69756a18cb1db304d2bb8c92288612cbd1164d8
Reviewed-on: http://gerrit.cloudera.org:8080/8973
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/dcc7be0e
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/dcc7be0e
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/dcc7be0e

Branch: refs/heads/master
Commit: dcc7be0ed483b332dac22d6596f56ff2a6cfdaa3
Parents: b6e4313
Author: Csaba Ringhofer <cs...@cloudera.com>
Authored: Tue Jan 9 16:55:28 2018 +0100
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Wed Jan 17 22:40:13 2018 +0000

----------------------------------------------------------------------
 .../apache/impala/analysis/AnalysisContext.java |  6 ++++--
 .../org/apache/impala/analysis/Analyzer.java    |  4 +++-
 .../impala/analysis/AuthorizationTest.java      | 21 ++++++++++++++++++--
 fe/src/test/resources/authz-policy.ini.template |  4 +++-
 4 files changed, 29 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/dcc7be0e/fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java
----------------------------------------------------------------------
diff --git a/fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java b/fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java
index 71a185e..5ad97eb 100644
--- a/fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java
+++ b/fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java
@@ -445,7 +445,7 @@ public class AnalysisContext {
     Preconditions.checkNotNull(analysisResult_);
     Analyzer analyzer = getAnalyzer();
     // Process statements for which column-level privilege requests may be registered
-    // except for DESCRIBE TABLE or REFRESH/INVALIDATE statements
+    // except for DESCRIBE TABLE, REFRESH/INVALIDATE, USE or SHOW TABLES statements.
     if (analysisResult_.isQueryStmt() || analysisResult_.isInsertStmt() ||
         analysisResult_.isUpdateStmt() || analysisResult_.isDeleteStmt() ||
         analysisResult_.isCreateTableAsSelectStmt() ||
@@ -493,7 +493,9 @@ public class AnalysisContext {
         Preconditions.checkState(
             !(privReq.getAuthorizeable() instanceof AuthorizeableColumn) ||
             analysisResult_.isDescribeTableStmt() ||
-            analysisResult_.isResetMetadataStmt());
+            analysisResult_.isResetMetadataStmt() ||
+            analysisResult_.isUseStmt() ||
+            analysisResult_.isShowTablesStmt());
         authorizePrivilegeRequest(authzChecker, privReq);
       }
     }

http://git-wip-us.apache.org/repos/asf/impala/blob/dcc7be0e/fe/src/main/java/org/apache/impala/analysis/Analyzer.java
----------------------------------------------------------------------
diff --git a/fe/src/main/java/org/apache/impala/analysis/Analyzer.java b/fe/src/main/java/org/apache/impala/analysis/Analyzer.java
index eab33cb..5e9c788 100644
--- a/fe/src/main/java/org/apache/impala/analysis/Analyzer.java
+++ b/fe/src/main/java/org/apache/impala/analysis/Analyzer.java
@@ -31,6 +31,7 @@ import java.util.Set;
 
 import org.apache.impala.analysis.Path.PathType;
 import org.apache.impala.authorization.AuthorizationConfig;
+import org.apache.impala.authorization.AuthorizeableTable;
 import org.apache.impala.authorization.Privilege;
 import org.apache.impala.authorization.PrivilegeRequest;
 import org.apache.impala.authorization.PrivilegeRequestBuilder;
@@ -2473,7 +2474,8 @@ public class Analyzer {
       throws AnalysisException {
     PrivilegeRequestBuilder pb = new PrivilegeRequestBuilder();
     if (privilege == Privilege.ANY) {
-      registerPrivReq(pb.any().onAnyTable(dbName).toRequest());
+      registerPrivReq(
+          pb.any().onAnyColumn(dbName, AuthorizeableTable.ANY_TABLE_NAME).toRequest());
     } else {
       registerPrivReq(pb.allOf(privilege).onDb(dbName).toRequest());
     }

http://git-wip-us.apache.org/repos/asf/impala/blob/dcc7be0e/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java
----------------------------------------------------------------------
diff --git a/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java b/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java
index 30a0238..9140e52 100644
--- a/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java
+++ b/fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java
@@ -98,6 +98,8 @@ public class AuthorizationTest {
   //   INSERT permissions on 'functional.alltypes' (no SELECT permissions)
   //   INSERT permissions on all tables in 'functional_parquet' database
   //   No permissions on database 'functional_rc'
+  //   Only column level permissions in 'functional_avro':
+  //     SELECT permissions on columns ('id') on 'functional_avro.alltypessmall'
   public final static String AUTHZ_POLICY_FILE = "/test-warehouse/authz-policy.ini";
   public final static User USER = new User(System.getProperty("user.name"));
 
@@ -388,6 +390,19 @@ public class AuthorizationTest {
       privileges.add(priv);
     }
     sentryService.grantRolePrivileges(USER, roleName, privileges);
+
+    // select_column_level_functional_avro
+    roleName = "select_column_level_functional_avro";
+    sentryService.createRole(USER, roleName, true);
+    sentryService.grantRoleToGroup(USER, roleName, USER.getName());
+
+    privilege = new TPrivilege("", TPrivilegeLevel.SELECT,
+        TPrivilegeScope.COLUMN, false);
+    privilege.setServer_name("server1");
+    privilege.setDb_name("functional_avro");
+    privilege.setTable_name("alltypessmall");
+    privilege.setColumn_name("id");
+    sentryService.grantRolePrivilege(USER, roleName, privilege);
   }
 
   @Test
@@ -757,6 +772,7 @@ public class AuthorizationTest {
   public void TestUseDb() throws ImpalaException {
     // Positive cases (user has privileges on these tables).
     AuthzOk("use functional");
+    AuthzOk("use functional_avro"); // Database with only column privileges.
     AuthzOk("use tpcds");
     AuthzOk("use tpch");
 
@@ -1517,6 +1533,7 @@ public class AuthorizationTest {
   @Test
   public void TestShowPermissions() throws ImpalaException {
     AuthzOk("show tables in functional");
+    AuthzOk("show tables in functional_avro"); // Database with only column privileges.
     AuthzOk("show databases");
     AuthzOk("show tables in _impala_builtins");
     AuthzOk("show functions in _impala_builtins");
@@ -1579,7 +1596,7 @@ public class AuthorizationTest {
     // These are the only dbs that should show up because they are the only
     // dbs the user has any permissions on.
     List<String> expectedDbs = Lists.newArrayList("default", "functional",
-        "functional_parquet", "functional_seq_snap", "tpcds", "tpch");
+        "functional_avro", "functional_parquet", "functional_seq_snap", "tpcds", "tpch");
 
     List<Db> dbs = fe_.getDbs(PatternMatcher.createHivePatternMatcher("*"), USER);
     assertEquals(expectedDbs, extractDbNames(dbs));
@@ -1742,7 +1759,7 @@ public class AuthorizationTest {
     req.get_schemas_req.setSchemaName("%");
     TResultSet resp = fe_.execHiveServer2MetadataOp(req);
     List<String> expectedDbs = Lists.newArrayList("default", "functional",
-        "functional_parquet", "functional_seq_snap", "tpcds", "tpch");
+        "functional_avro", "functional_parquet", "functional_seq_snap", "tpcds", "tpch");
     assertEquals(expectedDbs.size(), resp.rows.size());
     for (int i = 0; i < resp.rows.size(); ++i) {
       assertEquals(expectedDbs.get(i),

http://git-wip-us.apache.org/repos/asf/impala/blob/dcc7be0e/fe/src/test/resources/authz-policy.ini.template
----------------------------------------------------------------------
diff --git a/fe/src/test/resources/authz-policy.ini.template b/fe/src/test/resources/authz-policy.ini.template
index 57db74c..18abdb6 100644
--- a/fe/src/test/resources/authz-policy.ini.template
+++ b/fe/src/test/resources/authz-policy.ini.template
@@ -24,7 +24,7 @@ ${USER} = all_tpch, all_newdb, all_functional_seq_snap, select_tpcds,\
           select_functional_alltypesagg, insert_functional_alltypes,\
           select_functional_complex_view, select_functional_view_view,\
           insert_parquet, new_table_uri, tpch_data_uri, select_column_level_functional,\
-          upper_case_uri
+          select_column_level_functional_avro, upper_case_uri
 auth_to_local_group = test_role
 server_admin = all_server
 
@@ -68,6 +68,8 @@ select_column_level_functional =\
     server=server1->db=functional->table=allcomplextypes->column=id->action=select,\
     server=server1->db=functional->table=allcomplextypes->column=struct_array_col->action=select,\
     server=server1->db=functional->table=allcomplextypes->column=int_map_col->action=select
+select_column_level_functional_avro =\
+    server=server1->db=functional_avro->table=alltypessmall->column=id->action=select
 new_table_uri = server=server1->uri=hdfs://localhost:20500/test-warehouse/new_table
 tpch_data_uri = server=server1->uri=hdfs://localhost:20500/test-warehouse/tpch.lineitem
 upper_case_uri = server=server1->uri=hdfs://localhost:20500/test-warehouse/UPPER_CASE


[06/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q78.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q78.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q78.test
new file mode 100644
index 0000000..3dcedc5
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q78.test
@@ -0,0 +1,163 @@
+====
+---- QUERY: TPCDS-Q78
+-- RESULT MISMATCH FROM ORIGINAL
+-- FIXED. TAKE ACTUAL RESULT AS EXPECTED
+with ws as
+  (select d_year AS ws_sold_year, ws_item_sk,
+    ws_bill_customer_sk ws_customer_sk,
+    sum(ws_quantity) ws_qty,
+    sum(ws_wholesale_cost) ws_wc,
+    sum(ws_sales_price) ws_sp
+   from web_sales
+   left join web_returns on wr_order_number=ws_order_number and ws_item_sk=wr_item_sk
+   join date_dim on ws_sold_date_sk = d_date_sk
+   where wr_order_number is null
+   group by d_year, ws_item_sk, ws_bill_customer_sk
+   ),
+cs as
+  (select d_year AS cs_sold_year, cs_item_sk,
+    cs_bill_customer_sk cs_customer_sk,
+    sum(cs_quantity) cs_qty,
+    sum(cs_wholesale_cost) cs_wc,
+    sum(cs_sales_price) cs_sp
+   from catalog_sales
+   left join catalog_returns on cr_order_number=cs_order_number and cs_item_sk=cr_item_sk
+   join date_dim on cs_sold_date_sk = d_date_sk
+   where cr_order_number is null
+   group by d_year, cs_item_sk, cs_bill_customer_sk
+   ),
+ss as
+  (select d_year AS ss_sold_year, ss_item_sk,
+    ss_customer_sk,
+    sum(ss_quantity) ss_qty,
+    sum(ss_wholesale_cost) ss_wc,
+    sum(ss_sales_price) ss_sp
+   from store_sales
+   left join store_returns on sr_ticket_number=ss_ticket_number and ss_item_sk=sr_item_sk
+   join date_dim on ss_sold_date_sk = d_date_sk
+   where sr_ticket_number is null
+   group by d_year, ss_item_sk, ss_customer_sk
+   )
+ select
+ss_sold_year, ss_item_sk, ss_customer_sk,
+round(ss_qty/(coalesce(ws_qty,0)+coalesce(cs_qty,0)),2) ratio,
+ss_qty store_qty, ss_wc store_wholesale_cost, ss_sp store_sales_price,
+coalesce(ws_qty,0)+coalesce(cs_qty,0) other_chan_qty,
+coalesce(ws_wc,0)+coalesce(cs_wc,0) other_chan_wholesale_cost,
+coalesce(ws_sp,0)+coalesce(cs_sp,0) other_chan_sales_price
+from ss
+left join ws on (ws_sold_year=ss_sold_year and ws_item_sk=ss_item_sk and ws_customer_sk=ss_customer_sk)
+left join cs on (cs_sold_year=ss_sold_year and cs_item_sk=ss_item_sk and cs_customer_sk=ss_customer_sk)
+where (coalesce(ws_qty,0)>0 or coalesce(cs_qty, 0)>0) and ss_sold_year=2002
+order by
+  ss_sold_year, ss_item_sk, ss_customer_sk,
+  ss_qty desc, ss_wc desc, ss_sp desc,
+  other_chan_qty,
+  other_chan_wholesale_cost,
+  other_chan_sales_price,
+  round(ss_qty/(coalesce(ws_qty+cs_qty,1)),2)
+limit 100;
+---- RESULTS
+2002,9,5646,0.43,20,7.84,11.54,47,30.81,85.03
+2002,57,97133,6.36,70,40.21,43.02,11,5.16,11.10
+2002,129,108,26.00,26,10.48,2.37,1,87.68,47.14
+2002,321,41960,0.17,7,90.35,105.67,41,39.05,24.69
+2002,511,14899,0.25,21,72.09,108.17,84,89.30,103.17
+2002,690,2510,0.54,37,79.26,68.23,69,56.38,22.82
+2002,721,403,1.67,95,61.68,65.23,57,52.67,50.53
+2002,729,46247,2.09,73,91.24,89.89,35,80.58,35.77
+2002,765,37957,0.06,5,84.16,14.01,90,12.45,5.09
+2002,1059,25758,1.38,47,86.96,91.23,34,32.27,5.76
+2002,1236,41346,1.59,43,28.56,40.90,27,7.18,2.01
+2002,1260,46874,1.11,98,5.18,3.01,88,50.18,1.29
+2002,1335,76341,2.94,97,86.95,3.30,33,68.26,73.11
+2002,1347,76414,0.01,1,5.00,NULL,79,45.08,13.14
+2002,1464,89045,1.03,100,95.99,NULL,97,38.98,27.96
+2002,1477,17492,2.12,89,38.91,37.74,42,38.00,39.46
+2002,1767,16602,0.76,16,94.71,47.81,21,12.73,15.51
+2002,1983,47178,2.53,76,63.03,75.63,30,90.09,116.43
+2002,1986,6198,0.72,31,71.27,97.49,43,44.13,79.14
+2002,2071,24159,0.84,63,84.99,55.68,75,89.63,120.08
+2002,2245,73119,0.09,6,10.04,2.59,65,61.47,44.42
+2002,2293,27432,10.57,74,47.06,59.52,7,5.27,7.03
+2002,2353,92698,1.41,58,85.54,11.20,41,41.20,86.32
+2002,2761,38357,0.34,32,49.23,9.98,94,37.74,37.64
+2002,2845,7790,1.73,76,85.75,30.56,44,93.91,0.00
+2002,2959,47472,1.97,75,77.31,92.67,38,82.28,83.75
+2002,3045,20740,0.51,25,97.93,88.86,49,70.74,157.56
+2002,3129,26451,0.09,6,31.93,10.29,65,62.81,90.30
+2002,3204,35986,1.88,32,12.65,3.84,17,64.95,44.36
+2002,3219,29526,1.46,82,42.31,65.89,56,9.90,15.19
+2002,3357,71540,0.11,9,50.44,22.46,81,53.38,74.94
+2002,3399,72,2.61,81,4.58,3.13,31,63.52,40.03
+2002,3462,88673,0.17,11,40.93,43.54,66,39.83,35.68
+2002,3627,71405,0.24,21,61.60,20.18,86,30.17,2.98
+2002,3732,41263,0.35,33,63.24,71.03,93,64.70,123.62
+2002,3942,31747,0.28,8,14.21,22.64,29,55.38,6.42
+2002,4117,54024,0.57,41,66.75,72.00,72,71.80,96.35
+2002,4242,37012,0.78,47,15.86,6.80,60,97.79,170.03
+2002,4302,64566,1.55,82,6.26,2.15,53,50.12,55.86
+2002,4447,74056,0.48,27,16.86,11.21,56,89.56,144.94
+2002,4686,76933,1.00,15,75.29,54.19,15,7.49,6.75
+2002,4717,79946,0.89,57,39.12,67.27,64,7.08,1.71
+2002,4723,36380,3.62,47,65.36,15.68,13,48.79,8.87
+2002,4819,62327,0.77,63,44.48,52.39,82,68.44,88.28
+2002,4957,36983,2.33,70,38.96,14.99,30,34.89,22.13
+2002,4992,62746,0.48,15,17.23,11.02,31,60.22,97.22
+2002,5004,31716,3.00,78,30.61,21.16,26,73.11,50.70
+2002,5133,97233,0.58,49,59.82,43.19,84,85.44,4.07
+2002,5245,45142,0.49,30,1.10,0.37,61,36.53,44.48
+2002,5251,73991,3.20,96,51.64,93.16,30,27.34,8.36
+2002,5449,95871,0.19,16,18.71,8.24,85,12.35,5.29
+2002,5472,24589,0.24,8,34.74,26.11,33,42.48,35.38
+2002,5503,34938,0.69,9,98.38,93.49,13,49.87,54.85
+2002,5569,64962,0.50,50,NULL,5.68,100,93.35,78.15
+2002,5583,92620,0.72,56,97.86,50.80,78,93.99,1.40
+2002,5727,60671,1.14,49,43.70,1.73,43,86.92,100.16
+2002,5737,39389,2.71,46,59.71,2.72,17,95.38,25.03
+2002,5749,62425,1.10,100,39.91,16.04,91,88.00,54.33
+2002,5841,67686,0.33,22,54.47,86.52,67,62.11,7.52
+2002,5937,84826,1.59,86,97.93,75.53,54,75.03,58.06
+2002,6015,91432,2.81,73,95.72,98.89,26,14.50,16.96
+2002,6060,4560,0.20,15,8.54,13.22,75,62.88,117.71
+2002,6139,45325,1.08,92,55.42,6.16,85,58.04,52.46
+2002,6195,65834,1.33,61,88.07,88.10,46,95.23,15.42
+2002,6471,70702,0.26,12,59.51,50.98,46,61.85,26.39
+2002,6576,13149,1.08,13,11.27,2.64,12,63.38,111.35
+2002,6609,27877,9.00,90,66.94,22.75,10,82.77,144.84
+2002,6633,42874,0.93,82,31.20,35.97,88,44.86,6.40
+2002,6855,15315,0.31,25,58.32,89.27,80,78.76,14.83
+2002,6912,52490,1.13,85,56.88,35.84,75,40.18,0.58
+2002,6931,79419,5.00,10,27.63,18.85,2,65.44,132.47
+2002,7033,66414,0.26,13,94.05,1.16,50,67.17,107.46
+2002,7063,21112,0.77,27,49.27,79.81,35,77.32,93.24
+2002,7215,31653,0.42,32,57.07,1.72,77,92.67,171.36
+2002,7561,51218,1.00,68,35.23,21.28,68,59.73,129.01
+2002,7782,49798,1.04,53,83.78,112.52,51,76.63,63.44
+2002,7801,88304,0.48,12,96.02,41.33,25,95.64,20.64
+2002,7815,66823,0.94,72,25.50,25.58,77,53.59,76.78
+2002,7957,96021,0.44,43,79.68,30.03,98,73.48,90.26
+2002,8049,60811,0.39,12,81.72,20.26,31,37.82,50.91
+2002,8227,91553,0.87,60,87.92,111.61,69,31.14,25.90
+2002,8337,8072,0.20,12,63.82,50.02,61,98.28,5.38
+2002,8349,57239,0.25,22,3.17,0.78,89,20.00,18.55
+2002,8451,86351,0.42,40,83.30,109.88,96,77.69,52.56
+2002,8505,27133,0.19,5,30.40,21.53,27,88.89,7.57
+2002,8646,73272,0.72,23,13.59,6.28,32,17.75,13.76
+2002,8761,53153,0.88,37,2.97,4.64,42,58.26,55.88
+2002,8898,57830,0.57,47,30.69,17.17,83,16.40,36.64
+2002,8979,50230,0.50,15,12.02,1.03,30,36.85,34.45
+2002,8983,80488,0.18,7,46.94,49.14,39,51.17,61.25
+2002,8989,69606,0.45,22,99.16,93.14,49,73.63,37.31
+2002,9165,45023,3.67,22,32.15,14.95,6,28.47,38.94
+2002,9193,88085,0.84,61,34.73,34.78,73,30.59,9.83
+2002,9307,30830,0.01,1,53.62,23.51,72,74.60,55.05
+2002,9327,65904,0.97,38,79.26,122.00,39,10.33,14.31
+2002,9385,42467,0.52,27,64.95,23.69,52,86.42,2.37
+2002,9387,87700,0.88,14,85.04,132.39,16,99.04,64.37
+2002,9519,47703,1.49,85,7.64,11.98,57,83.37,144.89
+2002,9541,38364,0.36,27,14.91,11.36,76,2.16,1.32
+2002,9918,45262,1.09,98,3.02,1.91,90,90.79,154.11
+---- TYPES
+INT, BIGINT, INT, DOUBLE, BIGINT, DECIMAL, DECIMAL, BIGINT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q79.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q79.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q79.test
new file mode 100644
index 0000000..662d7bc
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q79.test
@@ -0,0 +1,149 @@
+====
+---- QUERY: TPCDS-Q79
+select
+  c_last_name,
+  c_first_name,
+  substr(s_city, 1, 30),
+  ss_ticket_number,
+  amt,
+  profit
+from
+  (select
+    ss_ticket_number,
+    ss_customer_sk,
+    store.s_city,
+    sum(ss_coupon_amt) amt,
+    sum(ss_net_profit) profit
+  from
+    store_sales,
+    date_dim,
+    store,
+    household_demographics
+  where
+    store_sales.ss_sold_date_sk = date_dim.d_date_sk
+    and store_sales.ss_store_sk = store.s_store_sk
+    and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
+    and (household_demographics.hd_dep_count = 6
+      or household_demographics.hd_vehicle_count > 2)
+    and date_dim.d_dow = 1
+    and date_dim.d_year in (1999, 1999 + 1, 1999 + 2)
+    and store.s_number_employees between 200 and 295
+  group by
+    ss_ticket_number,
+    ss_customer_sk,
+    ss_addr_sk,
+    store.s_city
+  ) ms,
+  customer
+where
+  ss_customer_sk = c_customer_sk
+order by
+  c_last_name,
+  c_first_name,
+  substr(s_city, 1, 30),
+  profit
+limit 100;
+---- RESULTS
+'Aaron','Guy','Midway',30633,8423.48,-7612.67
+'Abbott','James','Midway',19069,11829.58,-14596.44
+'Abbott','Robert','Midway',108183,2094.22,-11543.20
+'Abell','Tonya','Midway',11487,17.71,-7179.35
+'Abernathy','Verda','Midway',91981,2187.38,-6913.16
+'Abner','Eula','Midway',120315,1123.14,-10293.09
+'Abney','Anthony','Fairview',211863,299.87,-5224.94
+'Abraham','Michael','Fairview',101213,2759.54,-14160.33
+'Abraham','Robert','Midway',172751,122.64,-4104.67
+'Abraham','Travis','Midway',68579,1803.49,-10272.59
+'Abrams','Fannie','Midway',177397,222.18,-2529.63
+'Abreu','Jeffrey','Midway',188029,349.62,-8170.17
+'Acevedo','David','Midway',124592,550.41,-18324.80
+'Acevedo','Ellen','Midway',48390,0.00,-8873.13
+'Acevedo','Grace','Midway',103952,4245.63,-10161.12
+'Ackerman','Jeffrey','Midway',198943,977.78,-6460.69
+'Ackerman','Jeffrey','Midway',19260,3865.35,-1451.04
+'Adair','Evan','Fairview',117449,543.02,-2845.37
+'Adam','Paul','Fairview',161844,100.48,-13979.58
+'Adam','Paul','Fairview',161844,0.00,75.25
+'Adams','Beth','Midway',73934,2148.45,-9147.51
+'Adams','Betty','Midway',83966,3471.23,-11418.81
+'Adams','Dan','Midway',57271,4235.99,-9850.80
+'Adams','George','Midway',162011,7111.36,-23409.35
+'Adams','John','Midway',229336,342.06,-3441.34
+'Adams','Michael','Midway',37967,1645.84,-8363.98
+'Adams','Roy','Midway',164196,0.00,-10557.40
+'Adams','Tony','Midway',184799,0.00,-10143.02
+'Adkins','Evelyn','Midway',210368,14.36,-5619.27
+'Adkins','Kathleen','Midway',58726,8710.56,-16195.45
+'Adler','Charles','Midway',22973,0.00,-14430.54
+'Adler','Julian','Midway',221567,0.00,-7158.29
+'Agee','Anthony','Midway',90993,2119.00,-25648.52
+'Agee','Dora','Midway',217452,2097.93,-7874.59
+'Agnew','Elizabeth','Midway',92724,0.00,-585.34
+'Aguayo','Edwin','Midway',45528,0.00,-12991.97
+'Aguayo','John','Fairview',156381,538.39,444.42
+'Aguilar','Roxane','Midway',6855,2276.72,-8075.22
+'Aguilera','Gladys','Midway',30412,638.21,-3212.77
+'Ahern','Christine','Midway',872,2513.29,-18806.37
+'Ainsworth','John','Midway',12751,31.00,-16667.57
+'Akin','Sharon','Midway',11249,147.14,-6157.31
+'Alarcon','George','Midway',166192,1807.82,-678.04
+'Alarcon','Hazel','Midway',124475,31.54,-1761.42
+'Alarcon','Victoria','Midway',228661,459.41,-3937.68
+'Albert','Jaime','Midway',152168,2869.09,-7283.22
+'Albert','Jeffrey','Midway',238250,1927.20,-9322.37
+'Albright','Helen','Midway',59549,86.16,-6275.12
+'Aldrich','Evelyn','Midway',91580,1806.08,-5265.75
+'Aldridge','Nathanial','Midway',20206,154.62,-4794.76
+'Alexander','Annie','Midway',72228,798.98,-7804.33
+'Alexander','Eddie','Midway',69977,0.00,-9618.25
+'Alexander','Kristen','Midway',55155,1034.24,-8816.85
+'Alexander','Victor','Midway',184075,4566.50,-16164.13
+'Alfonso','Paul','Midway',224079,2598.57,-3747.90
+'Alford','Roberta','Midway',15770,5271.15,-7286.77
+'Ali','Henry','Midway',72418,231.31,-6663.34
+'Alicea','Ramona','Midway',142193,601.85,-10567.32
+'Allard','John','Midway',20098,1.45,-16478.51
+'Allen','Anna','Midway',175145,21.61,-9271.32
+'Allen','Bill','Fairview',144210,351.66,-5655.63
+'Allen','Colleen','Midway',33031,4941.91,-7217.35
+'Allen','David','Fairview',46354,2987.79,-8400.65
+'Allen','Dianna','Midway',72135,3000.83,-5229.79
+'Allen','Earnestine','Midway',159660,1533.49,-16606.99
+'Allen','Earnestine','Midway',159660,NULL,NULL
+'Allen','Florence','Midway',6542,5405.58,-10287.74
+'Allen','Fred','Midway',122737,1188.63,-92.29
+'Allen','Janice','Midway',199800,11.54,-7276.73
+'Allen','Jason','Midway',111015,1074.54,-14891.59
+'Allen','John','Fairview',207020,3598.03,-13469.52
+'Allen','Lena','Midway',187155,10857.02,-12205.46
+'Allen','Leslie','Midway',11150,0.00,-10958.34
+'Allen','Marcia','Midway',190763,1661.52,-14020.72
+'Allen','Michael','Midway',143187,2446.13,-6376.82
+'Allen','Michael','Midway',43014,1774.16,-5814.87
+'Allen','Rocky','Midway',33844,2417.09,-7084.09
+'Allen','Ronald','Midway',80879,1836.27,-9603.40
+'Allen','Sarah','Midway',148147,3530.75,-17432.64
+'Allen','Teresita','Midway',2008,628.35,-5026.60
+'Allen','Teresita','Midway',2008,447.93,-2761.02
+'Allen','NULL','Midway',43827,844.35,-7012.34
+'Allison','Norma','Midway',82553,1922.94,-9307.16
+'Allison','Peggie','Midway',146780,6966.19,-7455.22
+'Allred','Deborah','Midway',193501,1832.66,-11177.35
+'Almeida','David','Fairview',168589,1172.09,-9778.60
+'Alonso','Anthony','Midway',208514,4090.00,-20066.44
+'Alonzo','Troy','Fairview',54936,0.00,-3939.58
+'Alston','Jenny','Midway',127544,3431.78,-6602.81
+'Alston','Ryan','Midway',214797,297.62,-5349.93
+'Altman','Alfred','Fairview',140764,7591.92,-12948.64
+'Alvarado','Richard','Fairview',81704,1547.83,-8473.98
+'Alvarez','Ana','Midway',225521,0.00,-8431.41
+'Alvarez','Eric','Midway',226554,0.00,-3912.23
+'Alvarez','Jennifer','Midway',119831,7409.63,-10587.25
+'Amador','Wilbur','Midway',225632,1355.65,-4691.06
+'Amaya','Christina','Midway',27102,290.84,-10993.57
+'Ambrose','Robert','Midway',91578,247.07,-6173.40
+'Ames','Perry','Fairview',5862,3975.41,-1347.02
+'Amundson','Ernest','Midway',228272,8218.46,-4039.62
+---- TYPES
+STRING, STRING, STRING, BIGINT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q8.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q8.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q8.test
new file mode 100644
index 0000000..91e41d2
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q8.test
@@ -0,0 +1,74 @@
+====
+---- QUERY: TPCDS-Q8
+select
+  s_store_name,
+  sum(ss_net_profit)
+from
+  store_sales
+  join store on (store_sales.ss_store_sk = store.s_store_sk)
+  join
+  (select
+    a.ca_zip
+  from
+    (select
+      substr(ca_zip, 1, 5) ca_zip,
+      count( *) cnt
+    from
+      customer_address
+      join  customer on (customer_address.ca_address_sk = customer.c_current_addr_sk)
+    where
+      c_preferred_cust_flag = 'Y'
+    group by
+      ca_zip
+    having
+      count(*) > 10
+    ) a
+    left semi join
+    (select
+      substr(ca_zip, 1, 5) ca_zip
+    from
+      customer_address
+    where
+      substr(ca_zip, 1, 5) in ('89436', '30868', '65085', '22977', '83927', '77557', '58429', '40697', '80614', '10502', '32779',
+      '91137', '61265', '98294', '17921', '18427', '21203', '59362', '87291', '84093', '21505', '17184', '10866', '67898', '25797',
+      '28055', '18377', '80332', '74535', '21757', '29742', '90885', '29898', '17819', '40811', '25990', '47513', '89531', '91068',
+      '10391', '18846', '99223', '82637', '41368', '83658', '86199', '81625', '26696', '89338', '88425', '32200', '81427', '19053',
+      '77471', '36610', '99823', '43276', '41249', '48584', '83550', '82276', '18842', '78890', '14090', '38123', '40936', '34425',
+      '19850', '43286', '80072', '79188', '54191', '11395', '50497', '84861', '90733', '21068', '57666', '37119', '25004', '57835',
+      '70067', '62878', '95806', '19303', '18840', '19124', '29785', '16737', '16022', '49613', '89977', '68310', '60069', '98360',
+      '48649', '39050', '41793', '25002', '27413', '39736', '47208', '16515', '94808', '57648', '15009', '80015', '42961', '63982',
+      '21744', '71853', '81087', '67468', '34175', '64008', '20261', '11201', '51799', '48043', '45645', '61163', '48375', '36447',
+      '57042', '21218', '41100', '89951', '22745', '35851', '83326', '61125', '78298', '80752', '49858', '52940', '96976', '63792',
+      '11376', '53582', '18717', '90226', '50530', '94203', '99447', '27670', '96577', '57856', '56372', '16165', '23427', '54561',
+      '28806', '44439', '22926', '30123', '61451', '92397', '56979', '92309', '70873', '13355', '21801', '46346', '37562', '56458',
+      '28286', '47306', '99555', '69399', '26234', '47546', '49661', '88601', '35943', '39936', '25632', '24611', '44166', '56648',
+      '30379', '59785', '11110', '14329', '93815', '52226', '71381', '13842', '25612', '63294', '14664', '21077', '82626', '18799',
+      '60915', '81020', '56447', '76619', '11433', '13414', '42548', '92713', '70467', '30884', '47484', '16072', '38936', '13036',
+      '88376', '45539', '35901', '19506', '65690', '73957', '71850', '49231', '14276', '20005', '18384', '76615', '11635', '38177',
+      '55607', '41369', '95447', '58581', '58149', '91946', '33790', '76232', '75692', '95464', '22246', '51061', '56692', '53121',
+      '77209', '15482', '10688', '14868', '45907', '73520', '72666', '25734', '17959', '24677', '66446', '94627', '53535', '15560',
+      '41967', '69297', '11929', '59403', '33283', '52232', '57350', '43933', '40921', '36635', '10827', '71286', '19736', '80619',
+      '25251', '95042', '15526', '36496', '55854', '49124', '81980', '35375', '49157', '63512', '28944', '14946', '36503', '54010',
+      '18767', '23969', '43905', '66979', '33113', '21286', '58471', '59080', '13395', '79144', '70373', '67031', '38360', '26705',
+      '50906', '52406', '26066', '73146', '15884', '31897', '30045', '61068', '45550', '92454', '13376', '14354', '19770', '22928',
+      '97790', '50723', '46081', '30202', '14410', '20223', '88500', '67298', '13261', '14172', '81410', '93578', '83583', '46047',
+      '94167', '82564', '21156', '15799', '86709', '37931', '74703', '83103', '23054', '70470', '72008', '49247', '91911', '69998',
+      '20961', '70070', '63197', '54853', '88191', '91830', '49521', '19454', '81450', '89091', '62378', '25683', '61869', '51744',
+      '36580', '85778', '36871', '48121', '28810', '83712', '45486', '67393', '26935', '42393', '20132', '55349', '86057', '21309',
+      '80218', '10094', '11357', '48819', '39734', '40758', '30432', '21204', '29467', '30214', '61024', '55307', '74621', '11622',
+      '68908', '33032', '52868', '99194', '99900', '84936', '69036', '99149', '45013', '32895', '59004', '32322', '14933', '32936',
+      '33562', '72550', '27385', '58049', '58200', '16808', '21360', '32961', '18586', '79307', '15492')
+    ) b
+  on (a.ca_zip = b.ca_zip)
+  ) v1 on (substr(store.s_zip, 1, 2) = substr(v1.ca_zip, 1, 2))
+where
+  ss_sold_date_sk between 2452276 and 2452366
+group by
+  s_store_name
+order by
+  s_store_name
+limit 100
+---- RESULTS
+---- TYPES
+STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q80a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q80a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q80a.test
new file mode 100644
index 0000000..884f061
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q80a.test
@@ -0,0 +1,212 @@
+====
+---- QUERY: TPCDS-Q80A
+with ssr as
+ (select  s_store_id as store_id,
+          sum(ss_ext_sales_price) as sales,
+          sum(coalesce(sr_return_amt, 0)) as return_amt,
+          sum(ss_net_profit - coalesce(sr_net_loss, 0)) as profit
+  from store_sales left outer join store_returns on
+         (ss_item_sk = sr_item_sk and ss_ticket_number = sr_ticket_number),
+     date_dim,
+     store,
+     item,
+     promotion
+ where ss_sold_date_sk = d_date_sk
+       and d_date between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days )
+       and ss_store_sk = s_store_sk
+       and ss_item_sk = i_item_sk
+       and i_current_price > 50
+       and ss_promo_sk = p_promo_sk
+       and p_channel_tv = 'N'
+ group by s_store_id)
+ ,
+ csr as
+ (select  cp_catalog_page_id as catalog_page_id,
+          sum(cs_ext_sales_price) as sales,
+          sum(coalesce(cr_return_amount, 0)) as return_amt,
+          sum(cs_net_profit - coalesce(cr_net_loss, 0)) as profit
+  from catalog_sales left outer join catalog_returns on
+         (cs_item_sk = cr_item_sk and cs_order_number = cr_order_number),
+     date_dim,
+     catalog_page,
+     item,
+     promotion
+ where cs_sold_date_sk = d_date_sk
+       and d_date between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days )
+        and cs_catalog_page_sk = cp_catalog_page_sk
+       and cs_item_sk = i_item_sk
+       and i_current_price > 50
+       and cs_promo_sk = p_promo_sk
+       and p_channel_tv = 'N'
+group by cp_catalog_page_id)
+ ,
+ wsr as
+ (select  web_site_id,
+          sum(ws_ext_sales_price) as sales,
+          sum(coalesce(wr_return_amt, 0)) as return_amt,
+          sum(ws_net_profit - coalesce(wr_net_loss, 0)) as profit
+  from web_sales left outer join web_returns on
+         (ws_item_sk = wr_item_sk and ws_order_number = wr_order_number),
+     date_dim,
+     web_site,
+     item,
+     promotion
+ where ws_sold_date_sk = d_date_sk
+       and d_date between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days )
+        and ws_web_site_sk = web_site_sk
+       and ws_item_sk = i_item_sk
+       and i_current_price > 50
+       and ws_promo_sk = p_promo_sk
+       and p_channel_tv = 'N'
+group by web_site_id)
+,
+results as
+ (select channel
+        , id
+        , sum(sales) as sales
+        , sum(return_amt) as return_amt
+        , sum(profit) as profit
+ from
+ (select 'store channel' as channel
+        , concat('store', store_id) as id
+        , sales
+        , return_amt
+        , profit
+ from   ssr
+ union all
+ select 'catalog channel' as channel
+        , concat('catalog_page', catalog_page_id) as id
+        , sales
+        , return_amt
+        , profit
+ from  csr
+ union all
+ select 'web channel' as channel
+        , concat('web_site', web_site_id) as id
+        , sales
+        , return_amt
+        , profit
+ from   wsr
+ ) x
+ group by channel, id)
+  select  channel
+        , id
+        , sales
+        , return_amt
+        , profit
+ from (
+   select channel, id, sales, return_amt, profit from  results
+   union
+   select channel, NULL AS id, sum(sales) as sales, sum(return_amt) as return_amt, sum(profit) as profit from  results group by channel
+   union
+   select NULL AS channel, NULL AS id, sum(sales) as sales, sum(return_amt) as return_amt, sum(profit) as profit from  results
+ ) foo
+ order by channel, id
+ limit 100;
+---- RESULTS
+'catalog channel','catalog_pageAAAAAAAAAAABAAAA',19965.69,3132.48,-16011.54
+'catalog channel','catalog_pageAAAAAAAAABABAAAA',14376.88,380.90,-3715.45
+'catalog channel','catalog_pageAAAAAAAAACABAAAA',4427.58,0.00,-6520.01
+'catalog channel','catalog_pageAAAAAAAAADABAAAA',8488.29,0.00,-3247.97
+'catalog channel','catalog_pageAAAAAAAAADCBAAAA',16052.65,0.00,-5900.88
+'catalog channel','catalog_pageAAAAAAAAAEABAAAA',10314.44,0.00,-7096.25
+'catalog channel','catalog_pageAAAAAAAAAECBAAAA',2857.44,2548.08,-136.42
+'catalog channel','catalog_pageAAAAAAAAAFABAAAA',5184.92,0.00,-507.04
+'catalog channel','catalog_pageAAAAAAAAAFCBAAAA',594.44,0.00,-1518.44
+'catalog channel','catalog_pageAAAAAAAAAGABAAAA',1107.03,190.82,-897.30
+'catalog channel','catalog_pageAAAAAAAAAGCBAAAA',3059.65,0.00,-5088.38
+'catalog channel','catalog_pageAAAAAAAAAHABAAAA',13134.30,0.00,2118.90
+'catalog channel','catalog_pageAAAAAAAAAHCBAAAA',16181.17,0.00,4761.95
+'catalog channel','catalog_pageAAAAAAAAAJCBAAAA',2448.69,0.00,557.49
+'catalog channel','catalog_pageAAAAAAAAAKCBAAAA',1005.27,0.00,154.35
+'catalog channel','catalog_pageAAAAAAAAAKPAAAAA',8445.19,0.00,-4147.63
+'catalog channel','catalog_pageAAAAAAAAALCBAAAA',11511.46,0.00,1173.29
+'catalog channel','catalog_pageAAAAAAAAALPAAAAA',22038.68,94.24,2354.44
+'catalog channel','catalog_pageAAAAAAAAAMPAAAAA',24071.71,5664.86,-6484.42
+'catalog channel','catalog_pageAAAAAAAAANCBAAAA',8352.06,0.00,4237.49
+'catalog channel','catalog_pageAAAAAAAAANPAAAAA',14597.62,134.64,-15964.47
+'catalog channel','catalog_pageAAAAAAAAAOCBAAAA',373.75,0.00,-1085.83
+'catalog channel','catalog_pageAAAAAAAAAOPAAAAA',23808.03,0.00,5548.05
+'catalog channel','catalog_pageAAAAAAAAAPCBAAAA',9531.26,0.00,581.49
+'catalog channel','catalog_pageAAAAAAAAAPPAAAAA',33119.11,55.44,7393.54
+'catalog channel','catalog_pageAAAAAAAABAABAAAA',4272.46,501.30,-9581.06
+'catalog channel','catalog_pageAAAAAAAABBABAAAA',1080.28,0.00,-4305.79
+'catalog channel','catalog_pageAAAAAAAABCABAAAA',33.90,0.00,-278.65
+'catalog channel','catalog_pageAAAAAAAABDABAAAA',5872.30,88.38,-480.99
+'catalog channel','catalog_pageAAAAAAAABDCBAAAA',5743.76,0.00,1462.64
+'catalog channel','catalog_pageAAAAAAAABEABAAAA',2049.28,0.00,-4059.03
+'catalog channel','catalog_pageAAAAAAAABECBAAAA',18997.60,0.00,-8490.71
+'catalog channel','catalog_pageAAAAAAAABFABAAAA',31503.86,0.00,7136.80
+'catalog channel','catalog_pageAAAAAAAABFCBAAAA',25421.67,8976.00,10129.52
+'catalog channel','catalog_pageAAAAAAAABGABAAAA',10594.99,367.65,-2926.53
+'catalog channel','catalog_pageAAAAAAAABHABAAAA',9000.33,1145.50,-12055.00
+'catalog channel','catalog_pageAAAAAAAABICBAAAA',1094.54,0.00,-202.67
+'catalog channel','catalog_pageAAAAAAAABJCBAAAA',2178.01,0.00,979.05
+'catalog channel','catalog_pageAAAAAAAABKCBAAAA',9189.93,0.00,4352.16
+'catalog channel','catalog_pageAAAAAAAABKPAAAAA',9637.79,1986.96,-19295.74
+'catalog channel','catalog_pageAAAAAAAABLCBAAAA',13969.57,0.00,5111.08
+'catalog channel','catalog_pageAAAAAAAABLPAAAAA',11655.71,3796.68,-15600.79
+'catalog channel','catalog_pageAAAAAAAABMCBAAAA',11936.10,14.70,1200.76
+'catalog channel','catalog_pageAAAAAAAABMPAAAAA',14866.48,0.00,-662.88
+'catalog channel','catalog_pageAAAAAAAABNCBAAAA',5440.20,0.00,-3049.20
+'catalog channel','catalog_pageAAAAAAAABNPAAAAA',4186.13,188.37,-16115.36
+'catalog channel','catalog_pageAAAAAAAABOCBAAAA',3112.32,0.00,-2559.36
+'catalog channel','catalog_pageAAAAAAAABOPAAAAA',2020.48,0.00,-192.04
+'catalog channel','catalog_pageAAAAAAAABPCBAAAA',7148.02,0.00,1781.91
+'catalog channel','catalog_pageAAAAAAAABPPAAAAA',17674.89,0.00,345.58
+'catalog channel','catalog_pageAAAAAAAACAABAAAA',17255.36,0.00,-3926.28
+'catalog channel','catalog_pageAAAAAAAACBABAAAA',2470.13,1545.21,-1544.35
+'catalog channel','catalog_pageAAAAAAAACCABAAAA',6361.92,0.00,3790.08
+'catalog channel','catalog_pageAAAAAAAACDCBAAAA',1526.49,0.00,-3403.89
+'catalog channel','catalog_pageAAAAAAAACEABAAAA',10732.94,0.00,-984.47
+'catalog channel','catalog_pageAAAAAAAACECBAAAA',648.84,0.00,170.04
+'catalog channel','catalog_pageAAAAAAAACFABAAAA',6745.24,0.00,-3013.83
+'catalog channel','catalog_pageAAAAAAAACGABAAAA',5143.41,0.00,1545.93
+'catalog channel','catalog_pageAAAAAAAACGCBAAAA',1284.52,0.00,-144.08
+'catalog channel','catalog_pageAAAAAAAACHABAAAA',10246.18,0.00,-6015.51
+'catalog channel','catalog_pageAAAAAAAACHCBAAAA',10416.70,0.00,19.49
+'catalog channel','catalog_pageAAAAAAAACICBAAAA',396.76,0.00,154.44
+'catalog channel','catalog_pageAAAAAAAACJCBAAAA',281.26,0.00,-5252.32
+'catalog channel','catalog_pageAAAAAAAACKCBAAAA',163.02,0.00,-46.83
+'catalog channel','catalog_pageAAAAAAAACKPAAAAA',12857.24,730.99,-2517.04
+'catalog channel','catalog_pageAAAAAAAACLCBAAAA',5470.63,0.00,1082.94
+'catalog channel','catalog_pageAAAAAAAACLPAAAAA',21549.31,0.00,6695.34
+'catalog channel','catalog_pageAAAAAAAACMCBAAAA',11329.50,0.00,5202.60
+'catalog channel','catalog_pageAAAAAAAACMPAAAAA',7546.59,294.84,-2582.73
+'catalog channel','catalog_pageAAAAAAAACNPAAAAA',23904.66,0.00,488.70
+'catalog channel','catalog_pageAAAAAAAACOPAAAAA',19014.47,648.01,-8700.92
+'catalog channel','catalog_pageAAAAAAAACPCBAAAA',1148.55,0.00,-932.52
+'catalog channel','catalog_pageAAAAAAAACPPAAAAA',25230.53,0.00,-741.80
+'catalog channel','catalog_pageAAAAAAAADAABAAAA',20305.27,0.00,972.58
+'catalog channel','catalog_pageAAAAAAAADBABAAAA',1390.65,0.00,-4835.48
+'catalog channel','catalog_pageAAAAAAAADCABAAAA',8296.22,4011.70,-5197.32
+'catalog channel','catalog_pageAAAAAAAADDABAAAA',6289.02,0.00,1457.49
+'catalog channel','catalog_pageAAAAAAAADDCBAAAA',14137.81,0.00,479.91
+'catalog channel','catalog_pageAAAAAAAADEABAAAA',7572.00,77.80,2937.68
+'catalog channel','catalog_pageAAAAAAAADECBAAAA',4207.12,0.00,-2457.02
+'catalog channel','catalog_pageAAAAAAAADFABAAAA',23991.62,3.15,1216.83
+'catalog channel','catalog_pageAAAAAAAADFCBAAAA',6537.84,0.00,-6173.37
+'catalog channel','catalog_pageAAAAAAAADGABAAAA',9050.23,3062.68,-2935.52
+'catalog channel','catalog_pageAAAAAAAADGCBAAAA',7789.42,0.00,-3868.94
+'catalog channel','catalog_pageAAAAAAAADHABAAAA',25558.98,0.00,-6817.76
+'catalog channel','catalog_pageAAAAAAAADHCBAAAA',5245.91,65.34,-1734.29
+'catalog channel','catalog_pageAAAAAAAADICBAAAA',0.00,0.00,-2246.10
+'catalog channel','catalog_pageAAAAAAAADJCBAAAA',7721.15,0.00,3313.85
+'catalog channel','catalog_pageAAAAAAAADKCBAAAA',5463.32,1677.60,874.45
+'catalog channel','catalog_pageAAAAAAAADKPAAAAA',30068.71,0.00,-8011.27
+'catalog channel','catalog_pageAAAAAAAADLCBAAAA',1146.19,0.00,-1287.95
+'catalog channel','catalog_pageAAAAAAAADLPAAAAA',35314.26,0.00,-5055.96
+'catalog channel','catalog_pageAAAAAAAADMCBAAAA',2420.23,0.00,-1610.01
+'catalog channel','catalog_pageAAAAAAAADMPAAAAA',32509.00,737.40,-14350.75
+'catalog channel','catalog_pageAAAAAAAADNCBAAAA',9986.56,5534.72,1208.35
+'catalog channel','catalog_pageAAAAAAAADNPAAAAA',1953.82,0.00,220.42
+'catalog channel','catalog_pageAAAAAAAADOCBAAAA',3356.59,62.99,-4084.30
+'catalog channel','catalog_pageAAAAAAAADOPAAAAA',5090.89,0.00,-2319.86
+'catalog channel','catalog_pageAAAAAAAADPCBAAAA',7004.85,78.75,-1243.37
+'catalog channel','catalog_pageAAAAAAAADPPAAAAA',22004.30,2309.27,3234.13
+---- TYPES
+STRING, STRING, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q81.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q81.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q81.test
new file mode 100644
index 0000000..d0f8640
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q81.test
@@ -0,0 +1,134 @@
+====
+---- QUERY: TPCDS-Q81
+with customer_total_return as
+ (select cr_returning_customer_sk as ctr_customer_sk
+        ,ca_state as ctr_state,
+  sum(cr_return_amt_inc_tax) as ctr_total_return
+ from catalog_returns
+     ,date_dim
+     ,customer_address
+ where cr_returned_date_sk = d_date_sk
+   and d_year =2000
+   and cr_returning_addr_sk = ca_address_sk
+ group by cr_returning_customer_sk
+         ,ca_state )
+  select  c_customer_id,c_salutation,c_first_name,c_last_name,ca_street_number,ca_street_name
+                   ,ca_street_type,ca_suite_number,ca_city,ca_county,ca_state,ca_zip,ca_country,ca_gmt_offset
+                  ,ca_location_type,ctr_total_return
+ from customer_total_return ctr1
+     ,customer_address
+     ,customer
+ where ctr1.ctr_total_return > (select avg(ctr_total_return)*1.2
+         from customer_total_return ctr2
+                     where ctr1.ctr_state = ctr2.ctr_state)
+       and ca_address_sk = c_current_addr_sk
+       and ca_state = 'GA'
+       and ctr1.ctr_customer_sk = c_customer_sk
+ order by c_customer_id,c_salutation,c_first_name,c_last_name,ca_street_number,ca_street_name
+                   ,ca_street_type,ca_suite_number,ca_city,ca_county,ca_state,ca_zip,ca_country,ca_gmt_offset
+                  ,ca_location_type,ctr_total_return
+ limit 100;
+---- RESULTS
+'AAAAAAAAABBEAAAA','Dr.','Oscar','Fox','183','15th ','Ln','Suite P','Greenwood','Clay County','GA','38828','United States',-5.00,'condo',4607.92
+'AAAAAAAAADCEBAAA','Sir','Billy','Bell','690','4th Fifth','Ct.','Suite 390','Hillcrest','Spalding County','GA','33003','United States',-5.00,'condo',5567.44
+'AAAAAAAAAFBGAAAA','Mrs.','Erika','Buford','527','1st ','Ln','Suite 380','Lakewood','Jasper County','GA','38877','United States',-5.00,'single family',5412.16
+'AAAAAAAAAFLABAAA','Mr.','Richard','James','40','2nd Miller','Road','Suite 190','Arlington','Morgan County','GA','36557','United States',-5.00,'apartment',2249.10
+'AAAAAAAAAHOEAAAA','Mr.','Michael','Yates','349','Elm South','ST','Suite 30','Blanchard','Talbot County','GA','35985','United States',-5.00,'single family',1810.13
+'AAAAAAAAAIEHBAAA','Miss','Tamara','Chestnut','934','13th Cherry','Blvd','Suite O','Antioch','Haralson County','GA','38605','United States',-5.00,'condo',1639.26
+'AAAAAAAAAJLNAAAA','Dr.','Sheree','Bragg','664','Elm 4th','Ave','Suite 320','Glenwood','McDuffie County','GA','33511','United States',-5.00,'condo',3012.45
+'AAAAAAAAAJNEBAAA','Dr.','David','Hamilton','108','Spring Wilson','Ct.','Suite F','Glenwood','Macon County','GA','33511','United States',-5.00,'apartment',2567.79
+'AAAAAAAAAKJOAAAA','Dr.','Gus','Stewart','883','Valley ','Drive','Suite J','Macedonia','Lanier County','GA','31087','United States',-5.00,'single family',3530.28
+'AAAAAAAAAMFBBAAA','Mr.','Jackson','NULL','177','8th Walnut','Ct.','Suite 300','Riverview','Jenkins County','GA','39003','United States',-5.00,'single family',4875.86
+'AAAAAAAAAMPKAAAA','Ms.','Elizabeth','Booth','344','Jackson North','Drive','Suite 100','Woodville','Fayette County','GA','34289','United States',-5.00,'single family',2372.60
+'AAAAAAAAANCLAAAA','Mr.','Raymond','Dixon','189','Jackson 7th','Parkway','Suite 360','Lakewood','Dade County','GA','38877','United States',-5.00,'single family',4655.74
+'AAAAAAAAANJIAAAA','Dr.','Dennis','Roper','600','Walnut ','Pkwy','Suite 140','Plainview','Barrow County','GA','33683','United States',-5.00,'apartment',3500.40
+'AAAAAAAAANLABAAA','Sir','Thomas','Zimmerman','496','Forest ','ST','Suite L','Saratoga','Lumpkin County','GA','32123','United States',-5.00,'apartment',9193.95
+'AAAAAAAAAODFAAAA','Mrs.','Kathy','Villegas','156','4th Sunset','Cir.','Suite I','Red Hill','Appling County','GA','34338','United States',-5.00,'single family',2106.00
+'AAAAAAAAAOEBBAAA','Sir','Benjamin','Parker','698','6th ','Drive','Suite O','Plainview','Screven County','GA','33683','United States',-5.00,'apartment',3891.38
+'AAAAAAAAAOEBBAAA','Sir','Benjamin','Parker','698','6th ','Drive','Suite O','Plainview','Screven County','GA','33683','United States',-5.00,'apartment',9787.55
+'AAAAAAAAAPBBBAAA','Sir','Donald','Littlejohn','467','Lake ','Ln','Suite 20','Riverside','Turner County','GA','39231','United States',-5.00,'single family',4831.52
+'AAAAAAAABABBBAAA','Mr.','David','Roe','521','Jefferson ','Parkway','Suite 120','Enterprise','Wilcox County','GA','31757','United States',-5.00,'apartment',4079.80
+'AAAAAAAABAJHAAAA','Mrs.','Doris','Gillespie','179','Washington Chestnut','Dr.','Suite W','Jackson','Columbia County','GA','39583','United States',-5.00,'condo',4617.58
+'AAAAAAAABANGBAAA','Mr.','Ralph','Condon','755','Davis ','Blvd','Suite 280','Antioch','Pike County','GA','38605','United States',-5.00,'condo',14966.24
+'AAAAAAAABBHKAAAA','Mrs.','Kristin','Grant','870','Ash Park','Ave','Suite 300','Lakeview','Harris County','GA','38579','United States',-5.00,'single family',3580.44
+'AAAAAAAABBOBBAAA','Mr.','Herman','Rivera','396','Walnut ','Cir.','Suite P','Athens','Baldwin County','GA','36796','United States',-5.00,'single family',4608.96
+'AAAAAAAABCAOAAAA','Dr.','Brenda','Bell','562','7th Park','Road','Suite 320','Edgewood','Troup County','GA','30069','United States',-5.00,'apartment',3721.03
+'AAAAAAAABCIMAAAA','Dr.','Becky','Seals','174','Park Park','Ct.','Suite H','Green Acres','Schley County','GA','37683','United States',-5.00,'single family',2980.15
+'AAAAAAAABDHFAAAA','Mr.','Charles','Miller','531','Church 14th','Circle','Suite 60','Ashland','Franklin County','GA','34244','United States',-5.00,'apartment',3241.85
+'AAAAAAAABEHABAAA','Dr.','Gregory','NULL','391','Seventh ','Road','Suite Q','Oakwood','Liberty County','GA','30169','United States',-5.00,'single family',3520.33
+'AAAAAAAABGDGBAAA','Sir','Brian','Adams','915','Jackson ','RD','Suite O','Concord','Columbia County','GA','34107','United States',-5.00,'apartment',2912.27
+'AAAAAAAABGLCBAAA','Dr.','Joseph','Torres','103','Highland 7th','Court','Suite I','Wilson','Jenkins County','GA','36971','United States',-5.00,'single family',1842.89
+'AAAAAAAABHOFAAAA','Ms.','Anthony','NULL','518','Meadow Smith','Ct.','Suite C','Riverdale','Bleckley County','GA','39391','United States',-5.00,'single family',1878.44
+'AAAAAAAABIMMAAAA','Dr.','Shanna','Mcrae','764','Walnut ','Street','Suite B','Brownsville','Lumpkin County','GA','39310','United States',-5.00,'condo',7237.05
+'AAAAAAAABINIAAAA','Dr.','Jose','Reynolds','571','Main ','Ave','Suite B','Mount Zion','Troup County','GA','38054','United States',-5.00,'apartment',2463.65
+'AAAAAAAABJMEAAAA','Miss','Deborah','Sheehan','450','Willow ','Cir.','Suite G','Marion','Franklin County','GA','30399','United States',-5.00,'condo',6623.88
+'AAAAAAAABKAIAAAA','Miss','Ruth','Rodriguez','706','Williams ','Pkwy','Suite Y','Antioch','Lanier County','GA','38605','United States',-5.00,'single family',3025.05
+'AAAAAAAABMBLAAAA','Ms.','Ava','Jackson','601','Fourth Washington','Way','Suite 440','Glendale','Cherokee County','GA','33951','United States',-5.00,'apartment',1637.46
+'AAAAAAAABMBLAAAA','Ms.','Ava','Jackson','601','Fourth Washington','Way','Suite 440','Glendale','Cherokee County','GA','33951','United States',-5.00,'apartment',2373.14
+'AAAAAAAABMFDAAAA','Mrs.','Megan','Webster','124','11th ','Pkwy','Suite K','Shady Grove','Miller County','GA','32812','United States',-5.00,'single family',3059.27
+'AAAAAAAABNMGBAAA','Mrs.','Wanda','Shumate','422','Pine 3rd','Cir.','Suite 170','Crossroads','Berrien County','GA','30534','United States',-5.00,'single family',1699.41
+'AAAAAAAABNMIAAAA','Miss','Bobbi','Erickson','731','Jefferson ','Parkway','Suite H','Mountain View','Taylor County','GA','34466','United States',-5.00,'apartment',2925.34
+'AAAAAAAABOAPAAAA','Ms.','Karen','Burt','794','Sunset Sunset','Drive','Suite 470','Glendale','Calhoun County','GA','33951','United States',-5.00,'condo',8807.07
+'AAAAAAAABOCDBAAA','Ms.','Flora','Messer','608','10th ','Court','Suite A','Highland Park','Dooly County','GA','36534','United States',-5.00,'single family',3255.56
+'AAAAAAAABPIMAAAA','Dr.','Steve','Cano','711','Park ','Ln','Suite N','Smith','Gwinnett County','GA','37317','United States',-5.00,'single family',2086.39
+'AAAAAAAACABFAAAA','Sir','Steven','Lamb','726','Cherry Hill','ST','Suite E','Woodville','Worth County','GA','34289','United States',-5.00,'apartment',2361.71
+'AAAAAAAACBDDAAAA','Sir','Terry','Seiler','960','Eigth ','Way','Suite 240','Mountain View','Putnam County','GA','34466','United States',-5.00,'apartment',3222.09
+'AAAAAAAACCBOAAAA','Sir','Patrick','Miller','577','Church ','Ave','Suite 110','Bethel','White County','GA','35281','United States',-5.00,'single family',2927.35
+'AAAAAAAACDOPAAAA','Mrs.','Carolyn','Singer','399','Second ','Boulevard','Suite O','White Oak','Wayne County','GA','36668','United States',-5.00,'condo',4011.31
+'AAAAAAAACFADBAAA','NULL','NULL','NULL','502','Willow Park','Cir.','Suite E','Dewey','Colquitt County','GA','31160','United States',-5.00,'apartment',3732.03
+'AAAAAAAACIHABAAA','Ms.','Arlene','Baker','216','Maple Walnut','Ave','Suite 310','Greenfield','Glascock County','GA','35038','United States',-5.00,'single family',2857.28
+'AAAAAAAACJCHAAAA','Mr.','Wilbur','Mullins','119','Eigth ','Dr.','Suite W','Fairview','Wilkes County','GA','35709','United States',-5.00,'single family',4861.83
+'AAAAAAAACJJKAAAA','Mr.','Ramon','Zaragoza','934','Park ','Lane','Suite K','Lakewood','Muscogee County','GA','38877','United States',-5.00,'condo',9022.65
+'AAAAAAAACKHEAAAA','Mr.','Richard','Leblanc','18','Green View','Court','Suite J','Woodville','Butts County','GA','34289','United States',-5.00,'single family',3787.49
+'AAAAAAAACODJAAAA','Dr.','Neal','Nash','95','NULL','Street','Suite 110','Spring Hill','Murray County','GA','36787','NULL',-5.00,'NULL',2144.31
+'AAAAAAAACOFIBAAA','Mr.','Fred','Morales','687','5th Park','Cir.','Suite X','Fairview','Murray County','GA','35709','United States',-5.00,'condo',1936.70
+'AAAAAAAACOHIAAAA','Mr.','Roger','Grider','191','Williams Second','Avenue','Suite 420','Brownsville','Coweta County','GA','39310','United States',-5.00,'single family',5782.43
+'AAAAAAAACPBABAAA','Miss','Lucile','Anderson','149','View Williams','Ct.','Suite L','Mount Pleasant','Washington County','GA','31933','United States',-5.00,'single family',2600.59
+'AAAAAAAADANFBAAA','Mrs.','Ann','Nadeau','247','Maple ','Avenue','Suite 260','Hamilton','Elbert County','GA','32808','United States',-5.00,'single family',4103.32
+'AAAAAAAADBAHAAAA','Dr.','Lucille','Hill','668','West Laurel','Pkwy','Suite M','Mount Olive','Quitman County','GA','38059','United States',-5.00,'single family',2033.22
+'AAAAAAAADBEIBAAA','Miss','Erica','Hill','396','Maple Johnson','Avenue','Suite R','Crossroads','Hall County','GA','30534','United States',-5.00,'condo',4500.01
+'AAAAAAAADBEOAAAA','Miss','Loretta','Smith','149','Maple ','ST','Suite 350','Fairview','Cherokee County','GA','35709','United States',-5.00,'apartment',3810.28
+'AAAAAAAADBFHBAAA','Mr.','Charles','Robinson','731','Ridge ','Lane','Suite 160','New Hope','Bartow County','GA','39431','United States',-5.00,'apartment',4042.46
+'AAAAAAAADCAEAAAA','Dr.','Joanna','Walker','665','15th Maple','Avenue','Suite Y','Camden','McDuffie County','GA','37119','United States',-5.00,'single family',4067.57
+'AAAAAAAADCLBAAAA','Mrs.','Evelyn','Hammett','302','1st Adams','Cir.','Suite 370','Five Points','Pulaski County','GA','36098','United States',-5.00,'single family',2187.12
+'AAAAAAAADDENAAAA','Sir','Alejandro','Doyle','916','Cherry Elm','ST','Suite 110','Providence','Clay County','GA','36614','United States',-5.00,'single family',3357.92
+'AAAAAAAADEGFAAAA','Sir','Jesse','Johnson','725','Laurel First','Parkway','Suite O','Pleasant Valley','Candler County','GA','32477','United States',-5.00,'condo',4969.77
+'AAAAAAAADGCCAAAA','Miss','Loretta','Moss','274','3rd Walnut','Ave','Suite L','Arlington','Lee County','GA','36557','United States',-5.00,'condo',1891.74
+'AAAAAAAADHFLAAAA','Mr.','George','Schneider','579','Johnson Ash','Way','Suite 110','Concord','Seminole County','GA','34107','United States',-5.00,'condo',4011.59
+'AAAAAAAADHOIAAAA','Miss','Andrew','James','139','Smith Lincoln','Lane','Suite 360','Stringtown','Coweta County','GA','30162','United States',-5.00,'condo',2834.91
+'AAAAAAAADJABAAAA','Mrs.','Charity','Arroyo','158','Highland Elm','Ln','Suite K','Woodland','Pickens County','GA','34854','United States',-5.00,'apartment',2443.75
+'AAAAAAAADJJMAAAA','Dr.','Joseph','Burns','339','12th ','Blvd','Suite S','Hamilton','Banks County','GA','32808','United States',-5.00,'condo',2670.84
+'AAAAAAAADJODAAAA','Dr.','Larry','Phillips','612','Mill Church','Blvd','Suite 0','Sunnyside','Fannin County','GA','31952','United States',-5.00,'single family',7260.82
+'AAAAAAAADKKGAAAA','Sir','Robert','Patrick','638','Fourth ','Cir.','Suite 250','Lebanon','Clay County','GA','32898','United States',-5.00,'condo',9049.72
+'AAAAAAAADMDHAAAA','Mr.','Samuel','Wells','877','Highland East','Road','Suite I','Valley View','Bartow County','GA','35124','United States',-5.00,'single family',4490.95
+'AAAAAAAADNIBBAAA','Miss','Sharon','Prince','955','Walnut Ridge','Boulevard','Suite W','Cedar Grove','Troup County','GA','30411','United States',-5.00,'condo',2158.11
+'AAAAAAAADNOGBAAA','Dr.','David','Lofton','327','11th Central','Parkway','Suite D','White Oak','Glynn County','GA','36668','United States',-5.00,'single family',1971.52
+'AAAAAAAADOBCBAAA','Dr.','Benjamin','Pham','300','Willow Sycamore','Blvd','Suite 380','Liberty','Twiggs County','GA','33451','United States',-5.00,'apartment',1787.84
+'AAAAAAAADOFNAAAA','Mrs.','Sebrina','Jacobs','611','Center ','Avenue','Suite 210','Glenwood','Ware County','GA','33511','United States',-5.00,'condo',5738.75
+'AAAAAAAAEAFJAAAA','Mr.','Gregory','Quigley','932','Maple ','Avenue','Suite 300','Glendale','Butts County','GA','33951','United States',-5.00,'single family',2621.58
+'AAAAAAAAEAJGBAAA','Miss','Helen','Flora','38','Park ','Circle','Suite 360','Florence','Pike County','GA','33394','United States',-5.00,'apartment',2804.13
+'AAAAAAAAEBDFAAAA','Mr.','Ed','Chavis','276','Pine Hill','Boulevard','Suite 150','Shiloh','Lincoln County','GA','39275','United States',-5.00,'single family',1800.04
+'AAAAAAAAECIHAAAA','Sir','Gilberto','Mcdonald','615','10th ','Blvd','Suite 150','Oakdale','Glynn County','GA','39584','United States',-5.00,'apartment',6023.68
+'AAAAAAAAECOGBAAA','Dr.','David','Lamb','436','Second Elm','Way','Suite 30','Green Acres','Laurens County','GA','37683','United States',-5.00,'single family',4778.71
+'AAAAAAAAEDOAAAAA','Dr.','NULL','Finley','899','Willow Pine','ST','Suite 160','Clinton','Peach County','GA','38222','United States',-5.00,'condo',18954.78
+'AAAAAAAAEEFEBAAA','Mr.','Gordon','Lee','444','Park Jackson','Boulevard','Suite 150','Kingston','Mitchell County','GA','34975','United States',-5.00,'single family',2499.41
+'AAAAAAAAEFMHBAAA','Ms.','Anne','Busby','724','Second ','ST','Suite 20','Union Hill','Pulaski County','GA','37746','United States',-5.00,'condo',2866.95
+'AAAAAAAAEGOJAAAA','Miss','Caroline','Miller','719','Smith ','RD','Suite M','Empire','Oglethorpe County','GA','34145','United States',-5.00,'single family',7530.99
+'AAAAAAAAEHCIAAAA','Ms.','Laura','Wright','816','Main ','Ln','Suite 300','Sunnyside','Emanuel County','GA','31952','United States',-5.00,'apartment',2767.59
+'AAAAAAAAEHPBAAAA','Dr.','Paula','Bearden','932','Williams Forest','Ln','Suite 10','Allentown','Long County','GA','31838','United States',-5.00,'single family',12021.15
+'AAAAAAAAEJFNAAAA','Dr.','Chad','Baldwin','404','Cedar ','Ct.','Suite Y','Enterprise','Treutlen County','GA','31757','United States',-5.00,'apartment',1737.56
+'AAAAAAAAEJJDAAAA','Ms.','Katherine','Hernandez','741','Park Jefferson','ST','Suite 270','Oak Ridge','McIntosh County','GA','38371','United States',-5.00,'single family',6714.64
+'AAAAAAAAEKGABAAA','Sir','Steven','Thurman','638','Park Green','Ct.','Suite 270','Lakeside','Wayne County','GA','39532','United States',-5.00,'single family',1662.14
+'AAAAAAAAEKJGBAAA','Sir','Kurt','Jenkins','656','8th ','Dr.','Suite E','Franklin','Heard County','GA','39101','United States',-5.00,'apartment',1607.08
+'AAAAAAAAELCGBAAA','Sir','Harold','Randolph','535','Lee ','RD','Suite 160','Sutton','Bacon County','GA','35413','United States',-5.00,'apartment',4737.51
+'AAAAAAAAELJAAAAA','Miss','Gwendolyn','Johnson','482','Sunset Spring','Ave','Suite J','Mount Olive','Madison County','GA','38059','United States',-5.00,'apartment',7387.08
+'AAAAAAAAENFHBAAA','Dr.','Janice','Ojeda','127','Williams 5th','Ave','Suite 280','Walnut Grove','Burke County','GA','37752','United States',-5.00,'condo',4838.93
+'AAAAAAAAEOBHAAAA','Miss','Janet','Mcculloch','379','Spring Eigth','Street','Suite R','Cedar Grove','Wilcox County','GA','30411','United States',-5.00,'single family',7581.20
+'AAAAAAAAEOGGAAAA','Sir','Christopher','Garrett','308','Broadway 4th','Lane','Suite 360','Sunnyside','Coffee County','GA','31952','United States',-5.00,'apartment',3279.85
+'AAAAAAAAEPBDBAAA','Dr.','Curtis','Briscoe','142','Meadow ','Road','Suite 460','Woodville','Montgomery County','GA','34289','United States',-5.00,'single family',5239.12
+'AAAAAAAAFAHCAAAA','Ms.','Anna','Koch','482','Sunset Spring','Ave','Suite J','Mount Olive','Madison County','GA','38059','United States',-5.00,'apartment',1858.37
+'AAAAAAAAFANDAAAA','Dr.','Daniel','Wilson','586','Pine Cherry','Street','Suite U','Deerfield','Muscogee County','GA','39840','United States',-5.00,'condo',2774.69
+'AAAAAAAAFANDAAAA','Dr.','Daniel','Wilson','586','Pine Cherry','Street','Suite U','Deerfield','Muscogee County','GA','39840','United States',-5.00,'condo',2946.52
+---- TYPES
+STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, STRING, DECIMAL, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q82.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q82.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q82.test
new file mode 100644
index 0000000..e40018a
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q82.test
@@ -0,0 +1,22 @@
+====
+---- QUERY: TPCDS-Q82
+select  i_item_id
+       ,i_item_desc
+       ,i_current_price
+ from item, inventory, date_dim, store_sales
+ where i_current_price between 62 and 62+30
+ and inv_item_sk = i_item_sk
+ and d_date_sk=inv_date_sk
+ and cast(d_date as timestamp) between cast('2000-05-25' as timestamp) and (cast('2000-05-25' as timestamp) + interval 60 days)
+ and i_manufact_id in (129,270,821,423)
+ and inv_quantity_on_hand between 100 and 500
+ and ss_item_sk = i_item_sk
+ group by i_item_id,i_item_desc,i_current_price
+ order by i_item_id
+ limit 100;
+---- RESULTS
+'AAAAAAAAECMCAAAA','Rather vast companies pose quiet, actual carers. Close times take only simple possibilities. Current events might say only on a foundation',67.28
+'AAAAAAAALIHCAAAA','Things select increased views. Tools imagine for example; ever likely developments live so scottish benefits. Soft, short-term services should give indeed good illu',86.90
+---- TYPES
+STRING, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q84.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q84.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q84.test
new file mode 100644
index 0000000..18cff0a
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q84.test
@@ -0,0 +1,49 @@
+====
+---- QUERY: TPCDS-Q84
+select  c_customer_id as customer_id
+       ,concat(coalesce(c_last_name,''), ', ', coalesce(c_first_name,'')) as customername
+ from customer
+     ,customer_address
+     ,customer_demographics
+     ,household_demographics
+     ,income_band
+     ,store_returns
+ where ca_city          =  'Edgewood'
+   and c_current_addr_sk = ca_address_sk
+   and ib_lower_bound   >=  38128
+   and ib_upper_bound   <=  38128 + 50000
+   and ib_income_band_sk = hd_income_band_sk
+   and cd_demo_sk = c_current_cdemo_sk
+   and hd_demo_sk = c_current_hdemo_sk
+   and sr_cdemo_sk = cd_demo_sk
+ order by c_customer_id
+ limit 100;
+---- RESULTS
+'AAAAAAAAAIPGAAAA','Carter, Rodney'
+'AAAAAAAAAKMBBAAA','Mcarthur, Emma'
+'AAAAAAAACBNHBAAA','Wells, Ron'
+'AAAAAAAADBMEAAAA','Vera, Tina'
+'AAAAAAAADBMEAAAA','Vera, Tina'
+'AAAAAAAADHKGBAAA','Scott, Pamela'
+'AAAAAAAAEIIBBAAA','Atkins, Susan'
+'AAAAAAAAFKAHAAAA','Batiste, Ernest'
+'AAAAAAAAGHMAAAAA','Mitchell, Gregory'
+'AAAAAAAAIAODBAAA','Murray, Karen'
+'AAAAAAAAIEOKAAAA','Solomon, Clyde'
+'AAAAAAAAIIBOAAAA','Owens, David'
+'AAAAAAAAIPDCAAAA','Wallace, Eric'
+'AAAAAAAAIPIMAAAA','Hayward, Benjamin'
+'AAAAAAAAJCIKAAAA','Ramos, Donald'
+'AAAAAAAAKFJEAAAA','Roberts, Yvonne'
+'AAAAAAAAKPGBBAAA','Moore, '
+'AAAAAAAALCLABAAA','Whitaker, Lettie'
+'AAAAAAAAMGMEAAAA','Sharp, Michael'
+'AAAAAAAAMIGBBAAA','Montgomery, Jesenia'
+'AAAAAAAAMPDKAAAA','Lopez, Isabel'
+'AAAAAAAANEOMAAAA','Powell, Linda'
+'AAAAAAAANKPCAAAA','Shaffer, Sergio'
+'AAAAAAAANOCKAAAA','Vargas, James'
+'AAAAAAAAOGJEBAAA','Owens, Denice'
+---- TYPES
+STRING, STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q86a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q86a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q86a.test
new file mode 100644
index 0000000..66aa90d
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q86a.test
@@ -0,0 +1,139 @@
+====
+---- QUERY: TPCDS-Q86A
+-- RESULT MISMATCH FROM ORIGINAL
+-- FIXED. TAKE ACTUAL RESULT AS EXPECTED
+with results as
+( select sum(ws_net_paid) as total_sum, i_category, i_class, 0 as g_category, 0 as g_class
+ from
+    web_sales
+   ,date_dim       d1
+   ,item
+ where
+    d1.d_month_seq between 1200 and 1200+11
+ and d1.d_date_sk = ws_sold_date_sk
+ and i_item_sk  = ws_item_sk
+ group by i_category,i_class
+ ) ,
+ results_rollup as
+( select total_sum ,i_category ,i_class, g_category, g_class, 0 as lochierarchy from results
+  union
+  select sum(total_sum) as total_sum, i_category, NULL as i_class, 0 as g_category, 1 as g_class, 1 as lochierarchy from results group by i_category
+  union
+  select sum(total_sum) as total_sum, NULL as i_category, NULL as i_class, 1 as g_category, 1 as g_class, 2 as lochierarchy from results)
+ select
+ total_sum ,i_category ,i_class, lochierarchy
+   ,rank() over (
+  partition by lochierarchy,
+  case when g_class = 0 then i_category end
+  order by total_sum desc) as rank_within_parent
+ from
+ results_rollup
+ order by
+   lochierarchy desc,
+   case when lochierarchy = 0 then i_category end,
+   rank_within_parent
+ limit 100;
+---- RESULTS
+325552630.64,'NULL','NULL',2,1
+33602545.41,'Shoes','NULL',1,1
+33399717.80,'Music','NULL',1,2
+33061835.62,'Women','NULL',1,3
+32942681.04,'Books','NULL',1,4
+32233369.67,'Men','NULL',1,5
+32135907.22,'Electronics','NULL',1,6
+32027085.12,'Jewelry','NULL',1,7
+31908139.65,'Sports','NULL',1,8
+31877378.15,'Children','NULL',1,9
+31428816.29,'Home','NULL',1,10
+935154.67,'NULL','NULL',1,11
+2981755.34,'Books','history',0,1
+2533681.90,'Books','romance',0,2
+2513406.90,'Books','computers',0,3
+2359621.74,'Books','fiction',0,4
+2220829.36,'Books','home repair',0,5
+2132619.93,'Books','reference',0,6
+2023862.05,'Books','travel',0,7
+1938302.12,'Books','parenting',0,8
+1916049.65,'Books','science',0,9
+1904474.64,'Books','business',0,10
+1903280.30,'Books','sports',0,11
+1819360.79,'Books','self-help',0,12
+1817324.19,'Books','mystery',0,13
+1698653.10,'Books','entertainments',0,14
+1641874.01,'Books','cooking',0,15
+1453516.79,'Books','arts',0,16
+84068.23,'Books','NULL',0,17
+8603692.12,'Children','infants',0,1
+7982811.62,'Children','toddlers',0,2
+7716135.48,'Children','school-uniforms',0,3
+7529560.01,'Children','newborn',0,4
+45178.92,'Children','NULL',0,5
+2625503.90,'Electronics','dvd/vcr players',0,1
+2351244.66,'Electronics','televisions',0,2
+2283231.32,'Electronics','memory',0,3
+2262599.89,'Electronics','stereo',0,4
+2257811.83,'Electronics','karoke',0,5
+2235218.27,'Electronics','monitors',0,6
+2228844.29,'Electronics','scanners',0,7
+1948029.88,'Electronics','wireless',0,8
+1894729.95,'Electronics','disk drives',0,9
+1838653.07,'Electronics','automotive',0,10
+1793728.96,'Electronics','portable',0,11
+1768939.49,'Electronics','cameras',0,12
+1733994.95,'Electronics','musical',0,13
+1730490.24,'Electronics','personal',0,14
+1670511.23,'Electronics','camcorders',0,15
+1512375.29,'Electronics','audio',0,16
+2408305.34,'Home','paint',0,1
+2349779.93,'Home','curtains/drapes',0,2
+2306676.63,'Home','bedding',0,3
+2284168.74,'Home','flatware',0,4
+2269734.86,'Home','glassware',0,5
+2112112.73,'Home','lighting',0,6
+2085612.39,'Home','bathroom',0,7
+1924834.23,'Home','mattresses',0,8
+1868688.89,'Home','tables',0,9
+1820604.22,'Home','furniture',0,10
+1816997.04,'Home','decor',0,11
+1805905.27,'Home','kids',0,12
+1788142.30,'Home','blinds/shades',0,13
+1570699.11,'Home','accent',0,14
+1503088.13,'Home','rugs',0,15
+1457642.85,'Home','wallpaper',0,16
+55823.63,'Home','NULL',0,17
+2754963.88,'Jewelry','jewelry boxes',0,1
+2346470.04,'Jewelry','pendants',0,2
+2308524.13,'Jewelry','rings',0,3
+2216602.19,'Jewelry','custom',0,4
+2141484.71,'Jewelry','gold',0,5
+2105589.88,'Jewelry','estate',0,6
+2105536.74,'Jewelry','womens watch',0,7
+2057556.93,'Jewelry','mens watch',0,8
+1964085.08,'Jewelry','costume',0,9
+1838748.38,'Jewelry','birdal',0,10
+1820456.21,'Jewelry','earings',0,11
+1811297.48,'Jewelry','loose stones',0,12
+1738088.37,'Jewelry','diamonds',0,13
+1636759.38,'Jewelry','semi-precious',0,14
+1625306.26,'Jewelry','bracelets',0,15
+1457032.40,'Jewelry','consignment',0,16
+98583.06,'Jewelry','NULL',0,17
+8968117.21,'Men','shirts',0,1
+8079270.31,'Men','sports-apparel',0,2
+7734264.66,'Men','accessories',0,3
+7451717.49,'Men','pants',0,4
+9196797.97,'Music','classical',0,1
+8755969.85,'Music','pop',0,2
+8444376.89,'Music','country',0,3
+6891047.77,'Music','rock',0,4
+111525.32,'Music','NULL',0,5
+8938639.40,'Shoes','mens',0,1
+8290473.41,'Shoes','kids',0,2
+8241359.70,'Shoes','womens',0,3
+8132072.90,'Shoes','athletic',0,4
+2530419.12,'Sports','golf',0,1
+2513869.92,'Sports','athletic shoes',0,2
+2340416.63,'Sports','outdoor',0,3
+---- TYPES
+DECIMAL, STRING, STRING, TINYINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q88.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q88.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q88.test
new file mode 100644
index 0000000..facc738
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q88.test
@@ -0,0 +1,97 @@
+====
+---- QUERY: TPCDS-Q88
+select  *
+from
+ (select count(*) h8_30_to_9
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 8
+     and time_dim.t_minute >= 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s1,
+ (select count(*) h9_to_9_30
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 9
+     and time_dim.t_minute < 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s2,
+ (select count(*) h9_30_to_10
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 9
+     and time_dim.t_minute >= 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s3,
+ (select count(*) h10_to_10_30
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 10
+     and time_dim.t_minute < 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s4,
+ (select count(*) h10_30_to_11
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 10
+     and time_dim.t_minute >= 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s5,
+ (select count(*) h11_to_11_30
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 11
+     and time_dim.t_minute < 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s6,
+ (select count(*) h11_30_to_12
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 11
+     and time_dim.t_minute >= 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s7,
+ (select count(*) h12_to_12_30
+ from store_sales, household_demographics , time_dim, store
+ where ss_sold_time_sk = time_dim.t_time_sk
+     and ss_hdemo_sk = household_demographics.hd_demo_sk
+     and ss_store_sk = s_store_sk
+     and time_dim.t_hour = 12
+     and time_dim.t_minute < 30
+     and ((household_demographics.hd_dep_count = 4 and household_demographics.hd_vehicle_count<=4+2) or
+          (household_demographics.hd_dep_count = 2 and household_demographics.hd_vehicle_count<=2+2) or
+          (household_demographics.hd_dep_count = 0 and household_demographics.hd_vehicle_count<=0+2))
+     and store.s_store_name = 'ese') s8
+---- RESULTS
+2334,4726,4564,7538,7115,3960,4129,4533
+---- TYPES
+BIGINT,BIGINT,BIGINT,BIGINT,BIGINT,BIGINT,BIGINT,BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q91.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q91.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q91.test
new file mode 100644
index 0000000..fd20258
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q91.test
@@ -0,0 +1,35 @@
+====
+---- QUERY: TPCDS-Q91
+select
+        cc_call_center_id Call_Center,
+        cc_name Call_Center_Name,
+        cc_manager Manager,
+        sum(cr_net_loss) Returns_Loss
+from
+        call_center,
+        catalog_returns,
+        date_dim,
+        customer,
+        customer_address,
+        customer_demographics,
+        household_demographics
+where
+        cr_call_center_sk       = cc_call_center_sk
+and     cr_returned_date_sk     = d_date_sk
+and     cr_returning_customer_sk= c_customer_sk
+and     cd_demo_sk              = c_current_cdemo_sk
+and     hd_demo_sk              = c_current_hdemo_sk
+and     ca_address_sk           = c_current_addr_sk
+and     d_year                  = 1998
+and     d_moy                   = 11
+and     ( (cd_marital_status       = 'M' and cd_education_status     = 'Unknown')
+        or(cd_marital_status       = 'W' and cd_education_status     = 'Advanced Degree'))
+and     hd_buy_potential like 'Unknown%'
+and     ca_gmt_offset           = -7
+group by cc_call_center_id,cc_name,cc_manager,cd_marital_status,cd_education_status
+order by sum(cr_net_loss) desc;
+---- RESULTS
+'AAAAAAAACAAAAAAA','Mid Atlantic','Felipe Perkins',109.74
+---- TYPES
+STRING, STRING, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q92.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q92.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q92.test
new file mode 100644
index 0000000..6b6d4d1
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q92.test
@@ -0,0 +1,34 @@
+====
+---- QUERY: TPCDS-Q92
+select
+   sum(ws_ext_discount_amt)  as "Excess Discount Amount"
+from
+    web_sales
+   ,item
+   ,date_dim
+where
+i_manufact_id = 350
+and i_item_sk = ws_item_sk
+and cast(d_date as timestamp) between cast('2000-01-27' as timestamp) and
+        (cast('2000-01-27' as timestamp) + interval 90 days)
+and d_date_sk = ws_sold_date_sk
+and ws_ext_discount_amt
+     > (
+         SELECT
+            1.3 * avg(ws_ext_discount_amt)
+         FROM
+            web_sales
+           ,date_dim
+         WHERE
+              ws_item_sk = i_item_sk
+          and cast(d_date as timestamp) between cast('2000-01-27' as timestamp) and
+                             (cast('2000-01-27' as timestamp) + interval 90 days)
+          and d_date_sk = ws_sold_date_sk
+      )
+order by sum(ws_ext_discount_amt)
+limit 100;
+---- RESULTS
+39529.71
+---- TYPES
+DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q94.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q94.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q94.test
new file mode 100644
index 0000000..cc549d3
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q94.test
@@ -0,0 +1,33 @@
+====
+---- QUERY: TPCDS-Q94
+select
+   count(distinct ws_order_number) as "order count"
+  ,sum(ws_ext_ship_cost) as "total shipping cost"
+  ,sum(ws_net_profit) as "total net profit"
+from
+   web_sales ws1
+  ,date_dim
+  ,customer_address
+  ,web_site
+where
+    cast(d_date as timestamp) between cast('1999-02-01' as timestamp) and
+           (cast('1999-02-01' as timestamp) + interval 60 days)
+and ws1.ws_ship_date_sk = d_date_sk
+and ws1.ws_ship_addr_sk = ca_address_sk
+and ca_state = 'IL'
+and ws1.ws_web_site_sk = web_site_sk
+and web_company_name = 'pri'
+and exists (select *
+            from web_sales ws2
+            where ws1.ws_order_number = ws2.ws_order_number
+              and ws1.ws_warehouse_sk <> ws2.ws_warehouse_sk)
+and not exists(select *
+               from web_returns wr1
+               where ws1.ws_order_number = wr1.wr_order_number)
+order by count(distinct ws_order_number)
+limit 100;
+---- RESULTS
+33,64554.35,-3979.35
+---- TYPES
+BIGINT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q95.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q95.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q95.test
new file mode 100644
index 0000000..89094e2
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q95.test
@@ -0,0 +1,36 @@
+====
+---- QUERY: TPCDS-Q95
+with ws_wh as
+(select ws1.ws_order_number,ws1.ws_warehouse_sk wh1,ws2.ws_warehouse_sk wh2
+ from web_sales ws1,web_sales ws2
+ where ws1.ws_order_number = ws2.ws_order_number
+   and ws1.ws_warehouse_sk <> ws2.ws_warehouse_sk)
+ select
+   count(distinct ws_order_number) as "order count"
+  ,sum(ws_ext_ship_cost) as "total shipping cost"
+  ,sum(ws_net_profit) as "total net profit"
+from
+   web_sales ws1
+  ,date_dim
+  ,customer_address
+  ,web_site
+where
+    cast(d_date as timestamp) between cast('1999-02-01' as timestamp) and
+           (cast('1999-02-01' as timestamp) + interval 60 days)
+and ws1.ws_ship_date_sk = d_date_sk
+and ws1.ws_ship_addr_sk = ca_address_sk
+and ca_state = 'IL'
+and ws1.ws_web_site_sk = web_site_sk
+and web_company_name = 'pri'
+and ws1.ws_order_number in (select ws_order_number
+                            from ws_wh)
+and ws1.ws_order_number in (select wr_order_number
+                            from web_returns,ws_wh
+                            where wr_order_number = ws_wh.ws_order_number)
+order by count(distinct ws_order_number)
+limit 100;
+---- RESULTS
+73,120440.34,42133.12
+---- TYPES
+BIGINT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q96.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q96.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q96.test
new file mode 100644
index 0000000..1b66de9
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q96.test
@@ -0,0 +1,21 @@
+====
+---- QUERY: TPCDS-Q96
+select count(*) as total
+from store_sales,
+     household_demographics,
+     time_dim,
+     store
+where ss_sold_time_sk = time_dim.t_time_sk
+    and ss_hdemo_sk = household_demographics.hd_demo_sk
+    and ss_store_sk = s_store_sk
+    and time_dim.t_hour = 20
+    and time_dim.t_minute >= 30
+    and household_demographics.hd_dep_count = 7
+    and store.s_store_name = 'ese'
+order by total
+limit 100;
+---- RESULTS
+870
+---- TYPES
+BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q97.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q97.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q97.test
new file mode 100644
index 0000000..02ec25c
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q97.test
@@ -0,0 +1,29 @@
+====
+---- QUERY: TPCDS-Q97
+  with ssci as (
+select ss_customer_sk customer_sk
+      ,ss_item_sk item_sk
+from store_sales,date_dim
+where ss_sold_date_sk = d_date_sk
+  and d_month_seq between 1200 and 1200 + 11
+group by ss_customer_sk
+        ,ss_item_sk),
+csci as(
+ select cs_bill_customer_sk customer_sk
+      ,cs_item_sk item_sk
+from catalog_sales,date_dim
+where cs_sold_date_sk = d_date_sk
+  and d_month_seq between 1200 and 1200 + 11
+group by cs_bill_customer_sk
+        ,cs_item_sk)
+ select  sum(case when ssci.customer_sk is not null and csci.customer_sk is null then 1 else 0 end) store_only
+      ,sum(case when ssci.customer_sk is null and csci.customer_sk is not null then 1 else 0 end) catalog_only
+      ,sum(case when ssci.customer_sk is not null and csci.customer_sk is not null then 1 else 0 end) store_and_catalog
+from ssci full outer join csci on (ssci.customer_sk=csci.customer_sk
+                               and ssci.item_sk = csci.item_sk)
+limit 100;
+---- RESULTS
+540401,286628,174
+---- TYPES
+BIGINT, BIGINT, BIGINT
+====
\ No newline at end of file


[10/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q20.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q20.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q20.test
new file mode 100644
index 0000000..9c39adc
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q20.test
@@ -0,0 +1,133 @@
+====
+---- QUERY: TPCDS-Q20
+select  i_item_id
+       ,i_item_desc
+       ,i_category
+       ,i_class
+       ,i_current_price
+       ,sum(cs_ext_sales_price) as itemrevenue
+       ,sum(cs_ext_sales_price)*100/sum(sum(cs_ext_sales_price)) over
+           (partition by i_class) as revenueratio
+ from  catalog_sales
+     ,item
+     ,date_dim
+ where cs_item_sk = i_item_sk
+   and i_category in ('Sports', 'Books', 'Home')
+   and cs_sold_date_sk = d_date_sk
+   and cast(d_date as timestamp) between cast('1999-02-22' as timestamp)
+   and (cast('1999-02-22' as timestamp) + interval 30 days)
+ group by i_item_id
+         ,i_item_desc
+         ,i_category
+         ,i_class
+         ,i_current_price
+ order by i_category
+         ,i_class
+         ,i_item_id
+         ,i_item_desc
+         ,revenueratio
+limit 100;
+---- RESULTS
+'AAAAAAAAAAKAAAAA','Small, political activities help great, bad policies. Therefore square features provide on a machines. Rules make over me','Books','arts',2.42,6478.75,3.228812
+'AAAAAAAAACKBAAAA','Clinical, inc initiatives make specially according to a activities.','Books','arts',6.92,1806.72,0.900414
+'AAAAAAAAAIJCAAAA','Simply small grounds use exactly effects. Services could kill especially aware, large observers. Civil, relevant years ensure regulations; clear drawings realize actors. Products employ a','Books','arts',1.76,14302.11,7.127737
+'AAAAAAAAAJIAAAAA','Joint, superior police would use through an restrictions. Buyers ought to contract generally in a efforts. Days cut also sure, frequent s','Books','arts',0.43,1094.80,0.545615
+'AAAAAAAABFHDAAAA','Little days answer in a emotions; players touch.','Books','arts',2.58,6331.08,3.155218
+'AAAAAAAABHDCAAAA','Minor heads close common children; recently strong firms provide. Useful, young men ought to create changes. Popular, common regulations might decide. Points fit. Obvious, glad officials ','Books','arts',3.88,2596.68,1.294106
+'AAAAAAAACBACAAAA','Remaining, main passengers go far sure men. ','Books','arts',4.78,700.70,0.349208
+'AAAAAAAACKDBAAAA','Positions can win increasingly entire units. Unions used to exclude fairly afraid fans. National fields appear also ways. Great lips print new teachers. Constant, primary deaths expect a little ','Books','arts',3.82,2828.38,1.409579
+'AAAAAAAACKEAAAAA','Legs appear eventually soci','Books','arts',35.27,438.70,0.218635
+'AAAAAAAACMDCAAAA','Black, powerful others go now years. Diverse orders might not mean away medium minutes; tight authorities ought to put however for the things','Books','arts',2.75,6743.51,3.360760
+'AAAAAAAACNEDAAAA','Particularly labour stores get farmers. Hence true records see rel','Books','arts',6.89,9386.80,4.678096
+'AAAAAAAADCCDAAAA','Glad users understand very almost original jobs. Towns can understand. Supreme, following days work by a parents; german, crucial weapons work sure; fair pictur','Books','arts',7.18,3375.52,1.682256
+'AAAAAAAADJFCAAAA','Significant, preliminary boys can remain lightly more pale discussion','Books','arts',2.74,3316.75,1.652967
+'AAAAAAAADPCCAAAA','Especially true items might supply particularly. Black, automatic words might develop post-war problems. Fresh, visible workers could not appe','Books','arts',4.23,4567.89,2.276497
+'AAAAAAAAEDKDAAAA','Times live now to a sales. British years bring all financ','Books','arts',4.24,5014.90,2.499274
+'AAAAAAAAEGAEAAAA','Far injuries pay so various arms. Courses could go anywhere universal possibilities; talks stand since mean, colonial scho','Books','arts',9.57,17491.20,8.717082
+'AAAAAAAAEPDDAAAA','Services used to work most new provi','Books','arts',2.84,481.44,0.239935
+'AAAAAAAAEPKAAAAA','Here political studies give once at the qu','Books','arts',1.78,2562.67,1.277157
+'AAAAAAAAFBMBAAAA','Years light glasses. Contemporary members might detect even drawings. Private instructions ought to expect well main streets. Children will say well; usually young members ought to ensure enough. ','Books','arts',4.78,1718.83,0.856613
+'AAAAAAAAFCKCAAAA','Brilliant, acceptable resources might not pick as. Positive, married parties support only strongly impossible needs. Photogra','Books','arts',2.44,2958.33,1.474342
+'AAAAAAAAGAKAAAAA','Especially early girls glance however specific, relevant steps. Financial worlds telephone most dark gains. Warm, outdoor devices defend besides. Unions must not say narrow powers; individual ti','Books','arts',8.96,2310.78,1.151622
+'AAAAAAAAGFHBAAAA','Contemporary occasions provide she','Books','arts',1.75,11988.75,5.974828
+'AAAAAAAAGHOBAAAA','Fully existing proceedings could not tak','Books','arts',8.66,2402.76,1.197463
+'AAAAAAAAGOKBAAAA','Othe','Books','arts',60.94,2242.14,1.117414
+'AAAAAAAAHPNCAAAA','Correct, certain humans cut','Books','arts',37.98,6152.65,3.066294
+'AAAAAAAAIAOAAAAA','Professional circumstances could live else others. Symptoms can see very leaves. Just personal institutions used to go. Capable workers used to play then able police.','Books','arts',2.40,2219.11,1.105937
+'AAAAAAAAIEPCAAAA','New, popular years should think. Shareholders speak also friends; special members could not identify social eyes; indoors full ','Books','arts',0.91,5462.06,2.722125
+'AAAAAAAAIHKBAAAA','Very historic arms may happen even able exis','Books','arts',9.19,8280.09,4.126545
+'AAAAAAAAIIPDAAAA','Af','Books','arts',6.04,4695.48,2.340084
+'AAAAAAAAIJGAAAAA','Then western animals could teach somewhere. Today waiting servants confuse','Books','arts',4.10,1589.42,0.792119
+'AAAAAAAAJJDBAAAA','Problems compete with a sets. Interesting, automatic pounds tell complete hills. ','Books','arts',1.20,18501.43,9.220550
+'AAAAAAAAKGBAAAAA','Light moments cannot date following sy','Books','arts',5.60,9688.12,4.828264
+'AAAAAAAAKICDAAAA','Wet, concerned representatives get up to a owners. Necessary, like','Books','arts',1.89,10823.82,5.394263
+'AAAAAAAAMFFAAAAA','Communities used to relocate clearly strange, new walls; european, rich championships make current depths. Sure studies may reflect only instinctively old forces. Foreign, diverse','Books','arts',8.22,3557.07,1.772735
+'AAAAAAAANIBAAAAA','Beneath decent wives write t','Books','arts',2.72,2235.93,1.114320
+'AAAAAAAAOJJCAAAA','Troops take only, right dogs. Briefly genuine eyes used to provide mutually coming, just parents. Too social services shall feel only rec','Books','arts',6.40,2193.52,1.093184
+'AAAAAAAAOKPBAAAA','Just good settings must not make; payments assure to a bishops. Principal, sorry amounts would safeguard very so other leaders; tory, substantial stairs m','Books','arts',2.60,5632.64,2.807136
+'AAAAAAAAOPKCAAAA','Less imp','Books','arts',9.12,1511.60,0.753335
+'AAAAAAAAPIEBAAAA','Main cheeks must put ','Books','arts',0.45,13.44,0.006698
+'AAAAAAAAPLLDAAAA','Old eyes could not give later issues. Claims might','Books','arts',9.00,4957.73,2.470782
+'AAAAAAAAABMBAAAA','Situations retain; units might sit operations; girls shall make. Ca','Books','business',3.16,905.62,0.577071
+'AAAAAAAAACEBAAAA','Prese','Books','business',15.17,5628.92,3.586812
+'AAAAAAAAADFAAAAA','Satisfactory, technical shadows get. Lexical structures would not blame. Only hard ','Books','business',78.25,9249.55,5.893918
+'AAAAAAAAAKBDAAAA','Essential students change even despite a powers. General connections will not maximi','Books','business',3.10,1162.52,0.740771
+'AAAAAAAAANHCAAAA','High ministers should not remove for a stations. Certain, linear weeks might not ask so from a improvements. Lakes must not implement f','Books','business',4.80,504.32,0.321358
+'AAAAAAAABIPBAAAA','Ultimate, other objects might not install good ','Books','business',2.57,2399.32,1.528874
+'AAAAAAAABKACAAAA','Total pp. accept with a questions; able, generous a','Books','business',5.25,6380.42,4.065676
+'AAAAAAAACDBCAAAA','Tiny years could run too above tough volumes. New germans must not leave as possible sales; inj','Books','business',1.22,5339.66,3.402492
+'AAAAAAAACDIBAAAA','Small results would go colours; sexual agencies ought to assure moreover unique premises; then complex provisions use often normal windows. Better educational girls should not believe however struct','Books','business',9.78,566.04,0.360687
+'AAAAAAAACEACAAAA','Other, direct letters ought to make from a ways. British, large men could not work a','Books','business',0.48,9562.96,6.093626
+'AAAAAAAACPODAAAA','Cells stay economic, thin members. Soon special conservatives solve to the figu','Books','business',2.93,13212.32,8.419040
+'AAAAAAAADHNCAAAA','Originally major industries matter mediterranean bodies. Cases should not ','Books','business',45.06,303.70,0.193521
+'AAAAAAAADNDDAAAA','Clear, harsh police used to include large, appropriate plans. Prices could produce more. There white weapons expect directly free conclusions. Responsibl','Books','business',4.57,3220.52,2.052152
+'AAAAAAAAEICAAAAA','Cases include proudly without a columns. Solid, pre','Books','business',2.42,7199.25,4.587444
+'AAAAAAAAEILDAAAA','Bad, able systems shall fall else. Nuclear, economic ways put in an paths. Serious, labour women must not muster however. Wide new readers ought to help ','Books','business',1.36,1349.33,0.859808
+'AAAAAAAAFGJCAAAA','Secondary, red structures may seek eyes. High true titles should make now junior fat thoughts. Partly excellent authorities receive direct, net parties. Parents look most also other issues. Empty, con','Books','business',8.59,3655.68,2.329441
+'AAAAAAAAFLMDAAAA','Significantly relevant colleges extract knowingly broad investors. Entire members stay. Mediterranean legs would cut on the knees. Forthcoming, particular students u','Books','business',4.81,1809.71,1.153168
+'AAAAAAAAGFDCAAAA','Particularly medieval blocks would not find slightly with a carers. Years respond about at a sec','Books','business',6.00,318.24,0.202786
+'AAAAAAAAGONBAAAA','Ever top offers might struggle far, automatic men. Long-term, long goods dare however; new, other gr','Books','business',2.30,1639.26,1.044555
+'AAAAAAAAIBKDAAAA','Hundreds drop nearly unacceptable accidents. Then strong methods tell large unions. Short companies should help so. Moves shall not set later chief problems. R','Books','business',0.78,1490.85,0.949986
+'AAAAAAAAIINDAAAA','Frames can park highly parents. White ma','Books','business',6.97,4313.52,2.748624
+'AAAAAAAAIJECAAAA','Difficult, royal units put particularly significant, other plans. Essential, contemporary journals will need players. Alternatively parental','Books','business',4.34,2268.00,1.445195
+'AAAAAAAAIJJCAAAA','Euro','Books','business',3.01,4889.34,3.115543
+'AAAAAAAAIKEAAAAA','All ','Books','business',9.44,182.52,0.116304
+'AAAAAAAAIPADAAAA','Orders go into the documents. Social, existing specialists will seem twice associated wishes. Finally nation','Books','business',5.15,242.88,0.154766
+'AAAAAAAAJMEDAAAA','Personal, significant activities agree only by a couples. Elaborate aut','Books','business',3.06,85.26,0.054329
+'AAAAAAAAKAJDAAAA','Short neighbours implement innocently tiny titles. Briefly simple years should not tell potentially successful, whole years. Orange workers carry; home hot feet l','Books','business',4.43,4949.49,3.153871
+'AAAAAAAAKAKAAAAA','Still urban stages shall not take for a legs. Other, holy demands pay further young, positive numbers. A little criminal i','Books','business',7.68,9959.06,6.346026
+'AAAAAAAAKMAAAAAA','Plans consult interested, light boys. Selective, other problems create scientific, young parties. Sufficient speakers might not kiss too social, basic interests. Dual, other times s','Books','business',0.19,910.16,0.579964
+'AAAAAAAALDFAAAAA','Hands may not allow only in a lands; linear, other pubs say; social, precise women identify for a patients. Preferences develop alone now rich motives. Ever good tas','Books','business',3.68,1816.45,1.157462
+'AAAAAAAALGBBAAAA','Modern records retain about there civil plans. Social bodies survive. Great, living losses bother late, coherent others. About british sports ought to use cautiously from ','Books','business',1.94,1252.09,0.797846
+'AAAAAAAAMALDAAAA','Here final difficulties would not comply just legal good motives. Enough sensitive things could not spend obviously with a systems. In pu','Books','business',91.76,356.85,0.227389
+'AAAAAAAAMIGCAAAA','Carefully physical hotels must put together; similar details cannot appreciate by a standards. Rates can break m','Books','business',6.63,562.96,0.358724
+'AAAAAAAAMIMCAAAA','About likely houses like international members. Final, relevant birds answer after the paintings. Hungry, personal days borrow tiny, primary resources. As social relations could choose quite also ','Books','business',0.77,2889.22,1.841044
+'AAAAAAAAMKHAAAAA','Unions shall see enough over true attitudes; of course full variable','Books','business',8.90,15263.90,9.726330
+'AAAAAAAAMKNDAAAA','Special, clear elements would buy at a games. Things should spot today strange, only devices. Armies should like at a patients. Hands could perform simply narrow values. N','Books','business',1.28,1069.76,0.681663
+'AAAAAAAANACBAAAA','New teachers might demand never assets. Deeply bright ministers make generally never prime imports. Odd writings step common readers; talks take young, r','Books','business',2.95,3975.16,2.533017
+'AAAAAAAAPDNAAAAA','Local, unlikely bits sign completely. Areas feel only manufacturing legs. Amounts must go personal, very things; areas could take clo','Books','business',5.20,3545.37,2.259150
+'AAAAAAAAPEKCAAAA','Alone countries must use so old, international functions. Only public cases see in a words. Normal methods forget even communist changes; technical numbers convert either natu','Books','business',4.67,3899.62,2.484882
+'AAAAAAAAPGDBAAAA','Certainly remaining flowers can wonder then just significant papers; places secure below as a bombs. Other, domestic members must allow very polite thi','Books','business',0.60,12462.77,7.941418
+'AAAAAAAAPHJAAAAA','Possibly great customs suit close looks. Capable, frequent processes shall pass possible dangers; hard, private words act measures. Mysterious, acceptable fac','Books','business',6.64,6141.24,3.913268
+'AAAAAAAAAALDAAAA','Forward liable funds may not end from time to time local, domestic chiefs. Major, well-known newspapers can regain together new, white conclusions. Very vital employees can draw','Books','computers',17.54,588.01,0.311080
+'AAAAAAAAAHKDAAAA','Decisions play actually exclusive activities. Well assistant e','Books','computers',8.77,1619.66,0.856862
+'AAAAAAAAAKGDAAAA','Tonnes could use slowly off a servants. Initial letters must walk now companies; rapid, previous towns put here large, prime needs. Historical, negative grou','Books','computers',0.19,3319.10,1.755930
+'AAAAAAAAAOBCAAAA','Years should try in line with a conditions. Pp. spend well evenings. Other, afraid sides speculate at a years. Options ought to know leading, app','Books','computers',5.23,8468.08,4.479937
+'AAAAAAAABHEEAAAA','Subjects may remain officials. Forward, straight objects used to see wh','Books','computers',6.97,13658.40,7.225814
+'AAAAAAAABLMBAAAA','External improvements effect so tough words. Great roads cause quickly popular, black stories. Clearly white members might ask enough details. Min','Books','computers',31.74,4154.04,2.197646
+'AAAAAAAACHOCAAAA','Final governm','Books','computers',6.22,5102.98,2.699671
+'AAAAAAAACOHDAAAA','Left, important sports shall get on an specialists. Overall, e','Books','computers',3.56,14321.37,7.576551
+'AAAAAAAAEANCAAAA','Ye','Books','computers',9.75,1367.76,0.723597
+'AAAAAAAAEAPAAAAA','Just distinct children think individuals; popular arguments develop here cautious methods; appropriate children might beat. Proper, empirical hundreds fall oth','Books','computers',4.01,328.50,0.173789
+'AAAAAAAAEDMAAAAA','Books understand. Principles produce just at a premises. Years ','Books','computers',44.48,188.86,0.099914
+'AAAAAAAAFEEAAAAA','Capital, united feelings paint only things. Greatly financial economies should not pay somewhere soviet necessary armies; educational concepts mus','Books','computers',3.83,812.19,0.429679
+'AAAAAAAAFLFEAAAA','Social weeks may hope. However parental objects shall get just potential logical stations. Agreements attend on a arms; circa real reforms may interpret dogs. T','Books','computers',2.06,449.61,0.237861
+'AAAAAAAAGENAAAAA','Genera','Books','computers',2.84,950.58,0.502893
+'AAAAAAAAGHCBAAAA','Hundreds would meet regardless german, foreign scien','Books','computers',9.77,1969.60,1.041994
+'AAAAAAAAGNGBAAAA','Brilliant, massive prisons take still national others. Only northern guidelines go right by the lips. General, spiritual walls shall reach in a languages. British nations eat substantial polici','Books','computers',3.42,377.26,0.199585
+'AAAAAAAAHPADAAAA','Used, young sizes take requirements. Electoral, standard stones worry still private scenes. Major, still bedrooms say all once effective years. Long new moments will own after the','Books','computers',9.19,690.90,0.365512
+'AAAAAAAAIAMAAAAA','Alone walls mus','Books','computers',2.00,4530.16,2.396627
+'AAAAAAAAIGCEAAAA','Concerned numbers can attempt now particular, white friends; un','Books','computers',3.38,14627.99,7.738765
+---- TYPES
+STRING, STRING, STRING, STRING, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q21.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q21.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q21.test
new file mode 100644
index 0000000..b185108
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q21.test
@@ -0,0 +1,133 @@
+====
+---- QUERY: TPCDS-Q21
+select  *
+ from(select w_warehouse_name
+            ,i_item_id
+            ,sum(case when (cast(d_date as timestamp) < cast ('2000-03-11' as timestamp))
+                  then inv_quantity_on_hand
+                      else 0 end) as inv_before
+            ,sum(case when (cast(d_date as timestamp) >= cast ('2000-03-11' as timestamp))
+                      then inv_quantity_on_hand
+                      else 0 end) as inv_after
+   from inventory
+       ,warehouse
+       ,item
+       ,date_dim
+   where i_current_price between 0.99 and 1.49
+     and i_item_sk          = inv_item_sk
+     and inv_warehouse_sk   = w_warehouse_sk
+     and inv_date_sk    = d_date_sk
+     and cast(d_date as timestamp) between (cast ('2000-03-11' as timestamp) - interval 30 days)
+                    and (cast ('2000-03-11' as timestamp) + interval 30 days)
+   group by w_warehouse_name, i_item_id) x
+ where (case when inv_before > 0
+             then inv_after / inv_before
+             else null
+             end) between 2.0/3.0 and 3.0/2.0
+ order by w_warehouse_name
+         ,i_item_id
+ limit 100;
+---- RESULTS
+'Bad cards must make.','AAAAAAAAAACDAAAA',1889,2168
+'Bad cards must make.','AAAAAAAAAAHDAAAA',2739,2039
+'Bad cards must make.','AAAAAAAAABDAAAAA',1717,1782
+'Bad cards must make.','AAAAAAAAACGCAAAA',2296,2276
+'Bad cards must make.','AAAAAAAAACKCAAAA',2443,1878
+'Bad cards must make.','AAAAAAAAACOBAAAA',2705,2428
+'Bad cards must make.','AAAAAAAAADGBAAAA',2242,2759
+'Bad cards must make.','AAAAAAAAADKBAAAA',2138,2456
+'Bad cards must make.','AAAAAAAAAEADAAAA',2914,2237
+'Bad cards must make.','AAAAAAAAAEOCAAAA',1797,2073
+'Bad cards must make.','AAAAAAAAAFACAAAA',2058,2734
+'Bad cards must make.','AAAAAAAAAFADAAAA',2173,2515
+'Bad cards must make.','AAAAAAAAAFDCAAAA',2309,2277
+'Bad cards must make.','AAAAAAAAAGIDAAAA',1864,2197
+'Bad cards must make.','AAAAAAAAAHDEAAAA',2483,2077
+'Bad cards must make.','AAAAAAAAAHJBAAAA',2904,3312
+'Bad cards must make.','AAAAAAAAAIECAAAA',2239,2526
+'Bad cards must make.','AAAAAAAAAIMCAAAA',1948,2693
+'Bad cards must make.','AAAAAAAAAJKBAAAA',2184,2190
+'Bad cards must make.','AAAAAAAAALECAAAA',2539,3052
+'Bad cards must make.','AAAAAAAAALNBAAAA',1406,1728
+'Bad cards must make.','AAAAAAAAAMPBAAAA',3450,3033
+'Bad cards must make.','AAAAAAAAANFEAAAA',2255,1517
+'Bad cards must make.','AAAAAAAAAPLAAAAA',1465,1227
+'Bad cards must make.','AAAAAAAABBIDAAAA',2822,2125
+'Bad cards must make.','AAAAAAAABDCEAAAA',2068,2187
+'Bad cards must make.','AAAAAAAABEFDAAAA',1023,1510
+'Bad cards must make.','AAAAAAAABFNAAAAA',1962,2719
+'Bad cards must make.','AAAAAAAABFOCAAAA',2392,2520
+'Bad cards must make.','AAAAAAAABHPCAAAA',2945,3058
+'Bad cards must make.','AAAAAAAABIDBAAAA',1746,1706
+'Bad cards must make.','AAAAAAAABJFEAAAA',2458,2647
+'Bad cards must make.','AAAAAAAABKFAAAAA',3152,2529
+'Bad cards must make.','AAAAAAAABLDEAAAA',2439,2899
+'Bad cards must make.','AAAAAAAABNHBAAAA',2254,2117
+'Bad cards must make.','AAAAAAAABNLAAAAA',2552,2608
+'Bad cards must make.','AAAAAAAABNLDAAAA',3103,2489
+'Bad cards must make.','AAAAAAAABNMCAAAA',1752,2078
+'Bad cards must make.','AAAAAAAABOCCAAAA',1697,1547
+'Bad cards must make.','AAAAAAAACAAAAAAA',2736,1937
+'Bad cards must make.','AAAAAAAACAJCAAAA',1921,1806
+'Bad cards must make.','AAAAAAAACBFAAAAA',1237,1460
+'Bad cards must make.','AAAAAAAACBIAAAAA',2157,1915
+'Bad cards must make.','AAAAAAAACBPBAAAA',3220,2970
+'Bad cards must make.','AAAAAAAACCABAAAA',1167,1704
+'Bad cards must make.','AAAAAAAACCMDAAAA',2057,2563
+'Bad cards must make.','AAAAAAAACDBCAAAA',2017,1494
+'Bad cards must make.','AAAAAAAACGFDAAAA',2811,3027
+'Bad cards must make.','AAAAAAAACHHDAAAA',2589,1935
+'Bad cards must make.','AAAAAAAACJDCAAAA',1299,1807
+'Bad cards must make.','AAAAAAAACKHAAAAA',1484,2158
+'Bad cards must make.','AAAAAAAACLKAAAAA',2743,2910
+'Bad cards must make.','AAAAAAAACMJAAAAA',1345,1776
+'Bad cards must make.','AAAAAAAACMLAAAAA',1869,2372
+'Bad cards must make.','AAAAAAAACMPDAAAA',1480,2177
+'Bad cards must make.','AAAAAAAACNBBAAAA',2914,2373
+'Bad cards must make.','AAAAAAAACNEBAAAA',2170,2456
+'Bad cards must make.','AAAAAAAACNFAAAAA',2854,2071
+'Bad cards must make.','AAAAAAAACNGBAAAA',1830,2659
+'Bad cards must make.','AAAAAAAACNHDAAAA',1507,1643
+'Bad cards must make.','AAAAAAAACNPCAAAA',2756,2402
+'Bad cards must make.','AAAAAAAADCBEAAAA',2403,2684
+'Bad cards must make.','AAAAAAAADCPCAAAA',2112,1881
+'Bad cards must make.','AAAAAAAADDNDAAAA',3404,2652
+'Bad cards must make.','AAAAAAAADEJDAAAA',1719,1822
+'Bad cards must make.','AAAAAAAADFLAAAAA',3242,2344
+'Bad cards must make.','AAAAAAAADGCCAAAA',2435,2159
+'Bad cards must make.','AAAAAAAADGFCAAAA',2350,1867
+'Bad cards must make.','AAAAAAAADGGBAAAA',2686,3567
+'Bad cards must make.','AAAAAAAADGKAAAAA',2927,2595
+'Bad cards must make.','AAAAAAAADHPAAAAA',2639,2216
+'Bad cards must make.','AAAAAAAADKPDAAAA',2476,3512
+'Bad cards must make.','AAAAAAAADMBAAAAA',2472,2301
+'Bad cards must make.','AAAAAAAADNLBAAAA',2792,2077
+'Bad cards must make.','AAAAAAAADPABAAAA',1719,1667
+'Bad cards must make.','AAAAAAAAEAICAAAA',1420,2094
+'Bad cards must make.','AAAAAAAAEAPAAAAA',1875,2244
+'Bad cards must make.','AAAAAAAAEBCEAAAA',2241,1924
+'Bad cards must make.','AAAAAAAAEBPCAAAA',2544,2281
+'Bad cards must make.','AAAAAAAAECGCAAAA',2039,1848
+'Bad cards must make.','AAAAAAAAEDOCAAAA',2401,1770
+'Bad cards must make.','AAAAAAAAEDPDAAAA',3041,2119
+'Bad cards must make.','AAAAAAAAEGGBAAAA',2717,2032
+'Bad cards must make.','AAAAAAAAEGJAAAAA',2996,2092
+'Bad cards must make.','AAAAAAAAEGMAAAAA',3051,2982
+'Bad cards must make.','AAAAAAAAEGOCAAAA',2086,1958
+'Bad cards must make.','AAAAAAAAEHECAAAA',1993,1498
+'Bad cards must make.','AAAAAAAAEHFDAAAA',2217,2151
+'Bad cards must make.','AAAAAAAAEHLBAAAA',1417,2034
+'Bad cards must make.','AAAAAAAAEIDEAAAA',1804,1474
+'Bad cards must make.','AAAAAAAAEJAEAAAA',2287,2006
+'Bad cards must make.','AAAAAAAAEJJDAAAA',2080,1660
+'Bad cards must make.','AAAAAAAAEJPDAAAA',1788,2188
+'Bad cards must make.','AAAAAAAAEKCAAAAA',2451,2182
+'Bad cards must make.','AAAAAAAAENFBAAAA',2123,2294
+'Bad cards must make.','AAAAAAAAEONAAAAA',2706,1887
+'Bad cards must make.','AAAAAAAAEPHCAAAA',1332,1209
+'Bad cards must make.','AAAAAAAAEPKCAAAA',2445,1824
+'Bad cards must make.','AAAAAAAAFAKBAAAA',843,1256
+'Bad cards must make.','AAAAAAAAFALDAAAA',2391,2019
+---- TYPES
+STRING, STRING, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q22a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q22a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q22a.test
new file mode 100644
index 0000000..dcf9178
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q22a.test
@@ -0,0 +1,147 @@
+====
+---- QUERY: TPCDS-Q22A
+-- RESULT MISMATCH FROM ORIGINAL in LSD of AVG() values
+-- FIXED, HAND_ROUNDED AVG() VALUES IN RESULT SET
+with results as
+(select  i_product_name
+             ,i_brand
+             ,i_class
+             ,i_category
+             ,inv_quantity_on_hand qoh
+       from inventory
+           ,date_dim
+           ,item
+           ,warehouse
+       where  inv_date_sk=d_date_sk
+              and inv_item_sk=i_item_sk
+              and inv_warehouse_sk = w_warehouse_sk
+              and d_month_seq between 1200 and 1200 + 11
+       -- group by i_product_name,i_brand,i_class,i_category
+),
+results_rollup as
+(select i_product_name, i_brand, i_class, i_category,avg(qoh) qoh
+from results
+group by i_product_name,i_brand,i_class,i_category
+union all
+select i_product_name, i_brand, i_class, null i_category,avg(qoh) qoh
+from results
+group by i_product_name,i_brand,i_class
+union all
+select i_product_name, i_brand, null i_class, null i_category,avg(qoh) qoh
+from results
+group by i_product_name,i_brand
+union all
+select i_product_name, null i_brand, null i_class, null i_category,avg(qoh)  qoh
+from results
+group by i_product_name
+union all
+select null i_product_name, null i_brand, null i_class, null i_category,avg(qoh) qoh
+from results)
+ select  i_product_name, i_brand, i_class, i_category, cast(qoh as decimal(12, 2))
+      from results_rollup
+      order by qoh, i_product_name, i_brand, i_class, i_category
+limit 100;
+---- RESULTS
+'ationbarn station','amalgbrand #8','bathroom','Home',430.36
+'ationbarn station','amalgbrand #8','bathroom','NULL',430.36
+'ationbarn station','amalgbrand #8','NULL','NULL',430.36
+'ationbarn station','NULL','NULL','NULL',430.36
+'ationoughtn stn st','edu packimporto #2','sports-apparel','Men',435.27
+'ationoughtn stn st','edu packimporto #2','sports-apparel','NULL',435.27
+'ationoughtn stn st','edu packimporto #2','NULL','NULL',435.27
+'ationoughtn stn st','NULL','NULL','NULL',435.27
+'ationationprin st','amalgexporti #2','newborn','Children',435.51
+'ationationprin st','amalgexporti #2','newborn','NULL',435.51
+'ationationprin st','amalgexporti #2','NULL','NULL',435.51
+'ationationprin st','NULL','NULL','NULL',435.51
+'oughtcallyn stantiought','corpcorp #2','rings','Jewelry',436.49
+'oughtcallyn stantiought','corpcorp #2','rings','NULL',436.49
+'oughtcallyn stantiought','corpcorp #2','NULL','NULL',436.49
+'oughtcallyn stantiought','NULL','NULL','NULL',436.49
+'callyesebaration','namelesscorp #7','mens watch','Jewelry',437.39
+'callyesebaration','namelesscorp #7','mens watch','NULL',437.39
+'callyesebaration','namelesscorp #7','NULL','NULL',437.39
+'callyesebaration','NULL','NULL','NULL',437.39
+'n stprieingationought','namelesscorp #8','mens watch','Jewelry',439.06
+'n stprieingationought','namelesscorp #8','mens watch','NULL',439.06
+'n stprieingationought','namelesscorp #8','NULL','NULL',439.06
+'n stprieingationought','NULL','NULL','NULL',439.06
+'priationn stn st','importoscholar #2','country','Music',439.10
+'priationn stn st','importoscholar #2','country','NULL',439.10
+'priationn stn st','importoscholar #2','NULL','NULL',439.10
+'priationn stn st','NULL','NULL','NULL',439.10
+'n stcallyableoughtought','amalgimporto #2','accessories','Men',439.72
+'n stcallyableoughtought','amalgimporto #2','accessories','NULL',439.72
+'n stcallyableoughtought','amalgimporto #2','NULL','NULL',439.72
+'n stcallyableoughtought','NULL','NULL','NULL',439.72
+'n stbarought','corpbrand #10','rugs','Home',440.31
+'n stbarought','corpbrand #10','rugs','NULL',440.31
+'n stbarought','corpbrand #10','NULL','NULL',440.31
+'n stbarought','NULL','NULL','NULL',440.31
+'n stn stantioughtought','exportimaxi #8','computers','Books',440.93
+'n stn stantioughtought','exportimaxi #8','computers','NULL',440.93
+'n stn stantioughtought','exportimaxi #8','NULL','NULL',440.93
+'n stn stantioughtought','NULL','NULL','NULL',440.93
+'n stcallyesepriought','edu packscholar #2','classical','Music',441.54
+'n stcallyesepriought','edu packscholar #2','classical','NULL',441.54
+'n stcallyesepriought','edu packscholar #2','NULL','NULL',441.54
+'n stcallyesepriought','NULL','NULL','NULL',441.54
+'priantiationation','importoimporto #2','shirts','Men',441.67
+'priantiationation','importoimporto #2','shirts','NULL',441.67
+'priantiationation','importoimporto #2','NULL','NULL',441.67
+'priantiationation','NULL','NULL','NULL',441.67
+'oughtbarantiese','exportiedu pack #2','kids','Shoes',441.75
+'oughtbarantiese','exportiedu pack #2','kids','NULL',441.75
+'oughtbarantiese','exportiedu pack #2','NULL','NULL',441.75
+'oughtbarantiese','NULL','NULL','NULL',441.75
+'oughtbarprin st','edu packscholar #2','classical','Music',442.07
+'oughtbarprin st','edu packscholar #2','classical','NULL',442.07
+'oughtbarprin st','edu packscholar #2','NULL','NULL',442.07
+'oughtbarprin st','NULL','NULL','NULL',442.07
+'ationeingation','amalgexporti #2','newborn','Children',443.78
+'ationeingation','amalgexporti #2','newborn','NULL',443.78
+'ationeingation','amalgexporti #2','NULL','NULL',443.78
+'ationeingation','NULL','NULL','NULL',443.78
+'ationbarn stableought','corpbrand #8','rugs','Home',444.09
+'ationbarn stableought','corpbrand #8','rugs','NULL',444.09
+'ationbarn stableought','corpbrand #8','NULL','NULL',444.09
+'ationbarn stableought','NULL','NULL','NULL',444.09
+'eseationcallyableought','importoexporti #1','infants','Children',444.54
+'eseationcallyableought','importoexporti #1','infants','NULL',444.54
+'eseationcallyableought','importoexporti #1','NULL','NULL',444.54
+'eseationcallyableought','NULL','NULL','NULL',444.54
+'eingableableationought','amalgimporto #1','accessories','Men',444.71
+'eingableableationought','amalgimporto #1','accessories','NULL',444.71
+'eingableableationought','amalgimporto #1','NULL','NULL',444.71
+'eingableableationought','NULL','NULL','NULL',444.71
+'n steseantiation','univmaxi #10','pools','Sports',445.33
+'n steseantiation','univmaxi #10','pools','NULL',445.33
+'n steseantiation','univmaxi #10','NULL','NULL',445.33
+'n steseantiation','NULL','NULL','NULL',445.33
+'antibareingantiought','importoimporto #2','shirts','Men',445.41
+'antibareingantiought','importoimporto #2','shirts','NULL',445.41
+'antibareingantiought','importoimporto #2','NULL','NULL',445.41
+'antibareingantiought','NULL','NULL','NULL',445.41
+'ationantibarationought','univmaxi #8','pools','Sports',445.42
+'ationantibarationought','univmaxi #8','pools','NULL',445.42
+'ationantibarationought','univmaxi #8','NULL','NULL',445.42
+'ationantibarationought','NULL','NULL','NULL',445.42
+'oughtpricallybarought','edu packexporti #2','school-uniforms','Children',445.49
+'oughtpricallybarought','edu packexporti #2','school-uniforms','NULL',445.49
+'oughtpricallybarought','edu packexporti #2','NULL','NULL',445.49
+'oughtpricallybarought','NULL','NULL','NULL',445.49
+'ableationprieing','amalgamalg #1','dresses','Women',446.00
+'ableationprieing','amalgamalg #1','dresses','NULL',446.00
+'ableationprieing','amalgamalg #1','NULL','NULL',446.00
+'ableationprieing','NULL','NULL','NULL',446.00
+'pribarpribarought','edu packimporto #2','sports-apparel','Men',446.04
+'pribarpribarought','edu packimporto #2','sports-apparel','NULL',446.04
+'pribarpribarought','edu packimporto #2','NULL','NULL',446.04
+'pribarpribarought','NULL','NULL','NULL',446.04
+'oughtn stprin st','exportiamalgamalg #8','stereo','Electronics',447.27
+'oughtn stprin st','exportiamalgamalg #8','stereo','NULL',447.27
+'oughtn stprin st','exportiamalgamalg #8','NULL','NULL',447.27
+'oughtn stprin st','NULL','NULL','NULL',447.27
+---- TYPES
+STRING, STRING, STRING, STRING, DECIMAL
+====

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q25.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q25.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q25.test
new file mode 100644
index 0000000..93e775f
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q25.test
@@ -0,0 +1,52 @@
+====
+---- QUERY: TPCDS-Q25
+select
+ i_item_id
+ ,i_item_desc
+ ,s_store_id
+ ,s_store_name
+ ,sum(ss_net_profit) as store_sales_profit
+ ,sum(sr_net_loss) as store_returns_loss
+ ,sum(cs_net_profit) as catalog_sales_profit
+ from
+ store_sales
+ ,store_returns
+ ,catalog_sales
+ ,date_dim d1
+ ,date_dim d2
+ ,date_dim d3
+ ,store
+ ,item
+ where
+ d1.d_moy = 4
+ and d1.d_year = 2001
+ and d1.d_date_sk = ss_sold_date_sk
+ and i_item_sk = ss_item_sk
+ and s_store_sk = ss_store_sk
+ and ss_customer_sk = sr_customer_sk
+ and ss_item_sk = sr_item_sk
+ and ss_ticket_number = sr_ticket_number
+ and sr_returned_date_sk = d2.d_date_sk
+ and d2.d_moy               between 4 and  10
+ and d2.d_year              = 2001
+ and sr_customer_sk = cs_bill_customer_sk
+ and sr_item_sk = cs_item_sk
+ and cs_sold_date_sk = d3.d_date_sk
+ and d3.d_moy               between 4 and  10
+ and d3.d_year              = 2001
+ group by
+ i_item_id
+ ,i_item_desc
+ ,s_store_id
+ ,s_store_name
+ order by
+ i_item_id
+ ,i_item_desc
+ ,s_store_id
+ ,s_store_name
+ limit 100;
+---- RESULTS
+'AAAAAAAADPMBAAAA','Things know alone letters. Flights should tend even jewish fees. Civil plans could not cry also social days; other losses might not pay walls; still able signs should not remove too human ','AAAAAAAAHAAAAAAA','ation',12.84,91.41,-1329.46
+---- TYPES
+STRING, STRING, STRING, STRING, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q29.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q29.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q29.test
new file mode 100644
index 0000000..12038a7
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q29.test
@@ -0,0 +1,51 @@
+====
+---- QUERY: TPCDS-Q29
+select
+     i_item_id
+    ,i_item_desc
+    ,s_store_id
+    ,s_store_name
+    ,sum(ss_quantity)        as store_sales_quantity
+    ,sum(sr_return_quantity) as store_returns_quantity
+    ,sum(cs_quantity)        as catalog_sales_quantity
+ from
+    store_sales
+   ,store_returns
+   ,catalog_sales
+   ,date_dim             d1
+   ,date_dim             d2
+   ,date_dim             d3
+   ,store
+   ,item
+ where
+     d1.d_moy               = 9
+ and d1.d_year              = 1999
+ and d1.d_date_sk           = ss_sold_date_sk
+ and i_item_sk              = ss_item_sk
+ and s_store_sk             = ss_store_sk
+ and ss_customer_sk         = sr_customer_sk
+ and ss_item_sk             = sr_item_sk
+ and ss_ticket_number       = sr_ticket_number
+ and sr_returned_date_sk    = d2.d_date_sk
+ and d2.d_moy               between 9 and 9 + 3
+ and d2.d_year              = 1999
+ and sr_customer_sk         = cs_bill_customer_sk
+ and sr_item_sk             = cs_item_sk
+ and cs_sold_date_sk        = d3.d_date_sk
+ and d3.d_year              in (1999,1999+1,1999+2)
+ group by
+    i_item_id
+   ,i_item_desc
+   ,s_store_id
+   ,s_store_name
+ order by
+    i_item_id
+   ,i_item_desc
+   ,s_store_id
+   ,s_store_name
+ limit 100;
+---- RESULTS
+'AAAAAAAABOKDAAAA','Immediate women sell. Slowly sure measures might ensure in order from a duties. Privately aware damages may compensate so for example previous letters','AAAAAAAABAAAAAAA','ought',99,81,22
+---- TYPES
+STRING, STRING, STRING, STRING, BIGINT, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q3.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q3.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q3.test
new file mode 100644
index 0000000..44597a5
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q3.test
@@ -0,0 +1,118 @@
+====
+---- QUERY: TPCDS-Q3
+select
+  dt.d_year,
+  item.i_brand_id brand_id,
+  item.i_brand brand,
+  sum(ss_ext_sales_price) sum_agg
+from
+  date_dim dt,
+  store_sales ss,
+  item
+where
+  dt.d_date_sk = ss.ss_sold_date_sk
+  and ss.ss_item_sk = item.i_item_sk
+  and item.i_manufact_id = 128
+  and dt.d_moy = 11
+group by
+  dt.d_year,
+  item.i_brand,
+  item.i_brand_id
+order by
+  dt.d_year,
+  sum_agg desc,
+  brand_id
+limit 100;
+---- RESULTS
+1998,2001001,'amalgimporto #1',45162.45
+1998,5003001,'exportischolar #1',40600.56
+1998,5001001,'amalgscholar #1',32515.11
+1998,3004001,'edu packexporti #1',32443.16
+1998,3001001,'amalgexporti #1',30280.72
+1998,3001002,'amalgexporti #2',27644.68
+1998,1003001,'exportiamalg #1',25408.10
+1998,7007010,'brandbrand #10',23346.45
+1998,8001009,'amalgnameless #9',20792.57
+1998,10010002,'univamalgamalg #2',20398.90
+1998,7009008,'maxibrand #8',19199.75
+1998,6004008,'edu packcorp #8',18022.24
+1998,1004001,'edu packamalg #1',17434.09
+1998,10001002,'amalgunivamalg #2',15434.73
+1998,5004001,'edu packscholar #1',15184.40
+1998,7003009,'exportibrand #9',11669.32
+1998,1001002,'amalgamalg #2',10725.87
+1998,5003002,'exportischolar #2',10250.29
+1999,7003009,'exportibrand #9',60081.08
+1999,3004001,'edu packexporti #1',57285.04
+1999,2001001,'amalgimporto #1',46294.06
+1999,5004001,'edu packscholar #1',29587.74
+1999,1003001,'exportiamalg #1',28354.52
+1999,10001002,'amalgunivamalg #2',25166.82
+1999,5003001,'exportischolar #1',20350.80
+1999,1001002,'amalgamalg #2',18476.51
+1999,5003002,'exportischolar #2',17769.35
+1999,7009008,'maxibrand #8',16413.03
+1999,1004001,'edu packamalg #1',14950.65
+1999,6004008,'edu packcorp #8',14524.78
+1999,3001001,'amalgexporti #1',13895.01
+1999,5001001,'amalgscholar #1',11468.36
+1999,7007010,'brandbrand #10',10103.81
+1999,10010002,'univamalgamalg #2',7640.55
+1999,8001009,'amalgnameless #9',7324.50
+1999,3001002,'amalgexporti #2',2940.88
+2000,1003001,'exportiamalg #1',35841.00
+2000,2001001,'amalgimporto #1',32500.27
+2000,3001002,'amalgexporti #2',32059.56
+2000,3004001,'edu packexporti #1',29891.01
+2000,1001002,'amalgamalg #2',19888.62
+2000,10001002,'amalgunivamalg #2',19325.34
+2000,3001001,'amalgexporti #1',19261.58
+2000,10008017,'namelessunivamalg #17',17207.60
+2000,5003002,'exportischolar #2',16365.82
+2000,5003001,'amalgunivamalg #2',15140.30
+2000,1004001,'edu packamalg #1',15074.32
+2000,7009008,'maxibrand #8',15042.42
+2000,5004001,'edu packscholar #1',14744.21
+2000,6004008,'edu packcorp #8',13303.65
+2000,7007010,'brandbrand #10',12915.75
+2000,7003009,'exportibrand #9',11347.80
+2000,8001009,'importoexporti #2',10520.76
+2001,1001002,'amalgamalg #2',40840.34
+2001,1004001,'exportiexporti #2',27499.42
+2001,10008017,'namelessunivamalg #17',25766.09
+2001,4001001,'scholaramalgamalg #15',23917.98
+2001,7007010,'brandbrand #10',23807.16
+2001,1003001,'exportiamalg #2',21192.81
+2001,6004008,'edu packcorp #8',20966.17
+2001,5003002,'exportischolar #2',20410.45
+2001,8001009,'importoexporti #2',19273.11
+2001,3001002,'amalgexporti #2',18047.23
+2001,6005001,'edu packimporto #2',16801.34
+2001,2001001,'exportischolar #2',15894.57
+2001,5003001,'amalgunivamalg #2',15883.30
+2001,7011010,'amalgnameless #10',15174.18
+2001,5004001,'edu packunivamalg #8',10452.64
+2001,8004010,'edu packnameless #10',8565.95
+2001,3001001,'importoscholar #2',7765.96
+2001,7009008,'maxibrand #8',3570.11
+2002,1001002,'amalgamalg #2',57204.62
+2002,6004008,'edu packcorp #8',39584.99
+2002,8004010,'edu packnameless #10',30357.37
+2002,3001002,'amalgexporti #2',23025.23
+2002,3001001,'importoscholar #2',21157.23
+2002,1003001,'exportiamalg #2',20535.46
+2002,7007010,'brandbrand #10',19387.78
+2002,7009008,'maxibrand #8',17673.93
+2002,5004001,'edu packunivamalg #8',15175.94
+2002,4001001,'scholaramalgamalg #15',14984.83
+2002,6005001,'edu packimporto #2',14774.23
+2002,1004001,'exportiexporti #2',13016.75
+2002,7011010,'amalgnameless #10',12343.97
+2002,10008017,'amalgedu pack #1',10334.40
+2002,10013016,'exportiamalgamalg #16',8356.19
+2002,5003002,'exportischolar #2',5435.81
+2002,2001001,'exportischolar #2',4162.39
+2002,5001001,'amalgscholar #1',3537.49
+---- TYPES
+INT, INT, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q32.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q32.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q32.test
new file mode 100644
index 0000000..52bbea4
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q32.test
@@ -0,0 +1,32 @@
+====
+---- QUERY: TPCDS-Q32
+select  sum(cs_ext_discount_amt)  as "excess discount amount"
+from
+   catalog_sales
+   ,item
+   ,date_dim
+where
+i_manufact_id = 977
+and i_item_sk = cs_item_sk
+and cast(d_date as timestamp) between cast('2000-01-27' as timestamp) and
+        (cast('2000-01-27' as timestamp) + interval 90 days)
+and d_date_sk = cs_sold_date_sk
+and cs_ext_discount_amt
+     > (
+         select
+            1.3 * avg(cs_ext_discount_amt)
+         from
+            catalog_sales
+           ,date_dim
+         where
+              cs_item_sk = i_item_sk
+          and cast(d_date as timestamp) between cast('2000-01-27' as timestamp) and
+                             (cast('2000-01-27' as timestamp) + interval 90 days)
+          and d_date_sk = cs_sold_date_sk
+      )
+limit 100;
+---- RESULTS
+28038.14
+---- TYPES
+DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q33.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q33.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q33.test
new file mode 100644
index 0000000..7492a17
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q33.test
@@ -0,0 +1,178 @@
+====
+---- QUERY: TPCDS-Q33
+with ss as (
+ select
+          i_manufact_id,sum(ss_ext_sales_price) total_sales
+ from
+  store_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_manufact_id in (select
+  i_manufact_id
+from
+ item
+where i_category in ('Electronics'))
+ and     ss_item_sk              = i_item_sk
+ and     ss_sold_date_sk         = d_date_sk
+ and     d_year                  = 1998
+ and     d_moy                   = 5
+ and     ss_addr_sk              = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_manufact_id),
+ cs as (
+ select
+          i_manufact_id,sum(cs_ext_sales_price) total_sales
+ from
+  catalog_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_manufact_id               in (select
+  i_manufact_id
+from
+ item
+where i_category in ('Electronics'))
+ and     cs_item_sk              = i_item_sk
+ and     cs_sold_date_sk         = d_date_sk
+ and     d_year                  = 1998
+ and     d_moy                   = 5
+ and     cs_bill_addr_sk         = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_manufact_id),
+ ws as (
+ select
+          i_manufact_id,sum(ws_ext_sales_price) total_sales
+ from
+  web_sales,
+  date_dim,
+         customer_address,
+         item
+ where
+         i_manufact_id               in (select
+  i_manufact_id
+from
+ item
+where i_category in ('Electronics'))
+ and     ws_item_sk              = i_item_sk
+ and     ws_sold_date_sk         = d_date_sk
+ and     d_year                  = 1998
+ and     d_moy                   = 5
+ and     ws_bill_addr_sk         = ca_address_sk
+ and     ca_gmt_offset           = -5
+ group by i_manufact_id)
+  select  i_manufact_id ,sum(total_sales) total_sales
+ from  (select * from ss
+        union all
+        select * from cs
+        union all
+        select * from ws) tmp1
+ group by i_manufact_id
+ order by total_sales
+limit 100;
+---- RESULTS
+698,214.34
+929,539.60
+464,641.96
+938,858.22
+697,959.48
+682,1074.64
+741,1195.96
+812,2069.00
+838,2256.80
+910,2291.67
+899,2355.04
+990,2370.68
+963,2380.92
+832,2684.32
+692,2773.42
+738,2945.77
+564,3210.59
+770,3379.72
+821,3446.02
+797,3485.44
+974,3527.17
+704,3574.75
+853,3850.44
+898,3854.56
+937,3968.27
+737,4284.65
+942,4618.19
+798,5017.15
+849,5099.82
+939,5122.92
+947,5138.04
+774,5138.38
+668,5666.30
+607,5770.19
+358,5955.66
+860,5957.46
+951,5973.81
+472,6060.92
+824,6198.72
+766,6237.09
+783,6341.40
+799,6360.64
+794,6474.90
+529,6476.80
+928,6536.81
+946,6817.54
+795,6859.76
+793,6871.33
+423,6878.60
+811,6887.18
+887,6998.14
+961,7098.23
+806,7143.83
+772,7196.00
+880,7202.52
+709,7247.76
+696,7732.80
+710,7783.45
+784,7894.58
+780,7973.56
+476,8166.70
+839,8299.55
+828,8398.05
+968,8461.36
+966,8715.08
+872,8722.84
+432,8779.74
+842,8879.82
+981,8899.15
+567,9226.08
+773,9431.83
+430,9891.62
+445,9913.18
+678,9976.96
+977,10067.34
+705,10202.62
+402,10322.05
+789,10376.28
+733,10653.42
+936,10760.28
+920,10922.38
+658,10926.50
+1000,10992.09
+651,11129.87
+965,11158.41
+844,11348.42
+954,11383.41
+655,11632.71
+99,11785.13
+493,11859.91
+723,12068.58
+623,12388.39
+874,12585.39
+810,12598.51
+299,12649.43
+826,12657.78
+870,12927.40
+385,12992.19
+590,13381.82
+718,13768.98
+---- TYPES
+INT, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q34.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q34.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q34.test
new file mode 100644
index 0000000..7572aed
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q34.test
@@ -0,0 +1,504 @@
+====
+---- QUERY: TPCDS-Q34
+select
+  c_last_name,
+  c_first_name,
+  c_salutation,
+  c_preferred_cust_flag,
+  ss_ticket_number,
+  cnt
+from
+  (select
+    ss_ticket_number,
+    ss_customer_sk,
+    count(*) cnt
+  from
+    store_sales,
+    date_dim,
+    store,
+    household_demographics
+  where
+    store_sales.ss_sold_date_sk = date_dim.d_date_sk
+    and store_sales.ss_store_sk = store.s_store_sk
+    and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
+    and (date_dim.d_dom between 1 and 3
+      or date_dim.d_dom between 25 and 28)
+    and (household_demographics.hd_buy_potential = '>10000'
+      or household_demographics.hd_buy_potential = 'Unknown')
+    and household_demographics.hd_vehicle_count > 0
+    and (case when household_demographics.hd_vehicle_count > 0
+         then (1.0 * household_demographics.hd_dep_count) / (1.0 * household_demographics.hd_vehicle_count)
+         else null end) > 1.2
+    and date_dim.d_year in (1999, 1999 + 1, 1999 + 2)
+    and store.s_county in ('Williamson County','Williamson County','Williamson County','Williamson County',
+                           'Williamson County','Williamson County','Williamson County','Williamson County')
+  group by
+    ss_ticket_number,
+    ss_customer_sk
+  ) dn,
+  customer
+where
+  ss_customer_sk = c_customer_sk
+  and cnt between 15 and 20
+order by
+  c_last_name,
+  c_first_name,
+  c_salutation,
+  c_preferred_cust_flag desc,
+  cnt,
+  ss_ticket_number;
+---- RESULTS
+'Abbott','Harriet','Ms.','N',195008,15
+'Acosta','Victor','Mr.','N',156807,15
+'Adams','Jerry','Sir','N',216653,15
+'Adams','Willie','Sir','N',88285,15
+'Alford','Deborah','Miss','N',97678,15
+'Allen','Marty','Sir','N',63646,15
+'Anderson','Cindy','Miss','N',90504,15
+'Anderson','Eloise','Mrs.','Y',59994,16
+'Anderson','Marta','Dr.','N',176320,15
+'Anderson','Martha','Mrs.','N',74295,15
+'Anderson','Norma','Miss','Y',132983,16
+'Anderson','Rosemarie','Mrs.','N',178489,15
+'Andrews','Cindy','Miss','Y',132595,16
+'Andrews','Michael','Sir','N',135694,15
+'Andrews','Robert','Sir','Y',30467,15
+'Appleton','Gary','Dr.','N',58554,16
+'Archibald','Cindy','Miss','Y',87178,16
+'Arredondo','Phyllis','Ms.','Y',226220,16
+'Arsenault','Janet','Mrs.','N',169973,16
+'Ashton','Irma','Mrs.','Y',99233,15
+'Bailey','Lucille','Mrs.','N',2490,15
+'Baker','Erik','Sir','Y',69511,15
+'Barba','William','Sir','Y',102719,15
+'Barnes','John','Dr.','N',74071,15
+'Barnes','Michael','Mr.','N',168802,15
+'Bear','Tommy','Sir','Y',27468,15
+'Beasley','Joshua','Dr.','Y',32731,15
+'Bell','William','Mr.','Y',82227,15
+'Bender','Grover','Dr.','N',152239,15
+'Benedict','Bridget','Dr.','N',16544,15
+'Benson','Mike','Sir','Y',53219,16
+'Berry','Theresa','Ms.','Y',77257,15
+'Bilodeau','Norma','Ms.','Y',136244,15
+'Blake','John','Mr.','N',193896,15
+'Blanchard','Joanne','Dr.','N',5917,15
+'Boles','George','Sir','N',64282,15
+'Bolin','Yolanda','Dr.','N',13057,16
+'Bowden','Kathleen','Ms.','N',106265,15
+'Box','Eric','Dr.','N',79283,16
+'Boyd','Mildred','Miss','N',190083,15
+'Boyer','Betty','Mrs.','Y',171238,16
+'Boyle','Timothy','Dr.','N',21865,16
+'Brandt','James','Sir','Y',60562,15
+'Brantley','Frank','Dr.','N',66867,15
+'Brewer','Lynne','Ms.','N',77584,15
+'Broughton','Doretta','Ms.','Y',206939,16
+'Brower','Donald','Dr.','N',163579,15
+'Brown','David','Mr.','N',162755,16
+'Brown','Frederick','Mr.','N',120037,15
+'Brown','Janette','Dr.','Y',7269,16
+'Brown','Janice','Ms.','Y',138617,15
+'Brown','Raymond','Mr.','Y',212279,15
+'Brown','Roderick','Mr.','N',221290,16
+'Brown','Will','Mr.','Y',147392,15
+'Buck','Andrew','Dr.','N',128839,15
+'Burch','Diana','Mrs.','Y',115522,15
+'Burdette','Ronald','Mr.','Y',118097,15
+'Butcher','Francine','Mrs.','N',112093,15
+'Butcher','Thomas','Mr.','N',213918,15
+'Butler','Amos','Dr.','N',7184,15
+'Butler','Nicole','Dr.','N',214214,16
+'Byrd','Stephanie','Miss','Y',24803,15
+'Byrd','Wanda','Ms.','Y',155385,15
+'Campbell','Gordon','Mr.','N',196090,15
+'Campbell','William','Mr.','N',95665,15
+'Carlson','Gwendolyn','Dr.','Y',88472,15
+'Carpenter','Stephen','Mr.','Y',174519,16
+'Carroll','Frederick','Mr.','Y',56635,15
+'Carter','Cecil','Dr.','Y',34336,16
+'Carter','Eddie','Dr.','N',226103,16
+'Carter','Olga','Mrs.','N',84776,15
+'Casey','Darrell','Sir','N',181470,15
+'Castro','Sandra','Ms.','N',87567,15
+'Chandler','Lisa','Dr.','N',102461,16
+'Chang','Bradley','Sir','Y',53396,15
+'Chang','Erik','Sir','Y',140138,15
+'Chase','Daniel','Dr.','Y',129179,15
+'Cheek','Rebecca','Mrs.','Y',82193,15
+'Chen','Brett','Mr.','N',7880,15
+'Christenson','Steven','Mr.','Y',156157,15
+'Clark','Elisa','Mrs.','Y',234445,15
+'Clark','Elizabeth','Dr.','Y',58831,15
+'Clark','Meredith','Dr.','N',229216,16
+'Clark','Rosemary','Miss','Y',31542,15
+'Clayton','Michael','Mr.','N',69714,16
+'Clemente','Patrick','Sir','Y',179702,15
+'Clifford','Bessie','Dr.','N',61376,16
+'Clifford','John','Sir','Y',12960,15
+'Cochran','Dennis','Sir','Y',94375,15
+'Coker','John','Mr.','N',2730,15
+'Cole','Amanda','Dr.','Y',92994,15
+'Cole','Gretchen','Dr.','N',191039,15
+'Cole','June','Miss','N',206225,16
+'Cole','Melanie','Mrs.','Y',208547,15
+'Coleman','Nancy','Ms.','N',39446,16
+'Collier','NULL','Mr.','Y',179488,15
+'Collins','Patsy','Ms.','N',13775,15
+'Conner','Sondra','Miss','N',191684,15
+'Conrad','Jason','Mr.','N',166289,15
+'Cook','John','Mr.','N',237195,15
+'Cook','NULL','Sir','NULL',81755,15
+'Cope','Felicia','Dr.','Y',195003,15
+'Cordero','Dwight','Sir','Y',147038,15
+'Cota','Jorge','Mr.','N',3324,15
+'Crouch','Roberto','Dr.','Y',160826,15
+'Cruz','Donna','Ms.','N',180864,15
+'Cruz','Tamara','Ms.','N',112086,16
+'Dalton','Dorthea','Dr.','Y',37698,15
+'David','Timothy','Mr.','Y',20342,16
+'Davis','Donya','Miss','N',31118,15
+'Davis','Jess','Sir','Y',197947,15
+'Davis','Sandra','Ms.','N',141249,15
+'Davis','Vickie','Miss','Y',35264,15
+'Davison','Jeffrey','Mr.','Y',81413,16
+'Dejesus','Lorena','Dr.','NULL',157934,15
+'Delacruz','Brenton','Mr.','Y',96016,15
+'Delagarza','John','Mr.','N',62980,15
+'Diaz','Brian','Mr.','N',73210,15
+'Dietrich','Tammy','Dr.','N',114650,15
+'Dorsey','Lisa','Dr.','Y',5587,15
+'Dorsey','Melvin','Mr.','Y',231758,15
+'Dunn','Stephen','Sir','N',32455,15
+'Eason','Mario','Sir','N',174089,15
+'Easton','Christopher','Sir','Y',10691,15
+'Elliot','Mark','Mr.','Y',35782,16
+'Esquivel','Hee','Mrs.','Y',42741,15
+'Evans','April','Dr.','Y',41310,15
+'Faison','Roy','Sir','Y',147757,15
+'Farnsworth','Danny','Mr.','Y',29979,15
+'Ferrell','Roy','Mr.','N',139997,15
+'Ferris','William','Sir','Y',12536,15
+'Fields','Philomena','Dr.','N',217374,15
+'Fife','Terry','Dr.','N',81012,15
+'Finn','Margaret','Dr.','N',207070,15
+'Fitzgerald','Thomas','Mr.','Y',2698,15
+'Floyd','Lillian','Dr.','Y',84374,16
+'Flynn','Rhonda','Miss','N',96322,15
+'Forney','Christopher','Sir','N',175230,15
+'Franklin','Dorothy','Miss','Y',210152,15
+'Franklin','Eileen','Miss','Y',88556,15
+'Franklin','Judy','Ms.','Y',27813,15
+'Freeman','Rayford','Dr.','N',36115,15
+'Freeman','NULL','Mrs.','Y',175123,15
+'Fuqua','Harvey','Mr.','N',130609,16
+'Galindo','Karen','Dr.','N',100437,15
+'Galloway','Betty','Mrs.','Y',10097,15
+'Garcia','Kenny','Dr.','N',197122,16
+'Garrison','Robert','Sir','Y',40421,15
+'Garza','William','Sir','N',43273,15
+'German','Katie','Dr.','N',33536,16
+'Gibbons','Christopher','Sir','Y',237265,16
+'Gibbons','Vivian','Mrs.','Y',95173,16
+'Gibson','Agnes','Miss','N',228161,15
+'Gil','Yvette','Mrs.','Y',86699,15
+'Gill','Joshua','Sir','Y',230910,16
+'Glass','Jorge','Sir','N',137536,15
+'Gomez','Brandon','Sir','Y',160457,15
+'Gonzales','Cindy','Dr.','Y',96495,15
+'Gonzales','Edgar','Sir','N',153714,15
+'Gonzalez','Ruby','Mrs.','Y',228694,15
+'Gordon','Larry','Sir','Y',99782,15
+'Graham','Brian','Mr.','N',13629,15
+'Graham','Jerry','Sir','NULL',152656,15
+'Gray','Jeffery','Mr.','Y',154258,15
+'Grayson','Carolyn','Mrs.','N',69374,16
+'Grayson','Terry','Mr.','N',130480,16
+'Green','Cynthia','Mrs.','Y',141374,15
+'Green','Robert','Mr.','N',73965,15
+'Griffin','Martha','Dr.','N',82841,16
+'Grubbs','Florence','Mrs.','N',47930,15
+'Gulley','Daniel','Sir','Y',37484,16
+'Gutierrez','Ashley','Dr.','N',209948,16
+'Guzman','Mason','Mr.','Y',235019,16
+'Haley','Henry','Sir','Y',141619,15
+'Hall','Roger','Mr.','N',136216,15
+'Hamilton','Alex','Mrs.','N',23084,15
+'Hammonds','Richelle','Dr.','Y',135423,15
+'Hampton','NULL','NULL','N',11567,15
+'Hardy','Inez','Ms.','Y',104878,15
+'Harris','Charles','Dr.','Y',61618,15
+'Harris','Ezekiel','Sir','N',142043,15
+'Harrison','Jennifer','Ms.','Y',63097,15
+'Harrison','Michal','Mr.','Y',209687,15
+'Harrison','Qiana','Dr.','Y',10522,15
+'Hawkins','Clyde','Dr.','Y',236510,15
+'Hayes','Elizabeth','Mrs.','N',213826,15
+'Hayes','Johnnie','Sir','N',57732,15
+'Hayes','William','Sir','Y',223946,15
+'Haynes','Jennifer','Dr.','N',203136,15
+'Haywood','Judy','Mrs.','N',167146,15
+'Hernandez','Paul','Dr.','N',190691,15
+'Hernandez','Sandra','Dr.','Y',14252,16
+'Hewitt','Michelle','Dr.','N',155492,15
+'Hill','Barbara','Ms.','Y',88890,15
+'Hill','Julia','Dr.','N',191695,16
+'Horton','Michelle','Ms.','Y',112716,16
+'Howell','Katherine','Dr.','N',147571,16
+'Huffman','Beverly','Ms.','Y',166660,16
+'Hughes','Martin','Dr.','Y',178631,15
+'Ivey','John','Mr.','N',189224,15
+'Jackman','Ida','Dr.','Y',11753,15
+'Jackson','Kathy','Ms.','N',233945,15
+'Johnson','Lottie','Ms.','N',131031,15
+'Johnson','Olen','Mr.','N',12862,15
+'Johnson','Richard','Dr.','N',52256,15
+'Johnston','Walter','Mr.','Y',219689,15
+'Jones','Austin','Dr.','Y',57009,15
+'Jones','Eleanor','Ms.','N',27477,16
+'Jones','Jarvis','Sir','Y',74474,16
+'Jones','Rebecca','Dr.','Y',187035,16
+'Jones','Richard','Dr.','Y',232872,15
+'Joseph','Ramon','Mr.','N',7856,15
+'Joyce','NULL','Ms.','NULL',154184,16
+'Keaton','Lacey','Mrs.','N',133023,15
+'Keith','Bruce','Dr.','Y',24541,15
+'Kelly','Betty','Dr.','Y',151468,16
+'Kim','Bridget','Mrs.','Y',62861,15
+'King','Thomas','Sir','N',62796,15
+'Kinney','Angelica','Mrs.','N',192978,16
+'Kline','Donald','Mr.','Y',161957,15
+'Knight','Terence','Dr.','N',176372,16
+'Kraus','Roger','Dr.','Y',117604,16
+'Kruse','Jose','Dr.','N',114533,15
+'Lacy','Mina','Miss','N',227155,15
+'Ladner','Lisa','Dr.','Y',213223,15
+'Laird','Mark','Mr.','N',65882,15
+'Lavender','Robert','Sir','Y',3754,15
+'Lawson','Amanda','Ms.','Y',61212,16
+'Lawson','Kelly','Mr.','Y',64975,15
+'Le','Rodney','Dr.','Y',79356,16
+'Leigh','Abraham','Mr.','N',10283,15
+'Lewis','Annie','Ms.','Y',131418,15
+'Lewis','Bradley','Sir','N',182566,16
+'Lewis','Jerry','Mr.','Y',233447,15
+'Light','Robert','Mr.','Y',90021,15
+'Lin','Robert','Dr.','Y',236887,15
+'Lopez','Randee','Miss','N',9979,15
+'Lopez','Theresa','Miss','Y',169110,15
+'Lott','Ronald','Sir','N',79453,15
+'Love','Sean','Mr.','N',196652,15
+'Lowe','Elmer','Sir','N',133003,16
+'Lozano','Charlotte','Mrs.','Y',31661,15
+'Macias','Roger','Sir','N',82746,15
+'Mansfield','Paul','Dr.','Y',5723,15
+'Manuel','Doris','Mrs.','Y',148847,15
+'Marks','Duane','Dr.','Y',34432,15
+'Marsh','Gary','Sir','Y',6580,15
+'Martin','Donald','Dr.','N',238840,16
+'Martin','Steve','Mr.','N',72094,16
+'Mason','Richard','Sir','Y',27500,16
+'Mast','Catalina','Miss','Y',178574,15
+'Matos','Josephine','Ms.','N',128283,16
+'Maxey','Sharon','Ms.','N',74649,16
+'Mccallister','Andrew','Ms.','Y',122178,15
+'Mccloud','Nicholas','Mr.','Y',28001,15
+'Mcconnell','Scott','Mr.','Y',78305,15
+'Mccormick','Joanne','Ms.','N',236985,15
+'Mcdaniel','Brian','Sir','N',217760,15
+'Mcdonald','Araceli','Ms.','Y',121343,15
+'Mcewen','Barbara','Mrs.','N',179491,15
+'Mckenzie','Ana','Ms.','N',201062,16
+'Mcnamara','Joann','Mrs.','Y',229870,15
+'Mcswain','Virgil','Mr.','N',71937,16
+'Melton','Monique','Ms.','Y',177605,15
+'Miller','Brian','Dr.','N',203465,16
+'Miller','Dennis','Dr.','N',137781,15
+'Miller','Edward','Sir','N',64767,16
+'Miller','Georgia','Ms.','N',40740,16
+'Miller','Karrie','Dr.','N',170750,15
+'Miller','Nancy','Mrs.','N',82671,16
+'Montgomery','Julie','Miss','N',17471,15
+'Moore','Barbara','Dr.','N',69608,15
+'Moore','Jeffrey','Sir','Y',155931,15
+'Moore','Lorena','Mrs.','Y',47752,15
+'Moore','Peggy','Miss','Y',191466,15
+'Morgan','Betty','Dr.','N',90306,15
+'Morgan','Latricia','Mrs.','N',216137,15
+'Morris','John','Dr.','Y',214378,15
+'Morris','Martina','Miss','N',32596,15
+'Morris','Meghan','Mrs.','Y',127565,15
+'Moses','Amy','Dr.','Y',182188,15
+'Moss','Michael','NULL','NULL',137243,15
+'Moultrie','Martin','Dr.','N',215102,15
+'Mulligan','Mark','Sir','Y',184598,16
+'Mullins','Vicki','Dr.','Y',162762,15
+'Murphy','Michael','Sir','Y',210567,15
+'Neeley','Stephanie','Mrs.','N',216299,15
+'Nelson','Everette','Dr.','N',80821,15
+'Nesbitt','Andrew','Miss','N',185257,15
+'Norfleet','Ethel','Miss','N',14366,15
+'Olds','Stephen','Dr.','N',206275,16
+'Olson','David','Dr.','Y',87821,16
+'Oneill','Thomas','Mr.','N',188154,15
+'Oneill','Thomas','Mr.','N',93473,16
+'Osborn','Lena','Miss','Y',226949,16
+'Outlaw','Dennis','Sir','N',115215,16
+'Owens','Terry','Dr.','N',144931,15
+'Page','Elizabeth','Ms.','N',146879,15
+'Page','James','Dr.','Y',214208,16
+'Palacios','Amber','Dr.','Y',225723,15
+'Palmer','Debbie','Dr.','Y',121860,15
+'Park','Jerry','Dr.','N',73028,15
+'Peace','Carlos','Sir','N',203823,15
+'Perez','Harold','Mr.','Y',6311,15
+'Perez','Sheri','Ms.','N',157585,15
+'Perry','Sarah','Ms.','N',100885,15
+'Perry','Valeria','Mrs.','N',64861,15
+'Phelps','Marco','Dr.','Y',86494,16
+'Powell','Robert','Sir','Y',185862,15
+'Price','Florence','Ms.','Y',17220,15
+'Price','Gloria','Mrs.','Y',22568,15
+'Price','Marguerite','Mrs.','N',134265,16
+'Price','Marie','Ms.','N',88963,15
+'Price','Paul','Sir','N',103985,16
+'Price','Reginald','Sir','Y',123793,15
+'Price','NULL','Sir','N',55817,15
+'Pridgen','Hans','Dr.','N',207216,15
+'Ramirez','Lee','Sir','N',234584,15
+'Ramos','David','Dr.','Y',189463,16
+'Reece','Jimmy','Sir','N',166493,16
+'Reyes','Frank','NULL','NULL',84620,15
+'Reyna','Rod','Sir','N',46248,16
+'Reynolds','Oscar','Sir','Y',222749,15
+'Richardson','Alice','Ms.','N',43255,16
+'Riddle','John','Sir','Y',83916,15
+'Riddle','Marcelino','Dr.','N',60749,15
+'Rivera','Kate','Ms.','Y',204524,15
+'Robb','Laura','Miss','NULL',173667,15
+'Roberts','Candice','Dr.','Y',111855,16
+'Roberts','Dorothy','Ms.','N',183154,15
+'Roberts','Jennifer','Miss','Y',141296,15
+'Robinson','Gary','Mr.','Y',87081,15
+'Robinson','Sara','Mrs.','N',190406,15
+'Roldan','Dorothy','Mrs.','N',9370,15
+'Roman','Jimmie','Dr.','Y',221049,15
+'Ross','Rachael','Mrs.','N',106042,16
+'Ross','Robert','Mr.','Y',165295,15
+'Russ','Amber','Mrs.','N',225981,15
+'Russell','Larry','Dr.','Y',15209,16
+'Russell','Mark','Dr.','N',126453,15
+'Sacco','Brian','Sir','N',124398,16
+'Saddler','Robert','Mr.','Y',74571,15
+'Salinas','Kenneth','Dr.','Y',167446,15
+'Salter','Antonio','Miss','N',27497,16
+'Sanders','Dustin','Mr.','N',20319,15
+'Sandoval','Vincent','Mr.','N',140438,16
+'Sanford','Ronald','Sir','N',211947,15
+'Saunders','Mae','Miss','N',108927,15
+'Scott','Adam','Mrs.','N',13944,15
+'Scott','Ethel','Dr.','N',112707,15
+'Scott','Michael','Mr.','Y',104162,15
+'Self','Harry','Sir','Y',102208,16
+'Shaffer','Richard','Dr.','N',190775,16
+'Shuler','Joseph','Sir','N',57224,16
+'Sims','Fern','Dr.','Y',175233,15
+'Sims','John','Dr.','Y',113923,15
+'Smalls','Celeste','Ms.','Y',168837,15
+'Smith','Dalene','Ms.','Y',143125,16
+'Smith','Herbert','Dr.','Y',238646,15
+'Smith','John','Mr.','N',93525,16
+'Smith','Marion','Mr.','Y',65393,15
+'Smith','Ralph','Sir','N',87132,16
+'Smith','Terry','Dr.','Y',16945,15
+'Smith','Toni','Miss','N',50011,15
+'Smith','Wendell','Sir','N',85496,15
+'Soares','Sally','Ms.','Y',203554,16
+'Sparks','Michael','Mr.','Y',23696,15
+'Spears','Edith','Ms.','Y',223566,15
+'Spencer','Alfred','Mr.','Y',159308,15
+'Spencer','Teri','Mrs.','N',28551,16
+'Stafford','Jerry','Mr.','Y',230470,15
+'Stamper','Rebekah','Dr.','N',235329,15
+'Stephens','Donna','Ms.','N',151844,15
+'Stevens','Mattie','Ms.','N',202640,15
+'Stevens','Micheal','Dr.','Y',38659,16
+'Stewart','Amanda','Mrs.','Y',145235,15
+'Stewart','Gilbert','Mr.','Y',217862,15
+'Stewart','Kendra','Mrs.','Y',16423,15
+'Stewart','Pamela','Mrs.','Y',88160,16
+'Straub','Lowell','Dr.','Y',215956,16
+'Street','Lee','Mr.','N',171013,15
+'Sullivan','Amy','Dr.','N',166225,15
+'Swain','Laura','Ms.','Y',36774,16
+'Swisher','Brian','Mr.','Y',53341,15
+'Taylor','Arlene','Dr.','Y',71934,15
+'Taylor','Jacqueline','Mrs.','Y',89977,16
+'Taylor','Karen','Dr.','N',29777,15
+'Taylor','Robert','Dr.','N',37700,15
+'Thomas','Barbara','Dr.','N',172596,15
+'Thomas','Christel','Dr.','Y',34579,15
+'Thomas','Jeffrey','Dr.','Y',115846,15
+'Thomas','Nichole','Miss','N',200721,16
+'Thomas','Rebecca','Mrs.','N',80953,15
+'Thompson','Brenda','Dr.','N',171735,15
+'Thompson','Melissa','Dr.','N',162831,15
+'Tidwell','Phyllis','NULL','NULL',234037,16
+'Tilley','Jane','Mrs.','Y',45378,15
+'Tinsley','Charlie','Dr.','N',23881,16
+'Tolbert','Emily','Miss','Y',40132,15
+'Tompkins','Charlotte','NULL','NULL',197857,15
+'Torres','Jason','Dr.','N',224,16
+'Torres','Roberta','Ms.','N',29436,15
+'Townsend','Michelle','Mrs.','N',39872,15
+'Turner','Kerry','Dr.','Y',23710,16
+'Turner','Marjorie','Mrs.','N',65289,15
+'Valenzuela','Bryan','Sir','Y',221858,16
+'Vance','Josefina','Mrs.','N',147148,15
+'Vargas','Charles','Dr.','Y',79536,15
+'Vogel','Leroy','Sir','Y',29032,15
+'Walker','Jim','Sir','N',46947,15
+'Walker','Jose','Sir','Y',189670,16
+'Walker','Richard','Sir','NULL',226475,15
+'Wall','Russell','Sir','N',17231,16
+'Wallace','Joseph','Sir','N',27193,15
+'Walsh','Javier','Sir','Y',211987,16
+'Warren','Brian','Dr.','N',15877,15
+'Watson','Tina','Ms.','Y',120030,16
+'Webb','Gloria','Ms.','N',65663,15
+'Welch','Pauline','Mrs.','Y',47529,15
+'West','Carman','Ms.','NULL',237594,15
+'West','Rachel','Dr.','Y',138384,15
+'Wetzel','Bebe','Dr.','N',82518,15
+'White','Diane','Dr.','Y',82960,16
+'White','Johnny','Dr.','N',204026,16
+'Whitehead','Magan','Dr.','N',192159,16
+'Wiggins','Kermit','Sir','N',112643,15
+'Wilbur','Terry','Sir','N',200312,15
+'Williams','Archie','Mr.','N',113007,15
+'Williams','Karen','Ms.','Y',140802,15
+'Williams','Scott','NULL','NULL',136844,16
+'Willis','Amber','Ms.','N',53815,15
+'Willis','Michael','Sir','Y',207326,15
+'Wilson','Charles','Mr.','Y',60,15
+'Wood','Mark','Dr.','N',4376,15
+'Woody','Philip','Mr.','N',211173,16
+'Wright','Amanda','NULL','Y',105395,15
+'Yates','Kimberly','Ms.','Y',220849,15
+'NULL','Grace','NULL','NULL',147095,16
+'NULL','Joshua','Sir','N',108357,15
+'NULL','Judy','Dr.','NULL',234350,16
+'NULL','Roy','NULL','NULL',200033,15
+'NULL','NULL','Mr.','Y',214003,15
+'NULL','NULL','Ms.','NULL',54536,16
+'NULL','NULL','NULL','NULL',151297,15
+'NULL','NULL','NULL','NULL',148695,16
+'NULL','NULL','NULL','Y',16278,15
+'NULL','NULL','NULL','Y',146557,16
+'NULL','NULL','NULL','N',55640,15
+'NULL','NULL','NULL','N',58614,15
+'NULL','NULL','NULL','N',96514,15
+'NULL','NULL','NULL','N',220211,15
+---- TYPES
+STRING, STRING, STRING, STRING, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q37.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q37.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q37.test
new file mode 100644
index 0000000..b283ebc
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q37.test
@@ -0,0 +1,22 @@
+====
+---- QUERY: TPCDS-Q37
+-- start query 1 in stream 0 using template query37.tpl
+select  i_item_id
+       ,i_item_desc
+       ,i_current_price
+ from item, inventory, date_dim, catalog_sales
+ where i_current_price between 68 and 68 + 30
+ and inv_item_sk = i_item_sk
+ and d_date_sk=inv_date_sk
+ and cast(d_date as timestamp) between cast('2000-02-01' as timestamp) and (cast('2000-02-01' as timestamp) + interval 60 days)
+ and i_manufact_id in (677,940,694,808)
+ and inv_quantity_on_hand between 100 and 500
+ and cs_item_sk = i_item_sk
+ group by i_item_id,i_item_desc,i_current_price
+ order by i_item_id
+ limit 100;
+---- RESULTS
+'AAAAAAAAHFMBAAAA','Jobs crack at all public countries. Possible, traditional initiatives will make british problems. Fiscal years call extremely just growing pupils. Soon dutch voices',86.11
+---- TYPES
+STRING, STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-1.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-1.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-1.test
new file mode 100644
index 0000000..29d712b
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-1.test
@@ -0,0 +1,278 @@
+====
+---- QUERY: TPCDS-Q39.1
+-- RESULT MISMATCH FROM ORIGINAL
+-- ADD ROUND()s TO 4th, 5th, 9th, 10th COLUMNS, TAKE ACTUAL RESULTS AS EXPECTED.
+with inv as
+(select w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy
+       ,stdev,mean, case mean when 0 then null else stdev/mean end cov
+ from(select w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy
+            ,stddev_samp(inv_quantity_on_hand) stdev,avg(inv_quantity_on_hand) mean
+      from inventory
+          ,item
+          ,warehouse
+          ,date_dim
+      where inv_item_sk = i_item_sk
+        and inv_warehouse_sk = w_warehouse_sk
+        and inv_date_sk = d_date_sk
+        and d_year =2001
+      group by w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy) foo
+ where case mean when 0 then 0 else stdev/mean end > 1)
+select inv1.w_warehouse_sk,inv1.i_item_sk,inv1.d_moy
+        ,round(inv1.mean, 2), round(inv1.cov, 8)
+        ,inv2.w_warehouse_sk,inv2.i_item_sk,inv2.d_moy
+        ,round(inv2.mean, 2), round(inv2.cov, 8)
+from inv inv1,inv inv2
+where inv1.i_item_sk = inv2.i_item_sk
+  and inv1.w_warehouse_sk =  inv2.w_warehouse_sk
+  and inv1.d_moy=1
+  and inv2.d_moy=1+1
+order by inv1.w_warehouse_sk,inv1.i_item_sk,inv1.d_moy,inv1.mean,inv1.cov
+        ,inv2.d_moy,inv2.mean, inv2.cov
+;
+---- RESULTS
+1,265,1,324.75,1.24383918,1,265,2,329.00,1.01515813
+1,363,1,499.50,1.03194157,1,363,2,321.00,1.14117668
+1,679,1,373.75,1.09554981,1,679,2,417.50,1.04297099
+1,695,1,450.75,1.08358883,1,695,2,368.75,1.13564941
+1,789,1,357.25,1.03450938,1,789,2,410.00,1.02842219
+1,815,1,216.50,1.17022709,1,815,2,150.50,1.30572815
+1,827,1,271.75,1.10468901,1,827,2,424.75,1.16531986
+1,1041,1,382.50,1.28480840,1,1041,2,424.75,1.00057727
+1,1569,1,212.00,1.63021352,1,1569,2,239.25,1.26415133
+1,1623,1,338.25,1.12854833,1,1623,2,261.33,1.27178090
+1,2581,1,448.50,1.06042904,1,2581,2,476.25,1.03629847
+1,2705,1,246.25,1.01203084,1,2705,2,294.67,1.07421341
+1,3131,1,393.75,1.00376140,1,3131,2,480.50,1.06691450
+1,3291,1,374.50,1.19518983,1,3291,2,265.25,1.57297211
+1,3687,1,279.75,1.42609091,1,3687,2,157.25,1.45343409
+1,4955,1,495.25,1.03182962,1,4955,2,322.50,1.16938423
+1,5627,1,282.75,1.56570324,1,5627,2,297.50,1.20842868
+1,7017,1,175.50,1.04274542,1,7017,2,321.33,1.01833569
+1,7317,1,366.33,1.02546640,1,7317,2,378.00,1.21725132
+1,7569,1,430.50,1.08743969,1,7569,2,360.25,1.04700556
+1,7999,1,166.25,1.79242317,1,7999,2,375.33,1.00809226
+1,8319,1,306.75,1.16153780,1,8319,2,276.00,1.14209964
+1,8443,1,327.75,1.25671837,1,8443,2,332.50,1.00441673
+1,8583,1,319.50,1.02410889,1,8583,2,310.25,1.23588138
+1,8591,1,398.00,1.14781687,1,8591,2,355.75,1.00244721
+1,8611,1,300.50,1.51915452,1,8611,2,243.75,1.23421228
+1,9081,1,367.00,1.08789321,1,9081,2,435.00,1.03305308
+1,9357,1,351.67,1.19029226,1,9357,2,427.00,1.04385830
+1,9449,1,406.25,1.01831831,1,9449,2,175.00,1.05447798
+1,9713,1,242.50,1.10350444,1,9713,2,393.00,1.20847461
+1,9809,1,479.00,1.01896025,1,9809,2,317.50,1.06141421
+1,9993,1,417.75,1.00998327,1,9993,2,204.50,1.55287075
+1,10127,1,239.75,1.05617706,1,10127,2,359.25,1.18579804
+1,11159,1,407.25,1.07855072,1,11159,2,250.00,1.33475791
+1,11277,1,211.25,1.26158583,1,11277,2,330.75,1.08087680
+1,11937,1,344.50,1.08580403,1,11937,2,200.33,1.06385271
+1,12373,1,387.75,1.10149048,1,12373,2,306.00,1.07617444
+1,12471,1,365.25,1.06075702,1,12471,2,327.25,1.05475606
+1,12625,1,279.00,1.30165605,1,12625,2,443.25,1.06049588
+1,12751,1,280.75,1.10833058,1,12751,2,369.33,1.34165044
+1,12779,1,331.00,1.04169021,1,12779,2,359.00,1.02897806
+1,13077,1,367.67,1.34552390,1,13077,2,358.67,1.51324291
+1,13191,1,260.25,1.06356963,1,13191,2,405.00,1.01979992
+1,13561,1,335.25,1.26096170,1,13561,2,240.00,1.05136045
+1,13935,1,311.75,1.03992897,1,13935,2,275.00,1.03675272
+1,14687,1,358.00,1.43693569,1,14687,2,187.00,1.54936315
+1,14719,1,209.00,1.04115096,1,14719,2,489.00,1.37661688
+1,15345,1,148.50,1.52957840,1,15345,2,246.50,1.50879877
+1,15427,1,482.75,1.01242389,1,15427,2,333.25,1.27247701
+1,15647,1,201.67,1.28579319,1,15647,2,249.25,1.36481730
+1,16079,1,280.50,1.24447574,1,16079,2,361.25,1.07378057
+1,16223,1,245.67,1.06011490,1,16223,2,412.67,1.06712311
+1,16289,1,171.00,1.08726331,1,16289,2,316.50,1.36953067
+1,16451,1,300.00,1.25165076,1,16451,2,467.50,1.29623639
+1,17051,1,349.75,1.13464238,1,17051,2,319.75,1.03793549
+2,71,1,221.50,1.56397411,2,71,2,309.00,1.49170579
+2,833,1,363.33,1.04228138,2,833,2,158.75,1.21308917
+2,969,1,282.00,1.13743403,2,969,2,386.00,1.13710012
+2,1401,1,249.00,1.32062377,2,1401,2,296.67,1.28681219
+2,1681,1,337.75,1.05215660,2,1681,2,252.75,1.03179107
+2,1991,1,356.00,1.13367900,2,1991,2,273.25,1.33241964
+2,2031,1,407.50,1.02098768,2,2031,2,418.75,1.00533886
+2,2481,1,319.75,1.11602666,2,2481,2,378.33,1.05971853
+2,2725,1,349.75,1.11487049,2,2725,2,265.67,1.54629721
+2,3073,1,385.00,1.10208458,2,3073,2,231.75,1.08849891
+2,3769,1,334.00,1.19542966,2,3769,2,335.00,1.04946496
+2,4085,1,327.75,1.10054139,2,4085,2,281.75,1.01876081
+2,4995,1,282.25,1.26041833,2,4995,2,248.00,1.25482290
+2,5099,1,418.67,1.06809009,2,5099,2,428.67,1.03523728
+2,5211,1,157.00,1.06955174,2,5211,2,270.25,1.19402008
+2,5769,1,341.25,1.27231327,2,5769,2,267.00,1.18157918
+2,6103,1,194.33,1.51606702,2,6103,2,158.50,1.27436986
+2,6243,1,168.50,1.07321081,2,6243,2,386.75,1.08329026
+2,6489,1,268.00,1.69563724,2,6489,2,389.00,1.41057805
+2,6585,1,183.75,1.11519376,2,6585,2,353.75,1.09397071
+2,6767,1,341.00,1.09316398,2,6767,2,235.00,1.13995439
+2,7411,1,460.00,1.06282933,2,7411,2,297.50,1.00057654
+2,8489,1,126.75,1.34164630,2,8489,2,398.25,1.00411248
+2,8633,1,218.50,1.46451897,2,8633,2,230.25,1.31169630
+2,8807,1,417.25,1.02581129,2,8807,2,356.25,1.10797306
+2,8883,1,249.25,1.11122718,2,8883,2,189.25,1.01007549
+2,9253,1,413.33,1.16066599,2,9253,2,465.00,1.02424458
+2,9467,1,108.25,1.09112239,2,9467,2,107.00,1.03092204
+2,9561,1,190.50,1.03030325,2,9561,2,271.00,1.20583495
+2,9575,1,452.50,1.04944922,2,9575,2,155.75,1.15340567
+2,9903,1,322.75,1.07610801,2,9903,2,387.33,1.26124068
+2,10535,1,324.33,1.05711040,2,10535,2,310.25,1.00406350
+2,10955,1,356.00,1.15828133,2,10955,2,339.00,1.07025321
+2,12089,1,212.00,1.08275011,2,12089,2,173.33,1.07398122
+2,12633,1,402.75,1.00713621,2,12633,2,367.00,1.12705356
+2,12765,1,308.00,1.11884769,2,12765,2,347.00,1.15717446
+2,13077,1,277.00,1.23233608,2,13077,2,223.50,1.13940034
+2,13687,1,361.25,1.01073417,2,13687,2,468.25,1.00984292
+2,14025,1,371.75,1.01501361,2,14025,2,141.00,1.25431703
+2,14117,1,298.50,1.02512380,2,14117,2,220.25,1.41526845
+2,14347,1,366.00,1.03278929,2,14347,2,369.75,1.01857399
+2,14697,1,397.75,1.00812054,2,14697,2,328.75,1.16084956
+2,14987,1,146.75,1.02900406,2,14987,2,436.50,1.04476815
+2,15321,1,527.00,1.21026626,2,15321,2,298.75,1.13090984
+2,15347,1,243.00,1.22262398,2,15347,2,310.75,1.20365849
+2,15533,1,223.00,1.09651113,2,15533,2,330.00,1.49674885
+2,15839,1,353.00,1.50636844,2,15839,2,255.50,1.23623932
+2,16107,1,376.00,1.01332463,2,16107,2,364.75,1.06886780
+2,16749,1,200.00,1.09447095,2,16749,2,438.25,1.03606466
+2,17329,1,321.33,1.30932795,2,17329,2,490.25,1.07565806
+2,17417,1,321.75,1.13067648,2,17417,2,534.00,1.00107252
+3,1049,1,252.50,1.10906411,3,1049,2,457.25,1.02398412
+3,1415,1,247.50,1.13216178,3,1415,2,369.75,1.09546796
+3,2199,1,185.75,1.20281256,3,2199,2,300.75,1.07678451
+3,2403,1,270.75,1.32587057,3,2403,2,384.00,1.09039872
+3,2541,1,364.75,1.07921353,3,2541,2,550.50,1.05455889
+3,2727,1,303.75,1.03016470,3,2727,2,219.25,1.38220918
+3,3207,1,383.75,1.08545880,3,3207,2,258.25,1.21133925
+3,3373,1,404.50,1.01433741,3,3373,2,171.25,1.28566540
+3,3969,1,234.25,1.04228318,3,3969,2,217.25,1.42154907
+3,4407,1,438.50,1.06566635,3,4407,2,330.75,1.02444040
+3,6051,1,289.75,1.26388809,3,6051,2,439.00,1.10457692
+3,6521,1,381.00,1.00156829,3,6521,2,437.75,1.03651493
+3,6691,1,377.00,1.10907373,3,6691,2,380.50,1.05813013
+3,6757,1,282.50,1.08950094,3,6757,2,345.25,1.22638287
+3,6915,1,420.67,1.04683456,3,6915,2,292.50,1.25061711
+3,7207,1,329.67,1.59544822,3,7207,2,414.50,1.01791971
+3,7889,1,318.50,1.28790300,3,7889,2,291.33,1.00429253
+3,8559,1,356.25,1.00651935,3,8559,2,393.50,1.01288317
+3,8829,1,364.25,1.07928523,3,8829,2,350.25,1.11339122
+3,9555,1,377.00,1.13084693,3,9555,2,444.75,1.01715882
+3,9623,1,331.33,1.15512893,3,9623,2,284.67,1.03037244
+3,9813,1,343.75,1.05169538,3,9813,2,384.67,1.08150059
+3,9881,1,351.50,1.17888206,3,9881,2,287.75,1.09093861
+3,10035,1,378.25,1.02163995,3,10035,2,364.25,1.15679227
+3,10509,1,420.25,1.05486269,3,10509,2,368.25,1.18206334
+3,10547,1,182.33,1.53256415,3,10547,2,320.25,1.30244184
+3,10743,1,233.25,1.27930224,3,10743,2,110.25,1.10720463
+3,11477,1,264.25,1.09535300,3,11477,2,278.50,1.03279098
+3,11959,1,358.00,1.06848353,3,11959,2,268.50,1.00898568
+3,12043,1,169.25,1.03309381,3,12043,2,377.25,1.01619625
+3,12157,1,326.33,1.00223187,3,12157,2,396.33,1.02878181
+3,12433,1,199.75,1.30725892,3,12433,2,478.50,1.01647421
+3,12867,1,278.25,1.64038001,3,12867,2,350.75,1.20069333
+3,13499,1,281.00,1.14319655,3,13499,2,446.75,1.03315203
+3,14589,1,266.50,1.11432439,3,14589,2,334.33,1.14531468
+3,15207,1,300.25,1.48446113,3,15207,2,564.00,1.00048087
+3,15395,1,258.25,1.05138769,3,15395,2,307.50,1.13822532
+3,15973,1,477.50,1.20393259,3,15973,2,286.00,1.28722942
+3,16233,1,260.67,1.12042355,3,16233,2,210.50,1.17881433
+3,16267,1,456.00,1.00422635,3,16267,2,364.33,1.48188554
+3,16605,1,394.25,1.11374136,3,16605,2,296.25,1.28858927
+3,16949,1,155.75,1.11861773,3,16949,2,229.50,1.02894692
+3,17319,1,364.75,1.27093644,3,17319,2,359.25,1.15787514
+4,947,1,247.50,1.69331818,4,947,2,203.33,1.20543315
+4,1895,1,354.75,1.23973415,4,1895,2,383.75,1.08930770
+4,3429,1,358.50,1.06655934,4,3429,2,346.00,1.25194893
+4,4559,1,215.00,1.24323299,4,4559,2,360.75,1.03335459
+4,4773,1,328.25,1.05098366,4,4773,2,330.50,1.00625806
+4,4885,1,151.00,1.32055704,4,4885,2,377.25,1.04890352
+4,4915,1,289.25,1.08639295,4,4915,2,368.00,1.06965855
+4,5043,1,476.00,1.01559643,4,5043,2,244.25,1.35628937
+4,5095,1,334.00,1.22588613,4,5095,2,390.25,1.06217881
+4,5193,1,263.33,1.25017095,4,5193,2,323.00,1.09796162
+4,5975,1,434.00,1.02336145,4,5975,2,359.75,1.19793569
+4,6251,1,285.00,1.12153803,4,6251,2,335.50,1.16021925
+4,6389,1,280.75,1.20492361,4,6389,2,259.33,1.48165506
+4,6487,1,452.75,1.07106266,4,6487,2,350.50,1.17164757
+4,6619,1,430.00,1.00072626,4,6619,2,226.25,1.54855745
+4,7191,1,260.75,1.00126668,4,7191,2,195.25,1.53726755
+4,7427,1,239.50,1.41835671,4,7427,2,373.25,1.04297920
+4,8453,1,314.75,1.02597149,4,8453,2,376.75,1.00990239
+4,8781,1,518.50,1.10055000,4,8781,2,521.00,1.12377047
+4,9571,1,314.00,1.21685782,4,9571,2,309.00,1.08921674
+4,9587,1,248.00,1.49818873,4,9587,2,248.00,1.00649878
+4,10333,1,321.00,1.14861071,4,10333,2,317.00,1.04692263
+4,10969,1,186.67,1.10442062,4,10969,2,307.00,1.10947641
+4,10993,1,446.00,1.00923763,4,10993,2,206.67,1.23553335
+4,11571,1,342.50,1.14262840,4,11571,2,304.67,1.03199432
+4,11979,1,225.33,1.46706562,4,11979,2,438.25,1.13899270
+4,13409,1,312.33,1.34275025,4,13409,2,336.25,1.10819783
+4,13443,1,417.75,1.02177961,4,13443,2,334.00,1.30764309
+4,13567,1,271.50,1.00876216,4,13567,2,370.00,1.45576861
+4,13683,1,318.75,1.01498277,4,13683,2,363.50,1.07811546
+4,14143,1,367.00,1.04417994,4,14143,2,290.00,1.19330608
+4,14401,1,342.75,1.18365590,4,14401,2,344.25,1.20670831
+4,14693,1,447.25,1.05166749,4,14693,2,498.00,1.35173826
+4,14877,1,414.33,1.17077239,4,14877,2,282.50,1.58305829
+4,15063,1,378.25,1.11281926,4,15063,2,444.00,1.06327777
+4,15275,1,335.50,1.15363829,4,15275,2,292.67,1.29783137
+4,15509,1,296.33,1.02467405,4,15509,2,317.67,1.44703646
+4,15969,1,423.00,1.04728755,4,15969,2,342.50,1.25117694
+4,16627,1,485.50,1.01514609,4,16627,2,161.25,1.35332527
+4,16641,1,521.50,1.10506621,4,16641,2,221.50,1.03085905
+4,16751,1,549.50,1.08221438,4,16751,2,223.33,1.33778976
+5,75,1,333.00,1.26563188,5,75,2,226.00,1.03580785
+5,125,1,441.67,1.09597146,5,125,2,331.50,1.00811483
+5,431,1,159.00,1.10617948,5,431,2,304.00,1.12242254
+5,671,1,403.33,1.00560141,5,671,2,281.33,1.33668352
+5,745,1,466.75,1.01090655,5,745,2,351.00,1.11472129
+5,1701,1,374.00,1.08644582,5,1701,2,385.00,1.33063087
+5,2521,1,360.75,1.09924823,5,2521,2,265.50,1.17240777
+5,2855,1,406.00,1.40376371,5,2855,2,183.25,1.06622499
+5,3137,1,271.25,1.57545322,5,3137,2,380.00,1.08342034
+5,3279,1,299.50,1.05366972,5,3279,2,276.75,1.44588781
+5,3467,1,294.00,1.14772946,5,3467,2,349.67,1.16742237
+5,4463,1,338.00,1.06993201,5,4463,2,273.50,1.23697973
+5,4719,1,340.50,1.05718578,5,4719,2,423.67,1.02550002
+5,4739,1,281.33,1.02429715,5,4739,2,383.50,1.03343374
+5,4839,1,310.25,1.03590344,5,4839,2,232.00,1.29541938
+5,4979,1,359.50,1.10464081,5,4979,2,323.75,1.17042510
+5,5401,1,219.25,1.27738702,5,5401,2,203.00,1.09156752
+5,5635,1,370.00,1.02270546,5,5635,2,351.67,1.37776645
+5,5797,1,403.00,1.02348823,5,5797,2,457.50,1.00370401
+5,5901,1,360.25,1.12596313,5,5901,2,376.00,1.00950384
+5,6129,1,419.25,1.01691802,5,6129,2,359.50,1.04788894
+5,6213,1,351.67,1.20562125,5,6213,2,361.50,1.11684081
+5,6479,1,301.33,1.27800104,5,6479,2,395.75,1.17797435
+5,7333,1,227.00,1.46113460,5,7333,2,243.75,1.17891625
+5,7923,1,358.00,1.10467709,5,7923,2,342.33,1.16077811
+5,8737,1,217.25,1.07421364,5,8737,2,403.50,1.04420805
+5,8945,1,344.25,1.14148377,5,8945,2,298.00,1.00083670
+5,8993,1,399.00,1.18737229,5,8993,2,371.75,1.13163538
+5,10667,1,288.00,1.34536402,5,10667,2,289.50,1.09522380
+5,10771,1,394.75,1.04806801,5,10771,2,323.25,1.23773488
+5,10949,1,383.00,1.11256774,5,10949,2,378.25,1.12554061
+5,11107,1,446.50,1.26534898,5,11107,2,258.50,1.55361256
+5,11795,1,395.50,1.01044732,5,11795,2,430.75,1.13106259
+5,12017,1,347.75,1.16823794,5,12017,2,308.00,1.15932280
+5,12027,1,456.25,1.02629401,5,12027,2,390.33,1.11427701
+5,13583,1,430.33,1.04238393,5,13583,2,256.25,1.54103483
+5,13651,1,272.33,1.16952312,5,13651,2,330.50,1.19018735
+5,13783,1,419.50,1.05846997,5,13783,2,339.50,1.06809095
+5,13859,1,318.00,1.14222390,5,13859,2,380.25,1.05644962
+5,14537,1,206.00,1.22834400,5,14537,2,357.75,1.03879827
+5,15309,1,276.33,1.29875906,5,15309,2,409.00,1.01024062
+5,15883,1,385.33,1.01247775,5,15883,2,173.25,1.35622382
+5,15935,1,293.50,1.01876594,5,15935,2,271.25,1.40009475
+5,15949,1,241.50,1.14866599,5,15949,2,235.00,1.40728879
+5,16037,1,327.25,1.13076173,5,16037,2,412.67,1.18302002
+5,16291,1,380.50,1.05495950,5,16291,2,411.67,1.03492140
+5,16459,1,370.00,1.27564991,5,16459,2,265.75,1.29881917
+5,16901,1,305.25,1.10430105,5,16901,2,186.50,1.02312693
+5,17199,1,376.50,1.10389698,5,17199,2,374.00,1.08730312
+5,17387,1,298.33,1.38487417,5,17387,2,327.67,1.36708758
+5,17717,1,283.75,1.15571566,5,17717,2,235.25,1.14162394
+5,17927,1,217.50,1.35499643,5,17927,2,250.75,1.07092131
+5,17943,1,209.75,1.37170713,5,17943,2,428.00,1.10907993
+---- TYPES
+INT, BIGINT, INT, DOUBLE, DOUBLE, INT, BIGINT, INT, DOUBLE, DOUBLE
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-2.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-2.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-2.test
new file mode 100644
index 0000000..503d89d
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q39-2.test
@@ -0,0 +1,50 @@
+====
+---- QUERY: TPCDS-Q39.2
+-- RESULT MISMATCH FROM ORIGINAL
+-- ADDED ROUND()s TO 4th, 5th, 9th, 10th COLUMNS, TAKE ACTUAL RESULTS AS EXPECTED.
+with inv as
+(select w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy
+       ,stdev,mean, case mean when 0 then null else stdev/mean end cov
+ from(select w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy
+            ,stddev_samp(inv_quantity_on_hand) stdev,avg(inv_quantity_on_hand) mean
+      from inventory
+          ,item
+          ,warehouse
+          ,date_dim
+      where inv_item_sk = i_item_sk
+        and inv_warehouse_sk = w_warehouse_sk
+        and inv_date_sk = d_date_sk
+        and d_year =2001
+      group by w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy) foo
+ where case mean when 0 then 0 else stdev/mean end > 1)
+select inv1.w_warehouse_sk,inv1.i_item_sk,inv1.d_moy
+        ,round(inv1.mean, 2), round(inv1.cov, 8)
+        ,inv2.w_warehouse_sk,inv2.i_item_sk,inv2.d_moy
+        ,round(inv2.mean, 2), round(inv2.cov, 8)
+from inv inv1,inv inv2
+where inv1.i_item_sk = inv2.i_item_sk
+  and inv1.w_warehouse_sk =  inv2.w_warehouse_sk
+  and inv1.d_moy=1
+  and inv2.d_moy=1+1
+  and inv1.cov > 1.5
+order by inv1.w_warehouse_sk,inv1.i_item_sk,inv1.d_moy,inv1.mean,inv1.cov
+        ,inv2.d_moy,inv2.mean, inv2.cov
+;
+---- RESULTS
+1,1569,1,212.00,1.63021352,1,1569,2,239.25,1.26415133
+1,5627,1,282.75,1.56570324,1,5627,2,297.50,1.20842868
+1,7999,1,166.25,1.79242317,1,7999,2,375.33,1.00809226
+1,8611,1,300.50,1.51915452,1,8611,2,243.75,1.23421228
+1,15345,1,148.50,1.52957840,1,15345,2,246.50,1.50879877
+2,71,1,221.50,1.56397411,2,71,2,309.00,1.49170579
+2,6103,1,194.33,1.51606702,2,6103,2,158.50,1.27436986
+2,6489,1,268.00,1.69563724,2,6489,2,389.00,1.41057805
+2,15839,1,353.00,1.50636844,2,15839,2,255.50,1.23623932
+3,7207,1,329.67,1.59544822,3,7207,2,414.50,1.01791971
+3,10547,1,182.33,1.53256415,3,10547,2,320.25,1.30244184
+3,12867,1,278.25,1.64038001,3,12867,2,350.75,1.20069333
+4,947,1,247.50,1.69331818,4,947,2,203.33,1.20543315
+5,3137,1,271.25,1.57545322,5,3137,2,380.00,1.08342034
+---- TYPES
+INT, BIGINT, INT, DOUBLE, DOUBLE, INT, BIGINT, INT, DOUBLE, DOUBLE
+====
\ No newline at end of file


[08/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q65.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q65.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q65.test
new file mode 100644
index 0000000..0fecab5
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q65.test
@@ -0,0 +1,160 @@
+====
+---- QUERY: TPCDS-Q65
+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 1176 and 1176 + 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 1176 and 1176 + 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;
+---- RESULTS
+'able','Commercial, popular processes give later now wooden facts. Black, outer purposes examine national, precise heels. Invisible times s',36.06,5.25,1.68,'amalgedu pack #1'
+'able','Conventional, responsible products discuss delicately then actual findings. Extremel',36.42,3.67,2.82,'namelessnameless #5'
+'able','Difficulties wou',25.25,6.61,2.31,'importobrand #7'
+'able','Efforts might come ever. Even agricultural operations live plus a members. Arts may ring too carefully numerous windows. In particular new ch',22.13,1.49,0.95,'edu packamalg #2'
+'able','Even chief games can present privately extra whole steps. Over old reasons ought to ',21.58,4.30,1.41,'namelesscorp #3'
+'able','Initial, important ministers used to rely. Young, difficult glasses cannot say european, religious organisations; worried minutes protect action',11.03,4.95,3.06,'scholarnameless #7'
+'able','Once olympic sorts could control governments. Final sections mig',21.77,7.76,4.42,'edu packscholar #1'
+'able','Small others will provide probably complete countries. Only effective pensions violate on board maybe left animals. Old r',26.38,2.55,1.60,'maxiunivamalg #2'
+'able','Somehow revolutionary sh',31.09,7.10,3.05,'amalgunivamalg #3'
+'able','Stupid years should not modify loose. Special, sure developments may',7.84,5.81,4.47,'maxicorp #5'
+'able','Swiss, capable lovers handle at least present details. Over here uncomfortable stations take by a lips. Private organisations can supply in a examinatio',29.73,8.15,3.99,'amalgedu pack #2'
+'able','Toys must not meet again goods. Comfortable, major members last days. Popular, double occupations may compensate researchers. Conditions ',25.02,3.35,2.41,'edu packscholar #1'
+'able','Wrong, good values could not work in a minds. Normal structures correct here later massive boo',21.49,4.17,1.45,'importoedu pack #1'
+'ation','Animals conduct primary, sorry tickets. Bare, labour matters used to buy between a patterns. Light authorities explain rules; future eggs can ',1.57,0.86,0.47,'edu packamalg #1'
+'ation','Average services could try unfortunately plants; extensive procedures must',34.63,4.94,3.26,'scholarunivamalg #2'
+'ation','Direct ways topple inches. Complex years can take also across a words. Stupid, global implications would provide sure things. Russians take much for the spots. Indoors local men w',16.06,7.18,4.88,'exportiedu pack #1'
+'ation','Disciplinary signs could prepare particular, other councils. Live criteria ought to stand extra, basic bones. Local leaders tell now tasks. Most old recordings use ago in the governors; par',36.65,8.96,4.39,'amalgscholar #2'
+'ation','Fair families ought to leave relationships. Separate, firm services would assist delicious, serious laws; a',15.31,7.51,2.70,'importoamalg #1'
+'ation','Gradually general affairs come at a gardens. Members may liv',18.43,28.90,11.27,'edu packamalgamalg #15'
+'ation','Here equivalent expectations should stop since to th',18.23,7.88,5.04,'scholarunivamalg #4'
+'ation','Laws propose policies. Commercial, foreign restaurants could take. District',29.49,84.97,32.28,'amalgnameless #5'
+'ation','New r',36.57,2.10,1.19,'importoimporto #2'
+'ation','Officials calculate in the images. Military, olympic services throw apparently old photographs; exotic, wonderful children benefit',25.41,9.36,3.55,'maxibrand #9'
+'ation','Open blue farmers reach useful, old arrangements. American, short years reach now tender, heavy neighbours. Now top boundaries would not enable emotions. Effectively specific ',28.75,2.34,2.01,'exportinameless #7'
+'ation','Or',23.64,3.00,1.86,'amalgedu pack #1'
+'ation','Pensions used to meet in the words. Very african obligati',27.27,0.54,0.27,'exportiexporti #1'
+'ation','Public, limited pup',34.60,9.38,3.93,'amalgmaxi #9'
+'ation','Small kinds would recognize notably violent, labour years. Electronic days would not',30.96,0.90,0.34,'namelesscorp #3'
+'ation','Social, other resources may know reasonable, distant weeks. New, unexpected rates mean. White, electric generations carry together other t',36.10,3.91,2.54,'maxinameless #10'
+'ation','Trustees grow well thereby national attitudes. Social, excellent bacteria contain permanent gaps. Only dynamic uses ought to halt very long, bright men; japanese, distin',3.96,3.31,2.87,'exporticorp #1'
+'bar','Categories shall',18.32,8.98,7.81,'scholarmaxi #9'
+'bar','Clear, top associations can activate all national factors. Items could think sure skills. Fine, thin classes must not help simply only statutory',28.26,6.27,4.57,'brandbrand #10'
+'bar','Extended, local books calm now likely companies. Sometime rich instances improve spanish countries. Crucial flames take further. Rapidly big proposals may not photograph in the opt',12.64,0.55,0.19,'namelessbrand #5'
+'bar','Hours must carry virtually new seats. Polish, happy affairs might get. Originally warm libraries operate real patients. Then soft scie',35.96,28.04,25.23,'edu packedu pack #1'
+'bar','Individual flowers used to give thanks. Particular doubts refer a bit for a directions. Police could',8.31,1.74,1.21,'exportiimporto #2'
+'bar','Low sorts understand. Vegetables must not carry. There legal rates shake so democratic styles. Convenient, single committees might forget',21.35,7.16,5.79,'amalgedu pack #1'
+'bar','Minutes achieve however for a allies. Areas pay apparently alive officers',32.01,3.28,1.34,'amalgedu pack #2'
+'bar','Moments incur pa',32.92,6.14,1.84,'exportiimporto #1'
+'bar','Of course commercial uses look rapidly historical societies. Writers make just high',31.29,3.82,1.33,'exportischolar #1'
+'bar','Old, valuable',23.07,0.23,0.07,'namelessnameless #9'
+'bar','Other things get now. Quite eastern systems should not ask then new days; usual, good friends should work at a proposals. Highly pr',24.90,0.27,0.09,'edu packnameless #1'
+'bar','Pupils change. Frequently nice rates shall not decide future yards. Over upper girls ought to lower in a developments. Formal',36.24,2.19,1.16,'edu packexporti #1'
+'bar','Really foreign workers overcome asleep, young decades. Drugs may tell children; labour, real wages ev',13.88,4.24,2.96,'scholarmaxi #9'
+'bar','Round managers take processes. Primary, particular courses used to hold sacred cases. C',7.23,4.13,2.84,'edu packscholar #1'
+'bar','Simple guests leave british, skilled terms. Kind, little standards must suspect. Combinations may think like, distinguished inches. Artists beat awfully. Ide',27.08,1.68,0.53,'edu packedu pack #2'
+'bar','So damp tests imagine resources. Innocently prime developments shall work small pl',30.83,0.61,0.33,'scholarnameless #6'
+'bar','So much as close reforms would hide at first measures; alone, important contracts lose linguisti',20.14,2.37,1.37,'exportinameless #1'
+'bar','Strange do',15.41,9.47,4.82,'exportiexporti #1'
+'bar','Wide, technical paren',17.06,6.64,3.98,'exportiexporti #1'
+'bar','Wonderful servants must not resolve once physical lives. Later significant an',27.44,0.33,0.22,'brandbrand #7'
+'bar','Years need much. Good interests use too different, junior services. Young items shall not find. Disastrous hands release fast new, alternative applications. American police make in ',33.95,7.68,4.45,'exportiamalg #1'
+'eing','Birds stay foreign, chronic parts. So young cases shall not conclude buildings. About important months may not look; degrees catch just; other societies may not ge',18.42,4.67,2.33,'amalgscholar #2'
+'eing','Central, other hands will agree especially crucial differences',16.71,4.49,3.00,'exportischolar #2'
+'eing','Even single waters make for instance particular hours. Mental rights may cross as just contemporary m',30.54,0.97,0.82,'importounivamalg #5'
+'eing','Flowers cultivate still so-called, available',10.50,3.84,1.22,'edu packmaxi #8'
+'eing','Good, helpful men close. Please difficult lakes should waste very conservative, labour ',11.84,3.13,0.97,'edu packbrand #8'
+'eing','However modern companies ought to make industria',23.09,9.56,3.25,'brandcorp #1'
+'eing','Important, frequent councils explore general, local ideas. Representatives last more. Foreign, sensible pupils pay. Social, american reservations used to get so much',2.86,0.59,0.25,'amalgbrand #2'
+'eing','Increased, special pound',24.05,2.52,1.20,'importoedu pack #2'
+'eing','Laws go shortly british, clear carers. Inner, available aspirations ought to abolish most armed strings. Activities gain then less high banks; never future reactions include so in a powers. Popular, ',30.53,9.69,7.46,'edu packmaxi #8'
+'eing','Main pupils could expel followers. Sometimes severe horses should keep largely earnings. Years put recently permanent inst',19.15,9.17,6.05,'maxinameless #2'
+'eing','More different attempts replace. Changes look shoes. E',25.75,2.47,1.40,'amalgexporti #1'
+'eing','Nations save further new complaints. Perfect things murder different odds. General firms will like also; fatal grounds lie however working sorts. However internal police should design',23.32,8.09,3.31,'amalgexporti #1'
+'eing','Ordinary orders can inspect. New int',34.66,9.58,3.92,'exportiedu pack #2'
+'eing','Other, eager christians live very others. Young, financ',8.49,8.22,5.01,'edu packscholar #1'
+'eing','Parliamentary guests could not convey real chiefs; integrated, full responsibilities take later then important categories. T',28.83,0.41,0.13,'edu packamalg #1'
+'eing','Physical polls melt as eyes. Clear, special sources might invent at once. As immediate things will not',24.71,3.77,1.80,'edu packamalg #2'
+'eing','Specifically honest pp. would ensure wide for a miles. Different families put then western, certain children. Only exciting commitments say f',10.89,0.51,0.26,'edu packunivamalg #11'
+'eing','Students help factors. Seats take matters; likely sources make ridiculous children. Police might say then just natural characters. A',9.32,1.15,0.62,'exportischolar #1'
+'eing','Tired days used to admit for a customs',29.84,5.94,4.93,'importoamalg #1'
+'eing','Wrong, high terms make relatively holidays. Major, relevant theories consider difficult, new markets. Sure, real subjec',27.35,3.29,1.51,'amalgscholar #2'
+'ese','As sure women fall proposals. Entire, loc',35.61,1.91,1.14,'edu packexporti #1'
+'ese','Backwards royal assets get plans; countries used to swing then. Most strange',28.67,1.84,0.82,'exportiedu pack #1'
+'ese','Civil firms say; prospective technologies used to take there. Easy, high assets enter so practical, structural buildings. Studies woul',26.23,9.09,3.45,'maxiunivamalg #6'
+'ese','Comfortable experiments hit defensive implications. Bad resources would not heal central, national twins. Kind, modern thoughts shall ensure home short',34.17,92.12,71.85,'importoedu pack #1'
+'ese','Companies find financially substances. National, enormous conclusions might object here firms; exactly different jobs should complete; practices encourage really months. Necessary, previous recor',24.08,5.63,3.71,'importoamalgamalg #5'
+'ese','Democrats follow mostly available,',25.69,0.59,0.47,'exportibrand #2'
+'ese','Excellent, real advantages would exist posts. Activities shall continue in a feet. Effects think only confidently local c',25.63,2.41,1.90,'amalgunivamalg #11'
+'ese','Expensive reasons shall not carry hardly ri',19.68,4.59,1.46,'scholarbrand #1'
+'ese','Fresh, industrial vegetables could proceed quite i',29.70,7.16,2.57,'scholarunivamalg #8'
+'ese','Full rules may persuade pregnant cars. Earnings publish worried symptoms. Ready',36.87,5.88,4.99,'amalgimporto #1'
+'ese','Horses last results. There thorough parents sail everywhere into a gua',23.67,3.45,2.55,'scholarnameless #5'
+'ese','Large businessmen might give successful poles; children believe however. Hard, fine companies must not dismiss likely advantages. Now great nations shall not walk to',2.78,3.48,1.07,'brandcorp #6'
+'ese','Modern areas include indeed political children. White, widespread services attend also. Pink boundaries explain early because of a letters. Often assistant men make never pale windows. Then inte',30.08,6.20,4.21,'exportiedu pack #2'
+'ese','Nowhere sure shops ought to constitute by a conditions. Apparent hands shall not fit slightly general men. Oth',26.20,3.59,3.08,'amalgscholar #1'
+'ese','Political, french streets used to introduce just labour ',21.21,1.59,1.38,'edu packunivamalg #9'
+'ese','Publications could not judge; double deputies',35.52,6.30,2.39,'edu packamalg #1'
+'ese','Reasonably direct interests turn. Certainly existing ',12.36,1.86,0.89,'importoscholar #1'
+'ese','Temperatures reflect quite',34.31,0.90,0.45,'scholarnameless #3'
+'ese','Tests will maintain only. Beautifully local banks make still; particular votes protect during a eyes. Contracts must understand primarily. Difficult countries cast in a ',19.06,4.13,2.68,'edu packimporto #1'
+'ese','Totally pure styles would seek charges; values say. Normal, big activi',30.40,1.07,0.84,'maxiunivamalg #5'
+'ese','Years want as a whole. Public eyes shall win against a books. Special minutes intensify stones. Alone, right fingers spring men. Ho',32.52,1.73,0.77,'exportibrand #5'
+'ese','NULL',29.58,NULL,NULL,'exportischolar #1'
+'ought','Active abilities depend smoothly by a ',30.54,2.40,1.44,'importoexporti #1'
+'ought','Additional, terrible characters shall examine. Ago lexical conditions get into a weeks. Barely trying results perform still hot men. Great kinds end also committees. Police should live only on the ',18.54,4.46,1.33,'corpmaxi #11'
+'ought','At last political managers would get new, historic workers. Requirements seem loose shadows; activities carry favorite mothers; likely issues stand aside environmental, current funds; below',6.48,1.08,0.43,'exportiexporti #1'
+'ought','Authorities used to leave exactly other co',15.13,2.14,0.72,'exporticorp #5'
+'ought','Costs receive. British teachers evolve mentally only, new words. Good tickets give ',34.78,0.12,0.06,'edu packexporti #1'
+'ought','European, happy homes shall not share. Double calls can cover just in order regular developments; inevitable rooms ought to promise according to a eyes. Normal attempts grow only, complex goods',12.84,8.03,4.57,'univnameless #7'
+'ought','Full-time clothes discharge glad, concerned details. Customs must survive',10.29,8.52,6.73,'exportiunivamalg #14'
+---- TYPES
+STRING, STRING, DECIMAL, DECIMAL, DECIMAL, STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q67a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q67a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q67a.test
new file mode 100644
index 0000000..811f675
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q67a.test
@@ -0,0 +1,174 @@
+====
+---- QUERY: TPCDS-Q67A
+with results as
+(     select i_category ,i_class ,i_brand ,i_product_name ,d_year ,d_qoy ,d_moy ,s_store_id
+                  ,sum(coalesce(ss_sales_price*ss_quantity,0)) sumsales
+            from store_sales ,date_dim ,store ,item
+       where  ss_sold_date_sk=d_date_sk
+          and ss_item_sk=i_item_sk
+          and ss_store_sk = s_store_sk
+          and d_month_seq between 1200 and 1200 + 11
+       group by i_category, i_class, i_brand, i_product_name, d_year, d_qoy, d_moy,s_store_id)
+ ,
+ results_rollup as
+ (select i_category, i_class, i_brand, i_product_name, d_year, d_qoy, d_moy, s_store_id, sumsales
+  from results
+  union all
+  select i_category, i_class, i_brand, i_product_name, d_year, d_qoy, d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category, i_class, i_brand, i_product_name, d_year, d_qoy, d_moy
+  union all
+  select i_category, i_class, i_brand, i_product_name, d_year, d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category, i_class, i_brand, i_product_name, d_year, d_qoy
+  union all
+  select i_category, i_class, i_brand, i_product_name, d_year, null d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category, i_class, i_brand, i_product_name, d_year
+  union all
+  select i_category, i_class, i_brand, i_product_name, null d_year, null d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category, i_class, i_brand, i_product_name
+  union all
+  select i_category, i_class, i_brand, null i_product_name, null d_year, null d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category, i_class, i_brand
+  union all
+  select i_category, i_class, null i_brand, null i_product_name, null d_year, null d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category, i_class
+  union all
+  select i_category, null i_class, null i_brand, null i_product_name, null d_year, null d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results
+  group by i_category
+  union all
+  select null i_category, null i_class, null i_brand, null i_product_name, null d_year, null d_qoy, null d_moy, null s_store_id, sum(sumsales) sumsales
+  from results)
+ select  *
+from (select i_category
+            ,i_class
+            ,i_brand
+            ,i_product_name
+            ,d_year
+            ,d_qoy
+            ,d_moy
+            ,s_store_id
+            ,sumsales
+            ,rank() over (partition by i_category order by sumsales desc) rk
+      from results_rollup) dw2
+where rk <= 100
+order by i_category
+        ,i_class
+        ,i_brand
+        ,i_product_name
+        ,d_year
+        ,d_qoy
+        ,d_moy
+        ,s_store_id
+        ,sumsales
+        ,rk
+limit 100;
+---- RESULTS
+'Books','arts','amalgmaxi #12','NULL',NULL,NULL,NULL,'NULL',1577322.20,26
+'Books','arts','amalgmaxi #2','NULL',NULL,NULL,NULL,'NULL',757558.15,93
+'Books','arts','amalgmaxi #3','NULL',NULL,NULL,NULL,'NULL',889848.65,79
+'Books','arts','amalgmaxi #9','NULL',NULL,NULL,NULL,'NULL',816219.08,89
+'Books','arts','NULL','NULL',NULL,NULL,NULL,'NULL',5188162.15,17
+'Books','business','importomaxi #12','NULL',NULL,NULL,NULL,'NULL',1288307.29,42
+'Books','business','importomaxi #2','NULL',NULL,NULL,NULL,'NULL',985887.08,68
+'Books','business','importomaxi #8','NULL',NULL,NULL,NULL,'NULL',1067725.65,61
+'Books','business','importomaxi #9','NULL',NULL,NULL,NULL,'NULL',1269598.91,45
+'Books','business','NULL','NULL',NULL,NULL,NULL,'NULL',5905977.34,10
+'Books','computers','exportimaxi #12','NULL',NULL,NULL,NULL,'NULL',1456918.73,28
+'Books','computers','exportimaxi #2','NULL',NULL,NULL,NULL,'NULL',1626664.04,24
+'Books','computers','exportimaxi #3','NULL',NULL,NULL,NULL,'NULL',875667.64,82
+'Books','computers','exportimaxi #6','NULL',NULL,NULL,NULL,'NULL',847659.03,86
+'Books','computers','exportimaxi #8','NULL',NULL,NULL,NULL,'NULL',1189646.65,49
+'Books','computers','exportimaxi #9','NULL',NULL,NULL,NULL,'NULL',1059845.98,63
+'Books','computers','NULL','NULL',NULL,NULL,NULL,'NULL',7061536.03,7
+'Books','cooking','amalgunivamalg #12','NULL',NULL,NULL,NULL,'NULL',1097730.00,58
+'Books','cooking','amalgunivamalg #3','NULL',NULL,NULL,NULL,'NULL',978431.47,69
+'Books','cooking','amalgunivamalg #6','NULL',NULL,NULL,NULL,'NULL',858562.34,84
+'Books','cooking','amalgunivamalg #8','NULL',NULL,NULL,NULL,'NULL',917692.00,74
+'Books','cooking','amalgunivamalg #9','NULL',NULL,NULL,NULL,'NULL',881045.30,80
+'Books','cooking','NULL','NULL',NULL,NULL,NULL,'NULL',5357549.49,16
+'Books','entertainments','edu packmaxi #12','NULL',NULL,NULL,NULL,'NULL',962267.01,70
+'Books','entertainments','edu packmaxi #2','NULL',NULL,NULL,NULL,'NULL',750249.81,94
+'Books','entertainments','edu packmaxi #3','NULL',NULL,NULL,NULL,'NULL',1325140.63,39
+'Books','entertainments','edu packmaxi #6','NULL',NULL,NULL,NULL,'NULL',874454.87,83
+'Books','entertainments','edu packmaxi #8','NULL',NULL,NULL,NULL,'NULL',894416.62,78
+'Books','entertainments','NULL','NULL',NULL,NULL,NULL,'NULL',5465761.48,14
+'Books','fiction','scholarunivamalg #12','NULL',NULL,NULL,NULL,'NULL',957012.63,71
+'Books','fiction','scholarunivamalg #2','NULL',NULL,NULL,NULL,'NULL',1798976.95,20
+'Books','fiction','scholarunivamalg #3','NULL',NULL,NULL,NULL,'NULL',1288272.89,43
+'Books','fiction','scholarunivamalg #6','NULL',NULL,NULL,NULL,'NULL',1031571.39,65
+'Books','fiction','scholarunivamalg #8','NULL',NULL,NULL,NULL,'NULL',1444468.85,30
+'Books','fiction','scholarunivamalg #9','NULL',NULL,NULL,NULL,'NULL',1333004.22,38
+'Books','fiction','NULL','NULL',NULL,NULL,NULL,'NULL',7867516.44,3
+'Books','history','scholarmaxi #12','NULL',NULL,NULL,NULL,'NULL',1407800.96,34
+'Books','history','scholarmaxi #2','NULL',NULL,NULL,NULL,'NULL',1601550.87,25
+'Books','history','scholarmaxi #3','NULL',NULL,NULL,NULL,'NULL',1181491.20,50
+'Books','history','scholarmaxi #6','NULL',NULL,NULL,NULL,'NULL',1175904.65,51
+'Books','history','scholarmaxi #8','NULL',NULL,NULL,NULL,'NULL',1205167.13,48
+'Books','history','scholarmaxi #9','NULL',NULL,NULL,NULL,'NULL',1873407.99,18
+'Books','history','NULL','NULL',NULL,NULL,NULL,'NULL',8458815.11,2
+'Books','home repair','importounivamalg #12','NULL',NULL,NULL,NULL,'NULL',929871.46,72
+'Books','home repair','importounivamalg #2','NULL',NULL,NULL,NULL,'NULL',1672201.56,22
+'Books','home repair','importounivamalg #3','NULL',NULL,NULL,NULL,'NULL',1321000.94,40
+'Books','home repair','importounivamalg #6','NULL',NULL,NULL,NULL,'NULL',717528.04,96
+'Books','home repair','importounivamalg #8','NULL',NULL,NULL,NULL,'NULL',1669033.95,23
+'Books','home repair','importounivamalg #9','NULL',NULL,NULL,NULL,'NULL',1066519.11,62
+'Books','home repair','NULL','NULL',NULL,NULL,NULL,'NULL',7388154.74,4
+'Books','mystery','corpunivamalg #12','NULL',NULL,NULL,NULL,'NULL',1146116.05,54
+'Books','mystery','corpunivamalg #2','NULL',NULL,NULL,NULL,'NULL',747999.99,95
+'Books','mystery','corpunivamalg #3','NULL',NULL,NULL,NULL,'NULL',1145257.96,55
+'Books','mystery','corpunivamalg #6','NULL',NULL,NULL,NULL,'NULL',1098189.71,57
+'Books','mystery','corpunivamalg #8','NULL',NULL,NULL,NULL,'NULL',759890.03,92
+'Books','mystery','NULL','NULL',NULL,NULL,NULL,'NULL',5559086.76,13
+'Books','parenting','corpmaxi #12','NULL',NULL,NULL,NULL,'NULL',1022503.60,66
+'Books','parenting','corpmaxi #2','NULL',NULL,NULL,NULL,'NULL',908607.31,76
+'Books','parenting','corpmaxi #6','NULL',NULL,NULL,NULL,'NULL',1717275.15,21
+'Books','parenting','corpmaxi #9','NULL',NULL,NULL,NULL,'NULL',895829.36,77
+'Books','parenting','NULL','NULL',NULL,NULL,NULL,'NULL',5905648.45,11
+'Books','reference','brandmaxi #12','NULL',NULL,NULL,NULL,'NULL',1418372.80,33
+'Books','reference','brandmaxi #2','NULL',NULL,NULL,NULL,'NULL',1154379.77,53
+'Books','reference','brandmaxi #3','NULL',NULL,NULL,NULL,'NULL',1168210.15,52
+'Books','reference','brandmaxi #6','NULL',NULL,NULL,NULL,'NULL',1349780.84,37
+'Books','reference','brandmaxi #8','NULL',NULL,NULL,NULL,'NULL',1429502.89,31
+'Books','reference','brandmaxi #9','NULL',NULL,NULL,NULL,'NULL',714094.43,97
+'Books','reference','NULL','NULL',NULL,NULL,NULL,'NULL',7245435.64,6
+'Books','romance','namelessmaxi #12','NULL',NULL,NULL,NULL,'NULL',1356568.45,36
+'Books','romance','namelessmaxi #2','NULL',NULL,NULL,NULL,'NULL',1236630.16,47
+'Books','romance','namelessmaxi #3','NULL',NULL,NULL,NULL,'NULL',1866764.20,19
+'Books','romance','namelessmaxi #6','NULL',NULL,NULL,NULL,'NULL',1086707.92,59
+'Books','romance','namelessmaxi #8','NULL',NULL,NULL,NULL,'NULL',825762.40,88
+'Books','romance','namelessmaxi #9','NULL',NULL,NULL,NULL,'NULL',876869.83,81
+'Books','romance','NULL','NULL',NULL,NULL,NULL,'NULL',7252274.41,5
+'Books','science','maximaxi #2','NULL',NULL,NULL,NULL,'NULL',702171.30,98
+'Books','science','maximaxi #3','NULL',NULL,NULL,NULL,'NULL',777021.93,90
+'Books','science','maximaxi #6','NULL',NULL,NULL,NULL,'NULL',1446589.43,29
+'Books','science','maximaxi #8','NULL',NULL,NULL,NULL,'NULL',1004042.04,67
+'Books','science','maximaxi #9','NULL',NULL,NULL,NULL,'NULL',849422.20,85
+'Books','science','NULL','NULL',NULL,NULL,NULL,'NULL',5359276.19,15
+'Books','self-help','exportiunivamalg #2','NULL',NULL,NULL,NULL,'NULL',1283148.53,44
+'Books','self-help','exportiunivamalg #3','NULL',NULL,NULL,NULL,'NULL',770181.59,91
+'Books','self-help','exportiunivamalg #6','NULL',NULL,NULL,NULL,'NULL',1391623.86,35
+'Books','self-help','exportiunivamalg #8','NULL',NULL,NULL,NULL,'NULL',695644.62,100
+'Books','self-help','exportiunivamalg #9','NULL',NULL,NULL,NULL,'NULL',1427999.91,32
+'Books','self-help','NULL','NULL',NULL,NULL,NULL,'NULL',6261649.72,8
+'Books','sports','edu packunivamalg #12','NULL',NULL,NULL,NULL,'NULL',928301.94,73
+'Books','sports','edu packunivamalg #6','NULL',NULL,NULL,NULL,'NULL',1503681.79,27
+'Books','sports','edu packunivamalg #8','NULL',NULL,NULL,NULL,'NULL',1263974.84,46
+'Books','sports','edu packunivamalg #9','NULL',NULL,NULL,NULL,'NULL',840684.29,87
+'Books','sports','NULL','NULL',NULL,NULL,NULL,'NULL',5610649.06,12
+'Books','travel','univunivamalg #12','NULL',NULL,NULL,NULL,'NULL',1135250.45,56
+'Books','travel','univunivamalg #2','NULL',NULL,NULL,NULL,'NULL',1053533.86,64
+'Books','travel','univunivamalg #3','NULL',NULL,NULL,NULL,'NULL',1085484.15,60
+'Books','travel','univunivamalg #6','NULL',NULL,NULL,NULL,'NULL',696575.97,99
+'Books','travel','univunivamalg #8','NULL',NULL,NULL,NULL,'NULL',1310411.80,41
+'Books','travel','univunivamalg #9','NULL',NULL,NULL,NULL,'NULL',917487.24,75
+'Books','travel','NULL','NULL',NULL,NULL,NULL,'NULL',6200882.35,9
+'Books','NULL','NULL','NULL',NULL,NULL,NULL,'NULL',102246971.86,1
+---- TYPES
+STRING, STRING, STRING, STRING, INT, INT, INT, STRING, DECIMAL, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q68.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q68.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q68.test
new file mode 100644
index 0000000..f3b9667
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q68.test
@@ -0,0 +1,155 @@
+====
+---- QUERY: TPCDS-Q68
+select
+  c_last_name,
+  c_first_name,
+  ca_city,
+  bought_city,
+  ss_ticket_number,
+  extended_price,
+  extended_tax,
+  list_price
+from
+  (select
+    ss_ticket_number,
+    ss_customer_sk,
+    ca_city bought_city,
+    sum(ss_ext_sales_price) extended_price,
+    sum(ss_ext_list_price) list_price,
+    sum(ss_ext_tax) extended_tax
+  from
+    store_sales,
+    date_dim,
+    store,
+    household_demographics,
+    customer_address
+  where
+    store_sales.ss_sold_date_sk = date_dim.d_date_sk
+    and store_sales.ss_store_sk = store.s_store_sk
+    and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
+    and store_sales.ss_addr_sk = customer_address.ca_address_sk
+    and date_dim.d_dom between 1 and 2
+    and (household_demographics.hd_dep_count = 4
+      or household_demographics.hd_vehicle_count = 3)
+    and date_dim.d_year in (1999, 1999 + 1, 1999 + 2)
+    and store.s_city in ('Midway', 'Fairview')
+  group by
+    ss_ticket_number,
+    ss_customer_sk,
+    ss_addr_sk,
+    ca_city
+  ) dn,
+  customer,
+  customer_address current_addr
+where
+  ss_customer_sk = c_customer_sk
+  and customer.c_current_addr_sk = current_addr.ca_address_sk
+  and current_addr.ca_city <> bought_city
+order by
+  c_last_name,
+  ss_ticket_number
+limit 100;
+---- RESULTS
+'Aaron','Guy','Lakeside','Mount Pleasant',210815,24704.66,678.88,45673.18
+'Abbott','Joseph','Greenfield','Midway',62751,37795.50,1086.40,53385.17
+'Abbott','Harriet','Wesley','Forest Hills',84405,23666.36,1274.86,45689.64
+'Abney','Louis','Gladstone','Green Acres',140967,20698.82,491.86,48086.21
+'Acevedo','David','Clinton','Shady Grove',131505,22075.16,772.60,46961.99
+'Acosta','Johnnie','Centerville','Enterprise',69183,21688.97,1059.74,34387.30
+'Acosta','David','Harmony','Bunker Hill',112259,11738.20,399.34,17105.96
+'Adair','Evan','Blanchard','New Hope',117449,10843.01,540.08,20084.01
+'Adams','Genevieve','Enterprise','Union Hill',109910,32666.21,1432.96,61189.81
+'Adams','Joyce','Newtown','Concord',166181,18450.10,1108.79,28427.74
+'Adams','John','Marion','Oak Ridge',206733,34785.44,852.47,57926.68
+'Adams','David','Bridgeport','Antioch',213366,12990.48,225.47,28512.17
+'Aguayo','John','Newport','Newtown',156381,17114.17,567.09,30022.52
+'Aguayo','Jeanne','Glendale','Hopewell',199409,29035.37,1374.34,53784.57
+'Aguilar','Arlene','Ashland','Brownsville',121548,31984.01,1162.65,50601.98
+'Aguirre','Penny','Union Hill','Marion',104413,35843.61,966.63,52811.51
+'Ahmed','Maureen','Oak Hill','Union Hill',128051,23686.18,1174.98,41563.27
+'Aiken','James','Mount Olive','Crossroads',212463,18049.02,819.49,29911.37
+'Alarcon','Victoria','Spring Valley','Bunker Hill',134199,18533.41,710.55,37775.73
+'Alexander','Robert','Woodlawn','Arlington',174134,28340.20,914.46,51978.95
+'Alexander','Megan','White Oak','Greenfield',179976,21580.95,898.61,42878.10
+'Alexander','Beverly','Valley View','Five Forks',212635,15885.12,1067.05,30762.55
+'Allen','Amy','Oakland','Greenville',59638,27050.83,1879.66,41767.88
+'Allen','Kenneth','Springdale','Liberty',79152,10310.19,260.52,30436.60
+'Allen','Harold','Lincoln','Providence',84380,22544.47,1135.75,57628.38
+'Allen','William','Lewis','Springdale',101791,20167.15,1076.20,25099.71
+'Allen','Dustin','Arlington','Five Forks',167363,9931.55,397.05,41126.80
+'Allen','Marcus','Woodlawn','Belleville',213821,17649.78,797.92,66454.88
+'Allen','Curtis','Brentwood','Richardson',216964,5751.82,180.82,39045.19
+'Allison','Betty','Hamilton','Riverside',154720,13246.09,394.33,20798.94
+'Allison','Sylvia','Jackson','Woodland',162335,16473.74,541.19,37558.02
+'Alonzo','Charles','Unionville','Jamestown',91324,12253.64,736.42,31247.28
+'Alston','Jesus','Midway','Bridgeport',52608,30120.39,1733.46,61262.55
+'Alvarado','Brooke','Springfield','Deerfield',22264,7382.73,186.70,14659.04
+'Alvarado','Tyson','Pleasant Grove','Midway',187704,21663.47,1230.22,40665.04
+'Alvarez','Glenn','Mount Vernon','Martinsville',191809,19592.11,1176.85,41206.86
+'Amato','Nelson','Brownsville','Harmon',142017,25961.35,978.70,39198.79
+'Ames','Gregory','Summerfield','Carthage',239041,24406.60,890.32,48047.25
+'Anderson','Alan','Bunker Hill','Oakdale',31774,27005.34,1103.94,40676.61
+'Anderson','Mark','Clearwater','Shiloh',34383,11726.53,446.01,24160.55
+'Anderson','Eloise','Fairview','Midway',59994,24468.31,1185.01,71467.37
+'Anderson','Marcia','Clifton','Lawrenceville',83235,32158.02,1641.86,66411.93
+'Anderson','Margaret','Liberty','Woodville',122663,12244.97,448.17,24411.14
+'Anderson','Jeremy','Bridgeport','Golden',148124,18681.36,645.07,31244.92
+'Anderson','Marcia','Clifton','Belmont',156087,15630.25,586.02,36680.54
+'Anderson','Gerald','Centerville','Hamilton',161201,11833.74,556.97,28705.58
+'Anderson','Mark','Clearwater','Deerfield',178872,22171.96,746.63,35582.48
+'Anderson','Latasha','Florence','Altamont',187946,14746.73,254.79,31702.67
+'Anderson','John','Valley View','Pleasant Valley',207323,24052.33,890.91,40618.13
+'Andrews','Johnathan','Pleasant Valley','Cedar',135587,7745.55,264.73,14969.23
+'Angel','Claudette','Sunnyside','Edgewood',196703,40487.66,2101.67,74569.91
+'Antoine','Natalia','Pine Grove','Providence',17718,9705.04,248.18,35927.56
+'Applegate','Edith','Oak Ridge','Waterloo',99615,14067.16,321.47,28150.90
+'Arce','Casey','Sulphur Springs','Salem',22677,32542.08,1517.63,52981.23
+'Archuleta','NULL','Yorktown','Welcome',205016,18262.18,1100.87,35615.43
+'Armijo','Bryan','Pleasant Grove','Woodbury',91994,13606.26,864.10,42234.98
+'Armstrong','Charles','Providence','Pine Grove',62187,13115.42,655.65,45343.33
+'Ashby','Jeanne','Wildwood','Oakwood',28839,21247.34,1166.93,25034.57
+'Ashe','Barbara','Spring Hill','Bunker Hill',17181,23184.07,1387.18,48324.66
+'Ashley','Emmanuel','Forest Hills','Hopewell',170241,28574.95,475.41,80421.92
+'Atkinson','Cedric','Red Hill','Summit',194465,30255.47,1199.93,48718.93
+'Austin','Molly','Greenville','Midway',233037,21252.57,433.63,36658.60
+'Avila','Ashley','Clinton','Summit',214308,19752.60,476.87,47445.77
+'Ayala','Jesus','Woodville','Arlington',17419,30939.94,1343.98,56058.79
+'Ayala','Ana','Clinton','Oakdale',71608,32095.11,851.00,54011.17
+'Ayala','Stacy','Macedonia','Fairview',233483,21589.41,944.73,50167.53
+'Ayres','Loretta','Whispering Pines','Pine Grove',95587,16392.62,528.13,42092.74
+'Babin','Mike','Arcola','Sulphur Springs',179769,20294.32,731.54,46743.49
+'Bailey','Robert','Mountain View','Lakeview',234709,22616.93,831.50,55324.79
+'Baker','Jennifer','Georgetown','Enterprise',29854,22831.56,760.14,35952.11
+'Baker','Joel','Sulphur Springs','Lincoln',48913,17417.92,829.45,33206.23
+'Baker','Benjamin','Bethel','Oakland',79834,4618.07,149.22,24355.19
+'Baker','Richard','Five Forks','Greenfield',110320,20924.76,1460.23,41027.94
+'Baker','Craig','Oak Ridge','Providence',141109,24105.20,1083.53,42863.71
+'Baker','Daniel','Jackson','Wilson',201588,15385.36,778.77,31795.09
+'Baldridge','Victor','Siloam','Mount Pleasant',46121,32854.69,1031.00,77791.74
+'Baldwin','James','Bunker Hill','Edgewood',67593,13885.95,500.11,43493.89
+'Baldwin','Tena','Andover','Glenwood',180853,13526.84,678.23,35726.94
+'Baldwin','Barry','Walnut Grove','Clinton',187586,14637.55,609.62,21051.70
+'Ball','Lionel','Union','Concord',143182,25763.15,1287.78,42039.28
+'Ball','Evelyn','Spring Valley','Five Points',205355,6095.24,447.79,28374.50
+'Ballou','Michael','Reno','Lincoln',177577,10735.74,560.24,36449.75
+'Banks','Marian','Woodville','Richfield',52317,11876.83,597.09,28381.94
+'Banks','Angela','Harmony','Sullivan',90206,21927.27,1023.96,52589.76
+'Barajas','Wendy','Mount Vernon','Liberty',213552,27777.38,940.01,44515.82
+'Barker','Robert','Midway','Oak Ridge',23734,27986.16,662.34,49205.06
+'Barker','Keith','Summit','Lakewood',139745,4983.72,181.81,12471.30
+'Barker','Keith','Summit','Valley View',214164,20816.56,931.20,52036.95
+'Barnes','Arthur','Flint','Stringtown',71708,13512.86,711.46,32063.72
+'Barnes','Charles','Spring Hill','Franklin',79586,35911.85,759.04,61893.18
+'Barnett','Donald','Fairfield','Bethel',69630,28948.35,825.18,59288.30
+'Barnett','Stacie','Wilson','Greenfield',90549,21277.47,819.57,45569.89
+'Barnett','Linda','Centerville','Providence',226202,28599.43,1389.20,57758.69
+'Barney','Bernice','Mount Olive','Summit',192415,14490.99,919.54,33533.73
+'Barnhart','Josephine','Riverside','Salem',123737,17146.50,308.43,29986.14
+'Barr','Kyle','Shiloh','Greenfield',217215,2593.66,68.45,10983.70
+'Barrett','Robert','Kingston','Riverview',52319,23184.59,434.24,30968.82
+'Barton','Margaret','Sleepy Hollow','Highland Park',50712,15262.57,738.68,40574.06
+'Bates','Albert','Springdale','Gravel Hill',113737,12809.77,585.36,31662.77
+'Bauer','August','Fairfield','Belmont',134369,31443.79,1368.37,50747.16
+---- TYPES
+STRING, STRING, STRING, STRING, BIGINT, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q69.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q69.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q69.test
new file mode 100644
index 0000000..0fe88d1
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q69.test
@@ -0,0 +1,150 @@
+====
+---- QUERY: TPCDS-Q69
+select
+  cd_gender,
+  cd_marital_status,
+  cd_education_status,
+  count(*) cnt1,
+  cd_purchase_estimate,
+  count(*) cnt2,
+  cd_credit_rating,
+  count(*) cnt3
+ from
+  customer c,customer_address ca,customer_demographics
+ where
+  c.c_current_addr_sk = ca.ca_address_sk and
+  ca_state in ('KY','GA','NM') and
+  cd_demo_sk = c.c_current_cdemo_sk and
+  exists (select *
+          from store_sales,date_dim
+          where c.c_customer_sk = ss_customer_sk and
+                ss_sold_date_sk = d_date_sk and
+                d_year = 2001 and
+                d_moy between 4 and 4+2) and
+   (not exists (select *
+            from web_sales,date_dim
+            where c.c_customer_sk = ws_bill_customer_sk and
+                  ws_sold_date_sk = d_date_sk and
+                  d_year = 2001 and
+                  d_moy between 4 and 4+2) and
+    not exists (select *
+            from catalog_sales,date_dim
+            where c.c_customer_sk = cs_ship_customer_sk and
+                  cs_sold_date_sk = d_date_sk and
+                  d_year = 2001 and
+                  d_moy between 4 and 4+2))
+ group by cd_gender,
+          cd_marital_status,
+          cd_education_status,
+          cd_purchase_estimate,
+          cd_credit_rating
+ order by cd_gender,
+          cd_marital_status,
+          cd_education_status,
+          cd_purchase_estimate,
+          cd_credit_rating
+ limit 100;
+---- RESULTS
+'F','D','2 yr Degree',1,2500,1,'Low Risk',1
+'F','D','2 yr Degree',1,4500,1,'Good',1
+'F','D','2 yr Degree',2,4500,2,'Low Risk',2
+'F','D','2 yr Degree',1,9000,1,'Good',1
+'F','D','2 yr Degree',1,9500,1,'Good',1
+'F','D','4 yr Degree',1,1000,1,'Low Risk',1
+'F','D','4 yr Degree',1,1500,1,'Low Risk',1
+'F','D','4 yr Degree',1,1500,1,'Unknown',1
+'F','D','4 yr Degree',1,2000,1,'Good',1
+'F','D','4 yr Degree',1,2500,1,'Unknown',1
+'F','D','4 yr Degree',1,4000,1,'Unknown',1
+'F','D','4 yr Degree',1,5500,1,'Good',1
+'F','D','4 yr Degree',1,7000,1,'Good',1
+'F','D','4 yr Degree',1,7000,1,'High Risk',1
+'F','D','4 yr Degree',1,8000,1,'High Risk',1
+'F','D','4 yr Degree',1,8500,1,'Unknown',1
+'F','D','Advanced Degree',1,1000,1,'Good',1
+'F','D','Advanced Degree',1,3500,1,'Good',1
+'F','D','Advanced Degree',1,3500,1,'High Risk',1
+'F','D','Advanced Degree',1,4000,1,'High Risk',1
+'F','D','Advanced Degree',1,5000,1,'High Risk',1
+'F','D','Advanced Degree',1,5500,1,'Good',1
+'F','D','Advanced Degree',1,5500,1,'Low Risk',1
+'F','D','Advanced Degree',1,6500,1,'Low Risk',1
+'F','D','Advanced Degree',1,7000,1,'High Risk',1
+'F','D','Advanced Degree',1,8000,1,'Low Risk',1
+'F','D','Advanced Degree',1,8500,1,'High Risk',1
+'F','D','Advanced Degree',1,9500,1,'Low Risk',1
+'F','D','Advanced Degree',1,9500,1,'Unknown',1
+'F','D','Advanced Degree',1,10000,1,'Low Risk',1
+'F','D','College',1,1500,1,'Low Risk',1
+'F','D','College',1,2500,1,'Good',1
+'F','D','College',1,4000,1,'High Risk',1
+'F','D','College',1,6000,1,'Good',1
+'F','D','College',1,6000,1,'High Risk',1
+'F','D','College',1,9000,1,'High Risk',1
+'F','D','Primary',1,3000,1,'High Risk',1
+'F','D','Primary',1,4000,1,'Low Risk',1
+'F','D','Primary',1,4000,1,'Unknown',1
+'F','D','Primary',1,4500,1,'Unknown',1
+'F','D','Primary',1,5000,1,'High Risk',1
+'F','D','Primary',1,5000,1,'Unknown',1
+'F','D','Primary',1,6000,1,'Good',1
+'F','D','Primary',1,6000,1,'Unknown',1
+'F','D','Primary',1,8500,1,'Unknown',1
+'F','D','Primary',1,9000,1,'Unknown',1
+'F','D','Primary',1,9500,1,'High Risk',1
+'F','D','Primary',1,9500,1,'Unknown',1
+'F','D','Primary',1,10000,1,'Good',1
+'F','D','Primary',2,10000,2,'Low Risk',2
+'F','D','Secondary',1,500,1,'Low Risk',1
+'F','D','Secondary',1,1000,1,'High Risk',1
+'F','D','Secondary',1,3000,1,'Good',1
+'F','D','Secondary',1,3500,1,'Good',1
+'F','D','Secondary',1,6000,1,'Low Risk',1
+'F','D','Secondary',1,6500,1,'Unknown',1
+'F','D','Secondary',1,8500,1,'High Risk',1
+'F','D','Secondary',1,10000,1,'Low Risk',1
+'F','D','Unknown',1,1500,1,'High Risk',1
+'F','D','Unknown',1,3000,1,'Good',1
+'F','D','Unknown',1,3000,1,'High Risk',1
+'F','D','Unknown',1,6000,1,'Good',1
+'F','D','Unknown',1,6500,1,'High Risk',1
+'F','D','Unknown',2,8000,2,'Low Risk',2
+'F','D','Unknown',1,10000,1,'Unknown',1
+'F','M','2 yr Degree',1,2500,1,'Low Risk',1
+'F','M','2 yr Degree',3,4000,3,'Unknown',3
+'F','M','2 yr Degree',1,4500,1,'Low Risk',1
+'F','M','2 yr Degree',1,8500,1,'High Risk',1
+'F','M','4 yr Degree',1,1000,1,'Good',1
+'F','M','4 yr Degree',1,1500,1,'Good',1
+'F','M','4 yr Degree',1,4000,1,'Low Risk',1
+'F','M','4 yr Degree',1,4000,1,'Unknown',1
+'F','M','4 yr Degree',1,5000,1,'Unknown',1
+'F','M','4 yr Degree',1,5500,1,'Low Risk',1
+'F','M','4 yr Degree',1,6000,1,'Good',1
+'F','M','4 yr Degree',1,8000,1,'High Risk',1
+'F','M','Advanced Degree',1,500,1,'Low Risk',1
+'F','M','Advanced Degree',1,500,1,'Unknown',1
+'F','M','Advanced Degree',1,2500,1,'Good',1
+'F','M','Advanced Degree',1,3500,1,'High Risk',1
+'F','M','Advanced Degree',2,5500,2,'Unknown',2
+'F','M','Advanced Degree',1,6500,1,'Good',1
+'F','M','Advanced Degree',1,6500,1,'Unknown',1
+'F','M','Advanced Degree',1,8000,1,'Low Risk',1
+'F','M','Advanced Degree',1,9500,1,'Good',1
+'F','M','Advanced Degree',1,10000,1,'Low Risk',1
+'F','M','College',1,1000,1,'Unknown',1
+'F','M','College',1,3000,1,'Good',1
+'F','M','College',2,5000,2,'High Risk',2
+'F','M','College',1,6000,1,'Low Risk',1
+'F','M','College',1,7000,1,'High Risk',1
+'F','M','College',1,8000,1,'Good',1
+'F','M','College',1,9000,1,'Good',1
+'F','M','College',2,9000,2,'High Risk',2
+'F','M','College',1,9500,1,'High Risk',1
+'F','M','College',1,10000,1,'High Risk',1
+'F','M','Primary',1,1000,1,'Low Risk',1
+'F','M','Primary',1,1500,1,'High Risk',1
+'F','M','Primary',1,7000,1,'Good',1
+---- TYPES
+STRING, STRING, STRING, BIGINT, INT, BIGINT, STRING, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q7.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q7.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q7.test
new file mode 100644
index 0000000..954a954
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q7.test
@@ -0,0 +1,134 @@
+====
+---- QUERY: TPCDS-Q7
+select
+  i_item_id,
+  avg(ss_quantity) agg1,
+  avg(ss_list_price) agg2,
+  avg(ss_coupon_amt) agg3,
+  avg(ss_sales_price) agg4
+from
+  store_sales,
+  customer_demographics,
+  date_dim,
+  item,
+  promotion
+where
+  ss_sold_date_sk = d_date_sk
+  and ss_item_sk = i_item_sk
+  and ss_cdemo_sk = cd_demo_sk
+  and ss_promo_sk = p_promo_sk
+  and cd_gender = 'M'
+  and cd_marital_status = 'S'
+  and cd_education_status = 'College'
+  and (p_channel_email = 'N'
+    or p_channel_event = 'N')
+  and d_year = 2000
+group by
+  i_item_id
+order by
+  i_item_id
+limit 100;
+---- RESULTS
+'AAAAAAAAAAACAAAA',17,13.150000,7.700000,1.970000
+'AAAAAAAAAAAEAAAA',99,123.440000,0.000000,44.430000
+'AAAAAAAAAABBAAAA',11,77.310000,0.000000,38.650000
+'AAAAAAAAAABEAAAA',35.5,18.900000,0.000000,4.850000
+'AAAAAAAAAACAAAAA',61,38.630000,90.245000,16.385000
+'AAAAAAAAAACCAAAA',10.5,83.465000,0.000000,30.020000
+'AAAAAAAAAADBAAAA',44,108.360000,0.000000,13.000000
+'AAAAAAAAAADCAAAA',54,59.290000,0.000000,34.980000
+'AAAAAAAAAADEAAAA',93,43.570000,0.000000,38.340000
+'AAAAAAAAAAEAAAAA',72,16.460000,0.000000,13.330000
+'AAAAAAAAAAEBAAAA',88,29.020000,0.000000,0.870000
+'AAAAAAAAAAEDAAAA',91,84.375000,0.000000,9.090000
+'AAAAAAAAAAFDAAAA',37,33.130000,0.000000,20.200000
+'AAAAAAAAAAGEAAAA',35,56.480000,881.450000,23.630000
+'AAAAAAAAAAHDAAAA',33,59.050000,0.000000,48.530000
+'AAAAAAAAAAICAAAA',68.5,108.730000,166.780000,69.220000
+'AAAAAAAAAAIDAAAA',76,97.190000,0.000000,43.730000
+'AAAAAAAAAAJCAAAA',30,47.550000,0.000000,30.430000
+'AAAAAAAAAAKBAAAA',59,55.080000,0.000000,17.070000
+'AAAAAAAAAAMBAAAA',74,10.390000,0.000000,8.620000
+'AAAAAAAAAAMCAAAA',86,24.100000,0.410000,0.480000
+'AAAAAAAAAANAAAAA',43,80.160000,0.000000,41.680000
+'AAAAAAAAAANBAAAA',28,112.270000,0.000000,57.250000
+'AAAAAAAAAAOAAAAA',46,12.630000,0.000000,4.670000
+'AAAAAAAAAAPBAAAA',66,39.590000,969.800000,18.600000
+'AAAAAAAAAAPCAAAA',90,68.280000,0.000000,47.790000
+'AAAAAAAAABAAAAAA',10.5,71.480000,0.000000,28.920000
+'AAAAAAAAABABAAAA',12.5,100.530000,2.230000,34.807500
+'AAAAAAAAABADAAAA',100,68.670000,0.000000,50.810000
+'AAAAAAAAABAEAAAA',49,15.790000,0.000000,11.840000
+'AAAAAAAAABBCAAAA',52,115.100000,0.000000,24.170000
+'AAAAAAAAABDEAAAA',92,168.960000,0.000000,23.650000
+'AAAAAAAAABEAAAAA',33.33333333333334,58.646667,99.473333,22.166667
+'AAAAAAAAABECAAAA',43,167.740000,0.000000,88.900000
+'AAAAAAAAABEDAAAA',74,129.100000,0.000000,108.440000
+'AAAAAAAAABFBAAAA',36,115.180000,0.000000,109.420000
+'AAAAAAAAABFCAAAA',51,121.980000,0.000000,17.070000
+'AAAAAAAAABFEAAAA',65,117.880000,0.000000,107.270000
+'AAAAAAAAABGBAAAA',52,71.545000,0.000000,30.285000
+'AAAAAAAAABGDAAAA',67.5,58.860000,0.000000,35.250000
+'AAAAAAAAABHAAAAA',71,39.385000,804.375000,8.380000
+'AAAAAAAAABHCAAAA',48,12.670000,52.160000,4.180000
+'AAAAAAAAABHDAAAA',55,17.780000,0.000000,5.515000
+'AAAAAAAAABJAAAAA',32,20.110000,0.000000,15.680000
+'AAAAAAAAABJBAAAA',21,72.335000,0.000000,11.370000
+'AAAAAAAAABJDAAAA',43,74.920000,0.000000,8.240000
+'AAAAAAAAABKAAAAA',67,103.070000,0.000000,34.010000
+'AAAAAAAAABKCAAAA',43,73.930000,0.000000,48.050000
+'AAAAAAAAABKDAAAA',84,102.950000,0.000000,42.200000
+'AAAAAAAAABMAAAAA',58,136.340000,0.000000,35.440000
+'AAAAAAAAABMDAAAA',80,3.060000,0.000000,1.890000
+'AAAAAAAAABNAAAAA',96,81.950000,0.000000,64.740000
+'AAAAAAAAABNCAAAA',42,88.830000,0.000000,20.650000
+'AAAAAAAAABOBAAAA',18,81.490000,0.000000,58.670000
+'AAAAAAAAABOCAAAA',31,73.876667,0.000000,59.940000
+'AAAAAAAAABPBAAAA',48.5,37.830000,183.780000,11.720000
+'AAAAAAAAACACAAAA',60,104.375000,351.565000,25.315000
+'AAAAAAAAACADAAAA',29,43.740000,0.000000,13.990000
+'AAAAAAAAACBBAAAA',44.5,87.510000,0.000000,36.140000
+'AAAAAAAAACBEAAAA',76,156.050000,0.000000,113.910000
+'AAAAAAAAACCDAAAA',26,35.573333,0.000000,13.013333
+'AAAAAAAAACCEAAAA',4,10.980000,0.000000,4.940000
+'AAAAAAAAACDAAAAA',16,87.870000,36.260000,75.560000
+'AAAAAAAAACDCAAAA',27,89.860000,0.000000,40.430000
+'AAAAAAAAACEBAAAA',42,94.580000,0.000000,51.260000
+'AAAAAAAAACFBAAAA',45,88.305000,0.000000,24.260000
+'AAAAAAAAACGAAAAA',47,10.460000,0.000000,5.640000
+'AAAAAAAAACGDAAAA',24,51.545000,0.000000,18.835000
+'AAAAAAAAACHBAAAA',44,103.270000,0.000000,65.060000
+'AAAAAAAAACHCAAAA',68.5,91.680000,0.000000,66.165000
+'AAAAAAAAACIAAAAA',7,25.420000,0.000000,8.640000
+'AAAAAAAAACIBAAAA',21,89.290000,915.010000,71.430000
+'AAAAAAAAACIDAAAA',43,56.280000,56.110000,4.500000
+'AAAAAAAAACLAAAAA',36,125.570000,0.000000,13.810000
+'AAAAAAAAACLDAAAA',61.33333333333334,114.206667,0.000000,59.123333
+'AAAAAAAAACMDAAAA',56,79.020000,0.000000,64.000000
+'AAAAAAAAACNCAAAA',63,54.200000,0.000000,29.260000
+'AAAAAAAAACOAAAAA',50,27.430000,229.215000,13.430000
+'AAAAAAAAACPAAAAA',32,147.620000,2480.320000,87.090000
+'AAAAAAAAACPCAAAA',80,12.600000,0.000000,0.370000
+'AAAAAAAAACPDAAAA',87,105.930000,0.000000,9.530000
+'AAAAAAAAADABAAAA',68.5,35.795000,0.000000,27.840000
+'AAAAAAAAADACAAAA',96,101.540000,0.000000,99.500000
+'AAAAAAAAADAEAAAA',53,74.640000,0.000000,7.630000
+'AAAAAAAAADBBAAAA',6,85.580000,234.140000,81.300000
+'AAAAAAAAADBDAAAA',47,39.330000,62.710000,12.090000
+'AAAAAAAAADBEAAAA',52,2.410000,0.000000,1.060000
+'AAAAAAAAADCAAAAA',91,92.170000,0.000000,67.280000
+'AAAAAAAAADCCAAAA',33,40.800000,0.000000,28.560000
+'AAAAAAAAADDBAAAA',45,18.630000,0.000000,17.690000
+'AAAAAAAAADDCAAAA',66,162.170000,1525.900000,37.290000
+'AAAAAAAAADDEAAAA',35,78.256667,0.000000,36.630000
+'AAAAAAAAADEBAAAA',59.5,110.380000,157.965000,16.165000
+'AAAAAAAAADEEAAAA',17,54.540000,0.000000,16.360000
+'AAAAAAAAADFAAAAA',44,133.510000,0.000000,25.360000
+'AAAAAAAAADGBAAAA',31,107.550000,919.825000,56.535000
+'AAAAAAAAADGCAAAA',78,119.610000,0.000000,74.150000
+'AAAAAAAAADGEAAAA',45.5,99.305000,0.000000,1.065000
+'AAAAAAAAADHAAAAA',86,81.090000,0.000000,37.300000
+'AAAAAAAAADHBAAAA',28,68.580000,223.790000,53.615000
+---- TYPES
+STRING, DOUBLE, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q70a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q70a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q70a.test
new file mode 100644
index 0000000..a2a54a0
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q70a.test
@@ -0,0 +1,49 @@
+====
+---- QUERY: TPCDS-Q70A
+with results as
+( select
+    sum(ss_net_profit) as total_sum ,s_state ,s_county, 0 as gstate, 0 as g_county
+ from
+    store_sales
+  ,date_dim      d1
+  ,store
+ where
+    d1.d_month_seq between 1200 and 1200 + 11
+ and d1.d_date_sk = ss_sold_date_sk
+ and s_store_sk  = ss_store_sk
+ and s_state in
+            ( select s_state
+              from  (select s_state as s_state,
+                 rank() over ( partition by s_state order by sum(ss_net_profit) desc) as ranking
+                      from  store_sales, store, date_dim
+                      where d_month_seq between 1200 and 1200 + 11
+                 and d_date_sk = ss_sold_date_sk
+                 and s_store_sk  = ss_store_sk
+                      group by s_state
+                    ) tmp1
+              where ranking <= 5)
+  group by s_state,s_county) ,
+ results_rollup as
+(select total_sum ,s_state ,s_county, 0 as g_state, 0 as g_county, 0 as lochierarchy from results
+ union
+ select sum(total_sum) as total_sum,s_state, NULL as s_county, 0 as g_state, 1 as g_county, 1 as lochierarchy from results group by s_state
+ union
+ select sum(total_sum) as total_sum ,NULL as s_state ,NULL as s_county, 1 as g_state, 1 as g_county, 2 as lochierarchy from results)
+ select  total_sum ,s_state ,s_county, lochierarchy
+  ,rank() over (
+     partition by lochierarchy,
+     case when g_county = 0 then s_state end
+     order by total_sum desc) as rank_within_parent
+ from results_rollup
+ order by
+  lochierarchy desc
+  ,case when lochierarchy = 0 then s_state end
+  ,rank_within_parent
+ limit 100;
+---- RESULTS
+-440986113.22,'NULL','NULL',2,1
+-440986113.22,'TN','NULL',1,1
+-440986113.22,'TN','Williamson County',0,1
+---- TYPES
+DECIMAL, STRING, STRING, TINYINT, BIGINT
+====
\ No newline at end of file


[07/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q71.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q71.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q71.test
new file mode 100644
index 0000000..5ed7647
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q71.test
@@ -0,0 +1,1061 @@
+====
+---- QUERY: TPCDS-Q71
+select i_brand_id brand_id, i_brand brand,t_hour,t_minute,
+  sum(ext_price) ext_price
+ from item, (select ws_ext_sales_price as ext_price,
+                        ws_sold_date_sk as sold_date_sk,
+                        ws_item_sk as sold_item_sk,
+                        ws_sold_time_sk as time_sk
+                 from web_sales,date_dim
+                 where d_date_sk = ws_sold_date_sk
+                   and d_moy=11
+                   and d_year=1999
+                 union all
+                 select cs_ext_sales_price as ext_price,
+                        cs_sold_date_sk as sold_date_sk,
+                        cs_item_sk as sold_item_sk,
+                        cs_sold_time_sk as time_sk
+                 from catalog_sales,date_dim
+                 where d_date_sk = cs_sold_date_sk
+                   and d_moy=11
+                   and d_year=1999
+                 union all
+                 select ss_ext_sales_price as ext_price,
+                        ss_sold_date_sk as sold_date_sk,
+                        ss_item_sk as sold_item_sk,
+                        ss_sold_time_sk as time_sk
+                 from store_sales,date_dim
+                 where d_date_sk = ss_sold_date_sk
+                   and d_moy=11
+                   and d_year=1999
+                 ) tmp,time_dim
+ where
+   sold_item_sk = i_item_sk
+   and i_manager_id=1
+   and time_sk = t_time_sk
+   and (t_meal_time = 'breakfast' or t_meal_time = 'dinner')
+ group by i_brand, i_brand_id,t_hour,t_minute
+ order by ext_price desc, i_brand_id
+ ;
+---- RESULTS
+2002001,'importoimporto #1',9,58,NULL
+2003002,'exportiimporto #2',9,27,NULL
+2004002,'edu packimporto #2',9,7,NULL
+5003002,'exportischolar #2',9,20,NULL
+5004002,'edu packscholar #2',19,31,20021.76
+7012010,'importonameless #10',7,2,17142.78
+4004001,'edu packedu pack #1',9,23,16687.92
+3003001,'exportiexporti #1',19,37,16531.50
+6012008,'importobrand #8',19,41,16055.65
+2001002,'amalgimporto #2',17,32,15801.28
+3001001,'amalgexporti #1',17,25,15765.36
+9014011,'edu packunivamalg #11',18,32,15347.28
+4003001,'exportiedu pack #1',8,34,14784.50
+1002002,'importoamalg #2',8,13,13246.16
+10004001,'edu packunivamalg #1',19,56,13160.28
+2002001,'importoimporto #1',17,24,12932.04
+9008002,'namelessmaxi #2',19,23,12759.38
+6002003,'importocorp #3',19,52,12649.84
+1001002,'amalgamalg #2',19,15,12395.76
+6005001,'scholarcorp #1',6,58,12395.37
+6008005,'namelesscorp #5',17,47,12252.44
+5001001,'amalgscholar #1',9,28,12171.40
+5003001,'exportischolar #1',17,45,12101.22
+7010004,'univnameless #4',17,51,12082.56
+6016003,'corpbrand #3',8,6,11902.80
+5003001,'exportischolar #1',19,35,11523.60
+6002005,'importocorp #5',7,54,11026.50
+6005001,'scholarcorp #1',17,13,10941.60
+3002001,'importoexporti #1',19,43,10914.60
+6005001,'scholarcorp #1',7,39,10787.84
+8013009,'exportimaxi #9',19,26,10683.66
+1001001,'amalgamalg #1',17,48,10597.73
+8005005,'scholarnameless #5',19,51,10488.40
+7015007,'scholarnameless #7',17,8,10338.06
+3003001,'exportiexporti #1',19,24,10307.88
+2003002,'exportiimporto #2',6,53,10190.88
+7012010,'importonameless #10',18,40,10119.62
+1003002,'exportiamalg #2',8,58,10023.00
+4001001,'amalgedu pack #1',19,59,9881.19
+10003004,'exportiunivamalg #4',17,27,9719.37
+7014001,'edu packnameless #1',17,56,9606.96
+9016003,'corpunivamalg #3',9,42,9576.26
+6016003,'corpbrand #3',8,35,9497.90
+7013007,'exportinameless #7',18,20,9426.12
+5001001,'amalgscholar #1',17,44,9369.40
+7016001,'corpnameless #1',9,8,9319.91
+1004002,'edu packamalg #2',19,26,9298.01
+7015007,'scholarnameless #7',18,47,9254.90
+3003001,'exportiexporti #1',17,21,9190.80
+2002001,'importoimporto #1',6,34,9043.24
+10015004,'scholaramalgamalg #4',17,46,9033.72
+5003002,'exportischolar #2',8,54,9007.28
+7012010,'importonameless #10',19,42,8888.32
+10013015,'exportiamalgamalg #15',9,18,8828.12
+4004001,'edu packedu pack #1',18,50,8728.56
+3002001,'importoexporti #1',19,4,8664.04
+7001005,'amalgbrand #5',8,59,8656.83
+2003002,'exportiimporto #2',9,31,8513.40
+3002001,'importoexporti #1',19,45,8497.28
+1001001,'amalgamalg #1',19,3,8431.69
+9016003,'corpunivamalg #3',18,8,8380.89
+10002012,'importounivamalg #12',17,1,8360.00
+8016004,'corpmaxi #4',17,34,8241.06
+2004002,'edu packimporto #2',19,14,8165.73
+2001002,'amalgimporto #2',17,34,8160.75
+5002001,'importoscholar #1',9,22,8143.74
+2003001,'exportiimporto #1',9,59,8113.05
+6007003,'brandcorp #3',6,9,8053.44
+10015004,'scholaramalgamalg #4',17,58,7966.40
+5002001,'importoscholar #1',19,59,7964.88
+2003001,'exportiimporto #1',9,17,7900.62
+8002009,'importonameless #9',18,28,7891.65
+7013007,'exportinameless #7',19,49,7855.88
+3003001,'exportiexporti #1',19,49,7845.76
+3001001,'amalgexporti #1',7,26,7840.00
+3004001,'edu packexporti #1',18,0,7698.24
+6011005,'amalgbrand #5',17,13,7649.00
+8013007,'exportimaxi #7',18,32,7629.60
+2003002,'exportiimporto #2',18,26,7621.35
+1003002,'exportiamalg #2',18,35,7620.51
+2004001,'edu packimporto #1',17,3,7568.00
+3001001,'amalgexporti #1',19,1,7502.67
+7010009,'univnameless #9',9,5,7459.82
+3002001,'importoexporti #1',19,3,7400.40
+5002002,'importoscholar #2',19,19,7349.90
+1003002,'exportiamalg #2',9,41,7345.80
+6002005,'importocorp #5',19,43,7341.75
+2003001,'exportiimporto #1',8,42,7326.20
+6012008,'importobrand #8',9,53,7286.37
+10003016,'exportiunivamalg #16',19,43,7272.65
+3003002,'exportiexporti #2',7,31,7195.50
+8016004,'corpmaxi #4',18,55,7186.20
+6011001,'amalgbrand #1',9,18,7129.56
+6005001,'scholarcorp #1',9,44,7129.00
+5003001,'exportischolar #1',17,28,7029.12
+3002001,'importoexporti #1',9,59,6964.25
+6008007,'namelesscorp #7',18,47,6953.36
+7001005,'amalgbrand #5',8,12,6940.96
+1002002,'importoamalg #2',18,51,6924.69
+5001001,'amalgscholar #1',19,57,6841.12
+6015006,'scholarbrand #6',18,23,6755.76
+5002002,'importoscholar #2',19,31,6745.90
+2004002,'edu packimporto #2',17,2,6744.98
+5003001,'exportischolar #1',9,24,6694.80
+10002012,'importounivamalg #12',18,16,6634.95
+5004001,'edu packscholar #1',8,19,6527.50
+5003001,'exportischolar #1',9,53,6525.33
+1004002,'edu packamalg #2',17,32,6524.70
+1002001,'importoamalg #1',17,22,6511.08
+3002002,'importoexporti #2',19,13,6487.20
+10002012,'importounivamalg #12',18,3,6471.90
+3003001,'exportiexporti #1',17,9,6450.60
+4004002,'edu packedu pack #2',17,3,6447.42
+1002001,'importoamalg #1',6,6,6334.24
+10009015,'maxiunivamalg #15',8,32,6322.29
+10012004,'importoamalgamalg #4',6,49,6234.24
+10012011,'importoamalgamalg #11',19,27,6218.47
+9008002,'namelessmaxi #2',17,41,6207.45
+3002001,'importoexporti #1',18,3,6203.20
+7004007,'edu packbrand #7',9,23,6173.10
+1004002,'edu packamalg #2',17,2,6118.65
+5001002,'amalgscholar #2',18,15,6118.20
+6012005,'importobrand #5',17,30,6063.57
+1003002,'exportiamalg #2',18,52,6013.26
+4003001,'exportiedu pack #1',9,54,5994.50
+3003001,'exportiexporti #1',19,38,5990.76
+7010003,'univnameless #3',19,4,5952.32
+3002001,'importoexporti #1',18,50,5950.48
+9012003,'importounivamalg #3',8,30,5922.09
+1004001,'edu packamalg #1',17,57,5860.74
+8013009,'exportimaxi #9',9,53,5808.00
+10010013,'univamalgamalg #13',7,11,5799.04
+10003004,'exportiunivamalg #4',18,18,5692.22
+8002009,'importonameless #9',19,33,5633.00
+1003001,'exportiamalg #1',7,57,5617.50
+10010013,'univamalgamalg #13',17,7,5590.62
+5003001,'exportischolar #1',7,44,5589.90
+6006007,'corpcorp #7',6,1,5578.24
+9008002,'namelessmaxi #2',17,33,5547.78
+10003016,'exportiunivamalg #16',17,55,5519.20
+5002001,'importoscholar #1',18,2,5471.54
+10012017,'importoamalgamalg #17',18,54,5415.90
+10012011,'importoamalgamalg #11',18,17,5384.79
+1004002,'edu packamalg #2',9,53,5382.72
+7016001,'corpnameless #1',17,32,5382.09
+9008005,'namelessmaxi #5',6,9,5382.09
+2001001,'amalgimporto #1',6,40,5295.40
+3002001,'importoexporti #1',6,40,5245.80
+1002002,'importoamalg #2',18,15,5240.76
+3004001,'edu packexporti #1',9,36,5218.56
+5003001,'exportischolar #1',17,14,5214.72
+3003002,'exportiexporti #2',19,5,5201.25
+2004002,'edu packimporto #2',9,41,5165.58
+9013009,'exportiunivamalg #9',7,31,5155.29
+2003001,'exportiimporto #1',18,28,5107.41
+3003001,'exportiexporti #1',17,56,5104.62
+6015006,'scholarbrand #6',19,58,5080.60
+3003001,'exportiexporti #1',8,32,5008.64
+10004001,'edu packunivamalg #1',9,20,5002.40
+8013007,'exportimaxi #7',19,3,4989.95
+8016004,'corpmaxi #4',19,8,4979.25
+6003008,'exporticorp #8',18,38,4955.40
+3002002,'importoexporti #2',8,51,4938.16
+8014005,'edu packmaxi #5',19,38,4893.48
+5003001,'exportischolar #1',18,1,4889.22
+6003008,'exporticorp #8',9,18,4794.00
+5002001,'importoscholar #1',19,9,4787.43
+4003001,'exportiedu pack #1',9,51,4781.14
+9015009,'scholarunivamalg #9',8,52,4774.34
+5002002,'importoscholar #2',6,3,4774.25
+1001002,'amalgamalg #2',19,31,4758.75
+5002002,'importoscholar #2',19,15,4754.40
+2003001,'exportiimporto #1',9,32,4723.95
+3003001,'exportiexporti #1',19,40,4711.07
+10003004,'exportiunivamalg #4',19,43,4701.06
+2001002,'amalgimporto #2',19,9,4681.05
+7014001,'edu packnameless #1',6,35,4646.40
+5001001,'amalgscholar #1',17,56,4638.84
+6010005,'univbrand #5',19,23,4606.83
+1004002,'edu packamalg #2',7,0,4599.14
+6016003,'corpbrand #3',17,33,4592.04
+4001001,'amalgedu pack #1',17,8,4586.22
+9012005,'importounivamalg #5',19,59,4581.56
+3002001,'importoexporti #1',17,5,4561.20
+10012011,'importoamalgamalg #11',18,29,4531.45
+6008005,'namelesscorp #5',18,27,4498.44
+1003001,'exportiamalg #1',19,4,4483.98
+5003001,'exportischolar #1',18,31,4452.80
+3002002,'importoexporti #2',18,52,4436.80
+1003002,'exportiamalg #2',9,38,4428.98
+1004002,'edu packamalg #2',9,55,4427.52
+5003001,'exportischolar #1',19,2,4412.78
+1003002,'exportiamalg #2',18,53,4374.72
+6005001,'scholarcorp #1',17,55,4367.72
+9012008,'importounivamalg #8',18,11,4354.35
+5002001,'importoscholar #1',18,32,4324.52
+7013007,'exportinameless #7',18,47,4323.55
+9013009,'exportiunivamalg #9',17,42,4321.92
+4004001,'edu packedu pack #1',8,22,4316.62
+8004003,'edu packnameless #3',17,23,4282.17
+2004002,'edu packimporto #2',7,56,4267.90
+1003002,'exportiamalg #2',9,49,4255.80
+7013007,'exportinameless #7',19,42,4252.78
+9015011,'scholarunivamalg #11',8,55,4235.00
+1002002,'importoamalg #2',17,0,4183.34
+6010005,'univbrand #5',9,27,4172.35
+6007003,'brandcorp #3',19,33,4146.75
+2004001,'edu packimporto #1',19,33,4138.56
+6005001,'scholarcorp #1',19,55,4137.88
+6016003,'corpbrand #3',9,41,4100.88
+9014011,'edu packunivamalg #11',17,50,4100.40
+5003001,'exportischolar #1',18,17,4099.20
+5003001,'exportischolar #1',9,28,4064.76
+1004002,'edu packamalg #2',17,16,4061.68
+10012017,'importoamalgamalg #17',8,53,4045.00
+4004001,'edu packedu pack #1',17,15,4028.96
+6002005,'importocorp #5',17,22,4011.30
+4003001,'exportiedu pack #1',9,42,3952.59
+7004007,'edu packbrand #7',7,19,3943.82
+10002012,'importounivamalg #12',19,19,3925.48
+10009015,'maxiunivamalg #15',7,51,3912.99
+4001001,'amalgedu pack #1',17,55,3890.08
+10002012,'importounivamalg #12',18,10,3870.00
+10004001,'edu packunivamalg #1',18,13,3864.00
+5004002,'edu packscholar #2',18,50,3863.88
+6008002,'namelesscorp #2',18,38,3841.04
+1001001,'amalgamalg #1',19,44,3818.40
+10002012,'importounivamalg #12',17,51,3766.14
+2004001,'edu packimporto #1',18,4,3757.34
+10003004,'exportiunivamalg #4',7,34,3756.20
+9012008,'importounivamalg #8',18,56,3735.84
+5001001,'amalgscholar #1',19,12,3735.76
+7015007,'scholarnameless #7',17,55,3734.28
+2001002,'amalgimporto #2',8,51,3725.90
+5002002,'importoscholar #2',17,38,3709.44
+7016007,'corpnameless #7',19,53,3701.95
+8002009,'importonameless #9',9,18,3686.90
+8014005,'edu packmaxi #5',18,43,3649.00
+9008002,'namelessmaxi #2',17,52,3635.28
+5001001,'amalgscholar #1',19,19,3617.97
+4003001,'exportiedu pack #1',17,43,3598.98
+6009003,'maxicorp #3',17,6,3596.58
+7012003,'importonameless #3',9,29,3573.75
+9012003,'importounivamalg #3',17,2,3568.96
+1001002,'amalgamalg #2',19,59,3542.94
+1001002,'amalgamalg #2',18,37,3522.98
+8011009,'amalgmaxi #9',19,35,3485.72
+1003002,'exportiamalg #2',19,58,3423.80
+1001002,'amalgamalg #2',18,25,3408.48
+4004002,'edu packedu pack #2',17,2,3400.05
+6008007,'namelesscorp #7',18,16,3395.62
+5002002,'importoscholar #2',6,23,3383.10
+1002002,'importoamalg #2',9,48,3374.00
+4003001,'exportiedu pack #1',8,33,3358.72
+5001001,'amalgscholar #1',18,27,3326.04
+3002002,'importoexporti #2',17,18,3304.55
+7010004,'univnameless #4',18,7,3301.28
+9016003,'corpunivamalg #3',8,42,3279.18
+6016003,'corpbrand #3',9,9,3262.08
+7015007,'scholarnameless #7',9,48,3249.72
+8004003,'edu packnameless #3',18,44,3232.48
+5003002,'exportischolar #2',9,47,3222.66
+1002002,'importoamalg #2',8,37,3220.80
+3004001,'edu packexporti #1',7,56,3218.22
+3001001,'amalgexporti #1',17,10,3217.50
+7010009,'univnameless #9',18,26,3215.11
+1002001,'importoamalg #1',17,46,3195.24
+2004002,'edu packimporto #2',18,46,3194.31
+5001001,'amalgscholar #1',17,54,3180.02
+7008009,'namelessbrand #9',17,52,3146.96
+2004002,'edu packimporto #2',17,46,3144.40
+3004001,'edu packexporti #1',19,14,3127.20
+7010004,'univnameless #4',9,16,3126.90
+3001001,'amalgexporti #1',8,38,3125.32
+1003001,'exportiamalg #1',19,10,3110.49
+6012008,'importobrand #8',19,13,3101.32
+1003002,'exportiamalg #2',8,56,3097.12
+6005001,'scholarcorp #1',8,14,3096.90
+6016003,'corpbrand #3',19,31,3094.50
+7010004,'univnameless #4',19,4,3093.35
+10002012,'importounivamalg #12',18,0,3063.20
+2004001,'edu packimporto #1',19,4,3051.40
+8014005,'edu packmaxi #5',17,40,3049.76
+1001001,'amalgamalg #1',18,49,3045.12
+3004001,'edu packexporti #1',7,50,3029.00
+10012017,'importoamalgamalg #17',18,26,3027.72
+1003001,'exportiamalg #1',8,35,3007.26
+8005005,'scholarnameless #5',6,50,2972.97
+1003002,'exportiamalg #2',8,25,2957.35
+4001001,'amalgedu pack #1',9,12,2930.95
+1002002,'importoamalg #2',9,9,2926.95
+6008005,'namelesscorp #5',9,1,2902.58
+3002002,'importoexporti #2',17,15,2902.20
+2001002,'amalgimporto #2',19,47,2894.46
+1003001,'exportiamalg #1',9,58,2871.44
+9012005,'importounivamalg #5',18,34,2864.88
+3003002,'exportiexporti #2',18,8,2844.00
+10013013,'exportiamalgamalg #13',8,0,2831.12
+5002001,'importoscholar #1',17,38,2822.47
+7016007,'corpnameless #7',17,56,2817.48
+9015011,'scholarunivamalg #11',8,2,2811.48
+1001001,'amalgamalg #1',9,18,2793.44
+4004001,'edu packedu pack #1',9,54,2787.20
+1003001,'exportiamalg #1',7,23,2784.84
+1003002,'exportiamalg #2',18,21,2783.00
+1003001,'exportiamalg #1',17,37,2779.50
+2004002,'edu packimporto #2',19,26,2776.36
+6009003,'maxicorp #3',19,38,2763.09
+1003001,'exportiamalg #1',17,41,2751.84
+2001002,'amalgimporto #2',18,24,2749.95
+10015013,'scholaramalgamalg #13',8,25,2746.86
+3002001,'importoexporti #1',17,13,2741.54
+4001001,'amalgedu pack #1',9,3,2738.34
+9012003,'importounivamalg #3',9,18,2732.40
+5001001,'amalgscholar #1',17,43,2731.37
+2001002,'amalgimporto #2',9,36,2715.18
+3003001,'exportiexporti #1',19,25,2713.30
+5001001,'amalgscholar #1',17,52,2707.54
+3002001,'importoexporti #1',18,20,2694.50
+6008002,'namelesscorp #2',18,48,2683.20
+1003002,'exportiamalg #2',17,59,2670.50
+1002002,'importoamalg #2',9,36,2668.77
+1003001,'exportiamalg #1',9,26,2633.15
+4003001,'exportiedu pack #1',9,38,2631.20
+9015011,'scholarunivamalg #11',18,16,2621.71
+7010009,'univnameless #9',18,48,2609.88
+8005005,'scholarnameless #5',19,55,2606.45
+10012011,'importoamalgamalg #11',17,9,2589.95
+1002001,'importoamalg #1',19,21,2579.48
+4002001,'importoedu pack #1',18,51,2567.40
+5003001,'exportischolar #1',8,50,2555.28
+1004002,'edu packamalg #2',18,24,2551.16
+2003001,'exportiimporto #1',19,58,2528.40
+6005001,'scholarcorp #1',17,45,2522.52
+6007003,'brandcorp #3',17,49,2522.15
+1002001,'importoamalg #1',19,14,2513.30
+10010013,'univamalgamalg #13',8,30,2513.25
+4001001,'amalgedu pack #1',19,9,2512.00
+7010004,'univnameless #4',17,44,2509.78
+8003010,'exportinameless #10',18,27,2507.44
+6011008,'amalgbrand #8',18,5,2505.00
+7010004,'univnameless #4',8,21,2502.36
+6012008,'importobrand #8',8,33,2495.65
+8004003,'edu packnameless #3',18,52,2495.22
+1001002,'amalgamalg #2',18,11,2491.16
+7010003,'univnameless #3',7,5,2485.08
+4004002,'edu packedu pack #2',18,23,2483.01
+8016004,'corpmaxi #4',18,43,2482.62
+10004001,'edu packunivamalg #1',8,39,2472.93
+2003002,'exportiimporto #2',9,41,2471.90
+6011001,'amalgbrand #1',7,21,2458.17
+8011009,'amalgmaxi #9',19,5,2457.99
+6002005,'importocorp #5',19,0,2454.03
+1002002,'importoamalg #2',19,57,2451.06
+5001002,'amalgscholar #2',19,42,2444.80
+9014011,'edu packunivamalg #11',17,44,2436.40
+10003004,'exportiunivamalg #4',19,46,2423.18
+6016003,'corpbrand #3',19,19,2421.65
+8004009,'edu packnameless #9',19,44,2421.51
+2002001,'importoimporto #1',8,8,2420.34
+6012005,'importobrand #5',7,20,2412.30
+3003001,'exportiexporti #1',7,29,2408.70
+3002001,'importoexporti #1',18,21,2403.96
+3002002,'importoexporti #2',8,58,2399.13
+2001002,'amalgimporto #2',17,12,2396.61
+5003002,'exportischolar #2',17,37,2388.24
+4004001,'edu packedu pack #1',17,5,2386.20
+5003002,'exportischolar #2',9,29,2378.69
+3004001,'edu packexporti #1',17,46,2375.45
+9014011,'edu packunivamalg #11',19,18,2363.04
+1003001,'exportiamalg #1',8,5,2360.81
+1003001,'exportiamalg #1',19,19,2355.12
+6002005,'importocorp #5',8,27,2351.04
+2002001,'importoimporto #1',19,47,2338.56
+6007003,'brandcorp #3',9,4,2335.10
+8004003,'edu packnameless #3',9,44,2314.40
+5003001,'exportischolar #1',19,58,2294.62
+8002009,'importonameless #9',18,12,2266.60
+3004001,'edu packexporti #1',19,9,2261.52
+7010003,'univnameless #3',18,35,2234.40
+4004001,'edu packedu pack #1',9,25,2215.21
+3003001,'exportiexporti #1',8,9,2206.47
+1003002,'exportiamalg #2',17,41,2197.60
+6008007,'namelesscorp #7',18,0,2190.24
+3002001,'importoexporti #1',17,51,2181.96
+8013007,'exportimaxi #7',7,11,2180.76
+6005001,'scholarcorp #1',18,43,2174.48
+6006007,'corpcorp #7',7,24,2158.40
+6002003,'importocorp #3',19,26,2152.17
+1001001,'amalgamalg #1',19,53,2149.70
+5003001,'exportischolar #1',8,59,2144.73
+6005001,'scholarcorp #1',9,25,2143.10
+7008009,'namelessbrand #9',19,39,2132.41
+3003001,'exportiexporti #1',19,53,2118.88
+9015009,'scholarunivamalg #9',19,3,2114.64
+10013013,'exportiamalgamalg #13',7,33,2103.93
+8003010,'exportinameless #10',17,28,2084.72
+8003010,'exportinameless #10',17,42,2082.86
+8002009,'importonameless #9',9,37,2079.84
+4001001,'amalgedu pack #1',19,43,2067.52
+5004002,'edu packscholar #2',19,2,2061.30
+5004002,'edu packscholar #2',18,7,2049.67
+10004001,'edu packunivamalg #1',18,49,2031.20
+1003001,'exportiamalg #1',18,21,2028.31
+4001002,'amalgedu pack #2',19,19,2018.40
+5002002,'importoscholar #2',19,18,2016.96
+4001002,'amalgedu pack #2',6,3,2012.80
+6011005,'amalgbrand #5',9,53,1997.52
+6011008,'amalgbrand #8',8,28,1995.60
+6007003,'brandcorp #3',17,33,1995.20
+3003001,'exportiexporti #1',9,22,1982.73
+5002002,'importoscholar #2',17,49,1980.88
+2001002,'amalgimporto #2',17,27,1955.20
+7007004,'brandbrand #4',9,31,1954.11
+2001002,'amalgimporto #2',17,11,1951.95
+2004001,'edu packimporto #1',19,50,1934.46
+4004001,'edu packedu pack #1',9,11,1930.50
+7010003,'univnameless #3',19,20,1926.24
+1004002,'edu packamalg #2',8,13,1922.68
+9013009,'exportiunivamalg #9',19,55,1906.92
+8004003,'edu packnameless #3',19,58,1905.78
+6008007,'namelesscorp #7',17,2,1905.12
+1002001,'importoamalg #1',9,28,1904.10
+1002002,'importoamalg #2',9,42,1893.54
+4001002,'amalgedu pack #2',17,55,1880.97
+1004001,'edu packamalg #1',19,42,1878.76
+1001001,'amalgamalg #1',17,19,1877.46
+2003002,'exportiimporto #2',18,9,1874.40
+9012008,'importounivamalg #8',18,22,1873.02
+1002002,'importoamalg #2',18,42,1852.20
+6002003,'importocorp #3',17,39,1840.98
+5002002,'importoscholar #2',18,14,1817.00
+1001001,'amalgamalg #1',17,59,1813.11
+7012003,'importonameless #3',18,18,1807.85
+7016001,'corpnameless #1',19,5,1806.68
+8005005,'scholarnameless #5',17,31,1800.48
+5002001,'importoscholar #1',6,7,1789.20
+9015009,'scholarunivamalg #9',6,44,1788.93
+3002001,'importoexporti #1',8,52,1770.00
+3002002,'importoexporti #2',6,41,1760.58
+1001001,'amalgamalg #1',9,14,1745.24
+1004002,'edu packamalg #2',18,32,1742.52
+9013009,'exportiunivamalg #9',9,36,1737.57
+10015004,'scholaramalgamalg #4',9,2,1736.72
+7010003,'univnameless #3',7,58,1735.12
+6016003,'corpbrand #3',8,54,1733.08
+7008009,'namelessbrand #9',19,27,1726.56
+5002001,'importoscholar #1',8,24,1725.50
+9013009,'exportiunivamalg #9',18,43,1722.16
+2002001,'importoimporto #1',9,43,1715.64
+5003001,'exportischolar #1',17,32,1714.80
+5001001,'amalgscholar #1',18,35,1713.96
+7004007,'edu packbrand #7',17,57,1713.28
+4001001,'amalgedu pack #1',19,13,1708.26
+6007003,'brandcorp #3',17,51,1707.48
+4001002,'amalgedu pack #2',19,51,1706.46
+1003001,'exportiamalg #1',18,3,1704.75
+10010013,'univamalgamalg #13',18,51,1677.20
+2004002,'edu packimporto #2',17,59,1676.84
+2001002,'amalgimporto #2',18,21,1659.84
+5001002,'amalgscholar #2',18,35,1654.44
+2002001,'importoimporto #1',17,4,1649.28
+5004001,'edu packscholar #1',6,36,1646.50
+3002001,'importoexporti #1',17,14,1644.96
+4004001,'edu packedu pack #1',17,18,1644.00
+4001001,'amalgedu pack #1',17,28,1643.76
+5001001,'amalgscholar #1',19,21,1643.22
+4001001,'amalgedu pack #1',6,45,1639.44
+1004001,'edu packamalg #1',8,16,1629.81
+1001002,'amalgamalg #2',9,48,1624.59
+9008005,'namelessmaxi #5',17,4,1621.62
+1002002,'importoamalg #2',9,56,1600.82
+9013009,'exportiunivamalg #9',18,51,1590.00
+10012017,'importoamalgamalg #17',17,16,1565.38
+5002001,'importoscholar #1',19,55,1563.38
+10015013,'scholaramalgamalg #13',19,51,1553.20
+3004001,'edu packexporti #1',9,31,1541.43
+5003002,'exportischolar #2',17,2,1540.54
+8013007,'exportimaxi #7',18,51,1537.90
+5004002,'edu packscholar #2',19,24,1514.74
+4003001,'exportiedu pack #1',8,3,1514.43
+2001002,'amalgimporto #2',18,48,1511.30
+1001002,'amalgamalg #2',17,55,1505.25
+2004001,'edu packimporto #1',19,27,1490.13
+4001001,'amalgedu pack #1',17,15,1488.84
+6005001,'scholarcorp #1',17,14,1488.52
+9015011,'scholarunivamalg #11',18,55,1487.52
+5003001,'exportischolar #1',9,26,1482.30
+5004002,'edu packscholar #2',18,47,1481.61
+10009015,'maxiunivamalg #15',19,55,1476.75
+2004002,'edu packimporto #2',9,3,1475.84
+7016007,'corpnameless #7',17,42,1470.52
+5003001,'exportischolar #1',17,59,1466.25
+5004002,'edu packscholar #2',18,35,1462.00
+5003001,'exportischolar #1',18,10,1461.98
+1003001,'exportiamalg #1',19,50,1455.83
+5003001,'exportischolar #1',8,25,1446.36
+1004001,'edu packamalg #1',19,26,1439.04
+6011005,'amalgbrand #5',18,33,1435.50
+5002001,'importoscholar #1',19,33,1434.24
+3004001,'edu packexporti #1',18,49,1433.88
+4001002,'amalgedu pack #2',7,40,1431.54
+4004001,'edu packedu pack #1',17,37,1430.37
+1003002,'exportiamalg #2',7,40,1418.18
+1002002,'importoamalg #2',17,44,1415.25
+2001002,'amalgimporto #2',7,8,1414.14
+5002002,'importoscholar #2',17,30,1404.00
+5003001,'exportischolar #1',19,10,1403.22
+7012003,'importonameless #3',9,22,1399.96
+3003001,'exportiexporti #1',18,33,1386.35
+3002001,'importoexporti #1',17,40,1379.04
+9014011,'edu packunivamalg #11',17,3,1364.52
+5003001,'exportischolar #1',9,46,1361.57
+5001002,'amalgscholar #2',19,51,1360.00
+2004002,'edu packimporto #2',9,28,1353.15
+9015009,'scholarunivamalg #9',18,9,1352.61
+5002002,'importoscholar #2',17,52,1345.02
+1002002,'importoamalg #2',18,27,1343.93
+6011008,'amalgbrand #8',9,39,1341.93
+1004002,'edu packamalg #2',17,11,1340.64
+5003001,'exportischolar #1',17,11,1328.00
+6002003,'importocorp #3',17,20,1327.58
+6012008,'importobrand #8',9,10,1327.19
+7010003,'univnameless #3',19,49,1319.57
+2003001,'exportiimporto #1',9,23,1310.16
+3002002,'importoexporti #2',17,45,1301.90
+3003001,'exportiexporti #1',8,19,1301.37
+6011008,'amalgbrand #8',9,33,1278.35
+10003004,'exportiunivamalg #4',9,23,1272.43
+3004001,'edu packexporti #1',18,21,1270.66
+2001002,'amalgimporto #2',17,22,1269.07
+4004002,'edu packedu pack #2',19,7,1264.56
+1004002,'edu packamalg #2',19,0,1261.65
+10015013,'scholaramalgamalg #13',9,34,1257.30
+1001001,'amalgamalg #1',17,56,1250.08
+3003002,'exportiexporti #2',18,26,1248.48
+9012005,'importounivamalg #5',7,0,1230.20
+9015009,'scholarunivamalg #9',18,40,1222.64
+3003002,'exportiexporti #2',9,42,1217.28
+2001002,'amalgimporto #2',7,46,1213.44
+10004001,'edu packunivamalg #1',18,58,1212.96
+3001001,'amalgexporti #1',9,41,1211.50
+6006007,'corpcorp #7',18,59,1210.32
+5003001,'exportischolar #1',18,14,1210.20
+5001001,'amalgscholar #1',8,31,1205.50
+9016003,'corpunivamalg #3',17,53,1200.00
+10013015,'exportiamalgamalg #15',17,14,1192.50
+1002002,'importoamalg #2',19,16,1182.37
+1002002,'importoamalg #2',19,42,1178.88
+10012011,'importoamalgamalg #11',17,31,1173.28
+3003001,'exportiexporti #1',8,48,1167.05
+5002002,'importoscholar #2',18,40,1159.40
+2001002,'amalgimporto #2',9,3,1157.20
+5003002,'exportischolar #2',19,6,1150.92
+5003001,'exportischolar #1',9,29,1150.77
+10009015,'maxiunivamalg #15',18,2,1150.73
+1004001,'edu packamalg #1',19,2,1148.16
+3003001,'exportiexporti #1',9,14,1139.60
+2001001,'amalgimporto #1',17,28,1135.06
+4003001,'exportiedu pack #1',6,50,1129.20
+8016004,'corpmaxi #4',17,32,1127.61
+9015009,'scholarunivamalg #9',18,18,1124.16
+5002001,'importoscholar #1',8,48,1123.47
+8003010,'exportinameless #10',9,0,1123.08
+1004002,'edu packamalg #2',19,25,1117.39
+7012010,'importonameless #10',19,35,1114.76
+1001002,'amalgamalg #2',9,46,1114.40
+10012017,'importoamalgamalg #17',17,7,1107.54
+10009015,'maxiunivamalg #15',17,29,1104.61
+6010005,'univbrand #5',17,24,1102.20
+6011001,'amalgbrand #1',19,21,1098.30
+3002001,'importoexporti #1',18,39,1094.10
+10004001,'edu packunivamalg #1',17,26,1081.80
+9016003,'corpunivamalg #3',19,8,1079.54
+6011005,'amalgbrand #5',17,31,1071.00
+9015009,'scholarunivamalg #9',18,30,1062.06
+6008007,'namelesscorp #7',19,54,1058.93
+8014005,'edu packmaxi #5',9,34,1058.00
+10013015,'exportiamalgamalg #15',8,30,1057.80
+6006007,'corpcorp #7',19,54,1055.43
+2004002,'edu packimporto #2',18,28,1052.64
+1002002,'importoamalg #2',9,27,1040.43
+7008009,'namelessbrand #9',19,45,1037.51
+2002001,'importoimporto #1',7,32,1023.75
+7012010,'importonameless #10',7,19,1016.80
+5004002,'edu packscholar #2',17,10,1016.60
+6015006,'scholarbrand #6',19,0,1010.91
+1003001,'exportiamalg #1',9,36,1007.81
+7016007,'corpnameless #7',18,45,992.74
+6005001,'scholarcorp #1',19,16,991.98
+5002002,'importoscholar #2',18,27,986.24
+8002009,'importonameless #9',9,23,983.40
+1002001,'importoamalg #1',19,26,977.60
+10002012,'importounivamalg #12',18,4,963.80
+1003001,'exportiamalg #1',17,40,953.55
+8011009,'amalgmaxi #9',19,42,951.60
+4004002,'edu packedu pack #2',9,34,951.00
+4004002,'edu packedu pack #2',18,18,943.66
+2002001,'importoimporto #1',9,20,943.56
+8014005,'edu packmaxi #5',18,24,943.00
+3002002,'importoexporti #2',18,24,935.00
+8003010,'exportinameless #10',7,24,931.32
+7016007,'corpnameless #7',17,28,924.66
+5003002,'exportischolar #2',9,14,920.46
+5001001,'amalgscholar #1',19,54,920.16
+5001001,'amalgscholar #1',18,23,909.48
+6002005,'importocorp #5',18,4,904.12
+1002001,'importoamalg #1',19,40,901.60
+5003001,'exportischolar #1',6,18,901.42
+9014011,'edu packunivamalg #11',8,40,896.49
+7016007,'corpnameless #7',19,16,892.64
+4001002,'amalgedu pack #2',17,14,886.48
+7010003,'univnameless #3',18,37,883.34
+10013013,'exportiamalgamalg #13',7,42,879.36
+1002001,'importoamalg #1',17,32,876.30
+2003001,'exportiimporto #1',18,54,864.36
+10004004,'edu packunivamalg #4',19,59,861.10
+7004009,'edu packbrand #9',9,36,858.73
+8014005,'edu packmaxi #5',9,22,850.23
+7004009,'edu packbrand #9',6,11,847.26
+4001001,'amalgedu pack #1',19,58,844.90
+2003002,'exportiimporto #2',6,17,842.40
+7010009,'univnameless #9',17,37,841.96
+1003002,'exportiamalg #2',19,33,839.90
+8004009,'edu packnameless #9',17,8,829.76
+9012003,'importounivamalg #3',8,59,829.20
+7012003,'importonameless #3',8,51,826.89
+3002001,'importoexporti #1',19,49,826.74
+9012005,'importounivamalg #5',17,45,821.48
+2001002,'amalgimporto #2',17,56,820.26
+2002001,'importoimporto #1',19,10,818.40
+5001001,'amalgscholar #1',19,18,818.09
+7016001,'corpnameless #1',19,50,817.11
+10013013,'exportiamalgamalg #13',17,44,814.80
+7010003,'univnameless #3',18,12,811.50
+6008007,'namelesscorp #7',17,20,810.46
+7016007,'corpnameless #7',9,54,810.24
+9012008,'importounivamalg #8',9,43,803.64
+4001001,'amalgedu pack #1',17,38,796.38
+4001002,'amalgedu pack #2',17,57,792.74
+5003002,'exportischolar #2',19,10,790.72
+7004009,'edu packbrand #9',9,8,789.88
+5001001,'amalgscholar #1',19,51,778.40
+4001001,'amalgedu pack #1',17,7,777.12
+3004001,'edu packexporti #1',19,17,763.00
+5001002,'amalgscholar #2',19,24,762.96
+9008005,'namelessmaxi #5',9,52,756.42
+3002001,'importoexporti #1',9,41,755.15
+5002002,'importoscholar #2',18,26,755.09
+6011001,'amalgbrand #1',6,46,752.80
+3002002,'importoexporti #2',19,19,748.41
+5002002,'importoscholar #2',19,27,745.92
+4003001,'exportiedu pack #1',18,35,745.20
+6002003,'importocorp #3',7,2,744.12
+3002001,'importoexporti #1',19,27,738.14
+1004002,'edu packamalg #2',19,5,736.92
+2002001,'importoimporto #1',9,32,735.13
+4001002,'amalgedu pack #2',17,6,724.80
+10012004,'importoamalgamalg #4',18,33,717.21
+2004002,'edu packimporto #2',9,46,716.38
+9012008,'importounivamalg #8',7,51,715.44
+2002001,'importoimporto #1',19,31,709.32
+8014005,'edu packmaxi #5',17,11,695.64
+2001002,'amalgimporto #2',8,54,688.71
+1001001,'amalgamalg #1',7,31,682.08
+1003002,'exportiamalg #2',8,19,681.56
+7010003,'univnameless #3',19,28,672.51
+3003002,'exportiexporti #2',18,29,665.01
+9008002,'namelessmaxi #2',17,4,660.04
+5003002,'exportischolar #2',9,57,650.43
+2003002,'exportiimporto #2',8,25,650.25
+2004002,'edu packimporto #2',18,57,646.34
+10003016,'exportiunivamalg #16',19,34,641.39
+1001002,'amalgamalg #2',19,54,634.68
+5001002,'amalgscholar #2',8,59,633.36
+3004001,'edu packexporti #1',18,4,633.06
+10010013,'univamalgamalg #13',18,32,630.00
+1002002,'importoamalg #2',19,21,628.67
+10012017,'importoamalgamalg #17',17,19,625.56
+1001002,'amalgamalg #2',18,45,622.21
+5002001,'importoscholar #1',19,32,615.12
+4004001,'edu packedu pack #1',19,50,610.50
+1004002,'edu packamalg #2',8,26,608.52
+6010005,'univbrand #5',7,17,598.91
+6005001,'scholarcorp #1',9,9,597.30
+10012017,'importoamalgamalg #17',19,11,595.65
+6011005,'amalgbrand #5',19,3,594.59
+3002001,'importoexporti #1',18,37,589.28
+6007003,'brandcorp #3',17,26,588.80
+1002001,'importoamalg #1',19,46,583.47
+2004002,'edu packimporto #2',19,16,581.28
+1004002,'edu packamalg #2',17,39,580.32
+6008002,'namelesscorp #2',9,3,578.97
+10015013,'scholaramalgamalg #13',18,20,574.24
+9015009,'scholarunivamalg #9',18,31,573.93
+2003002,'exportiimporto #2',19,52,568.92
+9008005,'namelessmaxi #5',17,42,567.64
+7004007,'edu packbrand #7',18,15,563.80
+5002002,'importoscholar #2',19,0,558.98
+8004003,'edu packnameless #3',18,21,558.90
+10012017,'importoamalgamalg #17',8,4,558.69
+9015011,'scholarunivamalg #11',19,54,555.36
+1002001,'importoamalg #1',19,20,554.88
+2004002,'edu packimporto #2',19,20,553.76
+1001001,'amalgamalg #1',19,13,549.43
+6015006,'scholarbrand #6',19,50,548.68
+10012011,'importoamalgamalg #11',9,19,541.25
+3004001,'edu packexporti #1',17,51,539.95
+1003001,'exportiamalg #1',6,53,528.90
+10015004,'scholaramalgamalg #4',19,42,525.80
+4004001,'edu packedu pack #1',17,35,524.59
+8002009,'importonameless #9',6,46,522.06
+5003002,'exportischolar #2',17,23,520.96
+4004001,'edu packedu pack #1',17,30,517.65
+7008009,'namelessbrand #9',17,29,514.25
+9012005,'importounivamalg #5',8,34,504.60
+10012004,'importoamalgamalg #4',8,8,503.10
+3002002,'importoexporti #2',18,21,490.82
+1002002,'importoamalg #2',18,31,489.72
+10012011,'importoamalgamalg #11',8,53,486.50
+9013009,'exportiunivamalg #9',17,24,478.00
+6008002,'namelesscorp #2',8,59,471.68
+10003016,'exportiunivamalg #16',18,20,471.66
+8016004,'corpmaxi #4',7,53,470.55
+4001001,'amalgedu pack #1',17,26,469.58
+1002001,'importoamalg #1',18,59,464.52
+9013009,'exportiunivamalg #9',9,8,462.80
+9008002,'namelessmaxi #2',9,51,458.82
+6009003,'maxicorp #3',17,44,457.74
+3002001,'importoexporti #1',8,5,454.77
+10012004,'importoamalgamalg #4',17,24,450.90
+4004001,'edu packedu pack #1',9,37,449.90
+6011008,'amalgbrand #8',17,4,445.12
+10015013,'scholaramalgamalg #13',8,32,438.48
+4003001,'exportiedu pack #1',9,31,424.26
+3002002,'importoexporti #2',8,35,421.26
+5004001,'edu packscholar #1',8,30,420.28
+1002001,'importoamalg #1',8,24,418.92
+1002002,'importoamalg #2',17,33,416.67
+5002002,'importoscholar #2',6,34,416.52
+2003002,'exportiimporto #2',18,18,414.12
+3002002,'importoexporti #2',9,28,414.12
+3003002,'exportiexporti #2',19,24,410.00
+5003001,'exportischolar #1',19,29,407.34
+5001001,'amalgscholar #1',18,40,405.15
+10009015,'maxiunivamalg #15',9,58,402.38
+3002001,'importoexporti #1',19,35,397.71
+3003001,'exportiexporti #1',17,28,389.88
+1001002,'amalgamalg #2',8,38,388.35
+8003010,'exportinameless #10',19,26,387.92
+7010003,'univnameless #3',17,11,387.00
+6011001,'amalgbrand #1',8,8,386.54
+1003001,'exportiamalg #1',6,10,386.40
+5001001,'amalgscholar #1',17,1,384.75
+5004002,'edu packscholar #2',18,15,379.68
+5001002,'amalgscholar #2',9,39,378.56
+3002002,'importoexporti #2',9,12,378.08
+5002001,'importoscholar #1',8,1,377.57
+6006007,'corpcorp #7',18,53,375.36
+1003002,'exportiamalg #2',18,0,374.99
+5003001,'exportischolar #1',18,43,374.68
+8002009,'importonameless #9',8,46,371.42
+3002001,'importoexporti #1',17,33,369.75
+3003002,'exportiexporti #2',9,20,367.90
+5002001,'importoscholar #1',18,53,365.10
+7015007,'scholarnameless #7',18,44,357.84
+8014005,'edu packmaxi #5',17,2,352.36
+10004004,'edu packunivamalg #4',19,3,344.64
+4001002,'amalgedu pack #2',8,50,341.33
+6010005,'univbrand #5',9,8,339.83
+9012005,'importounivamalg #5',8,3,339.57
+2001002,'amalgimporto #2',18,49,333.66
+1002002,'importoamalg #2',17,4,330.01
+8011009,'amalgmaxi #9',19,26,328.35
+5002002,'importoscholar #2',9,7,328.26
+9008002,'namelessmaxi #2',18,6,327.95
+5001001,'amalgscholar #1',17,19,323.90
+5003002,'exportischolar #2',17,26,320.31
+3002001,'importoexporti #1',18,31,319.90
+8013007,'exportimaxi #7',17,49,318.20
+6011008,'amalgbrand #8',8,13,315.10
+3003002,'exportiexporti #2',7,37,313.24
+7014001,'edu packnameless #1',18,38,312.80
+1003002,'exportiamalg #2',19,42,304.64
+2004002,'edu packimporto #2',9,24,304.36
+3003001,'exportiexporti #1',8,58,302.40
+4004001,'edu packedu pack #1',19,11,300.48
+6012005,'importobrand #5',19,25,299.52
+4004001,'edu packedu pack #1',19,48,276.92
+2001002,'amalgimporto #2',18,20,276.77
+2002001,'importoimporto #1',18,1,273.60
+1004002,'edu packamalg #2',8,49,264.60
+8003010,'exportinameless #10',19,57,263.19
+4003001,'exportiedu pack #1',18,37,260.23
+3003001,'exportiexporti #1',9,48,258.39
+7012003,'importonameless #3',9,2,258.24
+5002001,'importoscholar #1',18,38,257.53
+6005001,'scholarcorp #1',17,43,256.48
+5001002,'amalgscholar #2',17,44,255.00
+4001002,'amalgedu pack #2',7,6,253.80
+2001002,'amalgimporto #2',19,25,253.50
+1001001,'amalgamalg #1',8,16,253.34
+5002002,'importoscholar #2',17,51,252.56
+1002002,'importoamalg #2',18,29,250.80
+9015009,'scholarunivamalg #9',8,28,248.27
+3001001,'amalgexporti #1',19,57,247.68
+6003008,'exporticorp #8',18,47,244.44
+1004002,'edu packamalg #2',19,9,242.25
+2004001,'edu packimporto #1',17,48,241.50
+3003002,'exportiexporti #2',9,27,234.60
+1001001,'amalgamalg #1',19,54,234.00
+2002001,'importoimporto #1',18,33,232.56
+4003001,'exportiedu pack #1',19,20,231.99
+5003001,'exportischolar #1',19,27,231.84
+2001002,'amalgimporto #2',18,4,229.32
+4001001,'amalgedu pack #1',19,45,227.84
+5002002,'importoscholar #2',17,27,227.52
+5004001,'edu packscholar #1',18,30,225.21
+2002001,'importoimporto #1',17,51,222.80
+7004009,'edu packbrand #9',19,36,221.85
+3003002,'exportiexporti #2',17,21,221.20
+8005008,'scholarnameless #8',18,20,220.83
+6003008,'exporticorp #8',17,16,218.16
+6008005,'namelesscorp #5',18,51,216.69
+9008002,'namelessmaxi #2',17,28,215.76
+2001002,'amalgimporto #2',9,27,213.64
+6015006,'scholarbrand #6',6,14,212.28
+6015006,'scholarbrand #6',19,26,211.85
+4001001,'amalgedu pack #1',9,48,211.32
+1004002,'edu packamalg #2',7,2,210.14
+3002001,'importoexporti #1',9,26,209.95
+6010005,'univbrand #5',17,3,208.32
+7004009,'edu packbrand #9',17,25,208.25
+7010004,'univnameless #4',19,23,208.20
+9012005,'importounivamalg #5',18,4,205.70
+3003001,'exportiexporti #1',7,23,203.61
+1001002,'amalgamalg #2',19,48,203.28
+4003001,'exportiedu pack #1',8,1,202.30
+2004001,'edu packimporto #1',19,10,202.12
+4001002,'amalgedu pack #2',17,53,198.33
+6010005,'univbrand #5',8,18,197.37
+3003001,'exportiexporti #1',17,6,196.38
+1004001,'edu packamalg #1',17,26,194.18
+7004009,'edu packbrand #9',17,42,193.39
+3001001,'amalgexporti #1',17,33,191.98
+1001002,'amalgamalg #2',17,26,190.50
+3002001,'importoexporti #1',8,1,186.93
+9015009,'scholarunivamalg #9',19,9,186.30
+2003001,'exportiimporto #1',19,11,184.90
+6003008,'exporticorp #8',6,32,182.90
+4003001,'exportiedu pack #1',17,45,182.28
+9015009,'scholarunivamalg #9',17,32,181.60
+6011008,'amalgbrand #8',9,14,178.22
+2002001,'importoimporto #1',18,34,177.79
+9012005,'importounivamalg #5',19,25,176.67
+6008002,'namelesscorp #2',17,31,176.19
+8013009,'exportimaxi #9',19,25,174.96
+2004001,'edu packimporto #1',18,42,172.48
+8013009,'exportimaxi #9',19,31,168.82
+3003001,'exportiexporti #1',9,1,156.98
+7010009,'univnameless #9',9,22,155.40
+4004001,'edu packedu pack #1',9,32,154.79
+3003002,'exportiexporti #2',19,36,154.38
+3003001,'exportiexporti #1',9,6,151.92
+1001001,'amalgamalg #1',9,41,148.05
+9015009,'scholarunivamalg #9',8,38,147.92
+5003001,'exportischolar #1',19,28,147.14
+2001001,'amalgimporto #1',18,47,142.29
+5002001,'importoscholar #1',8,52,141.15
+6002003,'importocorp #3',17,53,140.40
+2003002,'exportiimporto #2',9,49,137.40
+10003016,'exportiunivamalg #16',19,4,137.40
+4001001,'amalgedu pack #1',7,58,135.78
+7010004,'univnameless #4',17,26,129.50
+5003001,'exportischolar #1',9,43,129.24
+1003002,'exportiamalg #2',7,42,127.68
+6008002,'namelesscorp #2',19,53,127.32
+5001001,'amalgscholar #1',9,38,126.56
+2002001,'importoimporto #1',17,40,126.49
+4004001,'edu packedu pack #1',18,52,122.67
+5001001,'amalgscholar #1',17,10,118.36
+2002001,'importoimporto #1',17,38,116.16
+5003001,'exportischolar #1',8,1,116.10
+8005008,'scholarnameless #8',8,19,111.68
+8004009,'edu packnameless #9',8,59,110.90
+9014011,'edu packunivamalg #11',19,9,110.12
+1002002,'importoamalg #2',19,52,109.44
+2001002,'amalgimporto #2',18,31,108.78
+3002001,'importoexporti #1',17,1,108.45
+2002001,'importoimporto #1',19,15,107.64
+3004001,'edu packexporti #1',18,16,106.60
+1004002,'edu packamalg #2',9,12,103.87
+3003001,'exportiexporti #1',19,16,101.58
+3004001,'edu packexporti #1',17,1,100.80
+6002005,'importocorp #5',9,41,99.00
+4003001,'exportiedu pack #1',9,47,98.25
+7010009,'univnameless #9',8,48,95.36
+3002001,'importoexporti #1',6,50,95.22
+7016001,'corpnameless #1',9,37,93.22
+3004001,'edu packexporti #1',9,40,91.77
+9012005,'importounivamalg #5',6,45,91.35
+5002001,'importoscholar #1',19,31,91.20
+8004003,'edu packnameless #3',8,39,90.64
+8004003,'edu packnameless #3',8,11,87.12
+5003001,'exportischolar #1',17,9,87.10
+6009003,'maxicorp #3',6,4,87.00
+9014011,'edu packunivamalg #11',7,58,86.57
+2002001,'importoimporto #1',17,0,86.10
+5001001,'amalgscholar #1',19,27,85.65
+8003010,'exportinameless #10',17,7,85.50
+6011008,'amalgbrand #8',18,29,83.68
+10013013,'exportiamalgamalg #13',19,39,81.96
+9015009,'scholarunivamalg #9',9,32,81.84
+1004002,'edu packamalg #2',7,41,81.59
+4004001,'edu packedu pack #1',19,13,80.24
+5001002,'amalgscholar #2',9,46,78.68
+10012017,'importoamalgamalg #17',17,29,76.50
+2001002,'amalgimporto #2',19,45,76.36
+7008009,'namelessbrand #9',17,43,75.36
+1003001,'exportiamalg #1',9,44,73.92
+3001001,'amalgexporti #1',17,38,72.96
+2001001,'amalgimporto #1',19,48,72.03
+2004001,'edu packimporto #1',19,45,70.40
+7010009,'univnameless #9',17,54,69.56
+1002001,'importoamalg #1',18,10,68.37
+7009010,'maxibrand #10',9,38,66.30
+2001002,'amalgimporto #2',18,1,65.00
+9012003,'importounivamalg #3',8,13,64.64
+1002001,'importoamalg #1',8,1,64.48
+10015013,'scholaramalgamalg #13',17,10,64.26
+8005005,'scholarnameless #5',17,19,63.70
+4001002,'amalgedu pack #2',7,45,63.47
+6016003,'corpbrand #3',7,0,63.20
+4004001,'edu packedu pack #1',7,34,62.68
+4003001,'exportiedu pack #1',9,12,62.26
+2004002,'edu packimporto #2',18,37,56.75
+5002002,'importoscholar #2',19,10,55.68
+10010013,'univamalgamalg #13',9,26,54.80
+9015009,'scholarunivamalg #9',8,47,54.20
+7004007,'edu packbrand #7',17,8,53.20
+2004002,'edu packimporto #2',8,39,51.68
+10015013,'scholaramalgamalg #13',8,18,51.48
+10012011,'importoamalgamalg #11',19,25,48.45
+1003002,'exportiamalg #2',19,10,46.80
+5003001,'exportischolar #1',17,25,46.72
+1002001,'importoamalg #1',18,21,45.32
+5003002,'exportischolar #2',8,21,43.89
+6011008,'amalgbrand #8',9,50,42.50
+3003001,'exportiexporti #1',17,42,42.08
+6011005,'amalgbrand #5',18,40,41.54
+1001002,'amalgamalg #2',19,41,41.52
+7010004,'univnameless #4',18,21,41.46
+9015011,'scholarunivamalg #11',17,40,40.70
+5004002,'edu packscholar #2',17,22,39.36
+6016003,'corpbrand #3',19,50,39.20
+3003002,'exportiexporti #2',19,37,38.80
+3002001,'importoexporti #1',17,0,38.34
+5002001,'importoscholar #1',17,58,38.27
+8014005,'edu packmaxi #5',18,14,37.80
+6015006,'scholarbrand #6',17,2,37.29
+9013009,'exportiunivamalg #9',9,16,34.78
+4001001,'amalgedu pack #1',9,29,34.76
+10013013,'exportiamalgamalg #13',18,27,34.23
+7012010,'importonameless #10',18,37,33.83
+2001002,'amalgimporto #2',19,19,33.20
+7016001,'corpnameless #1',18,53,32.24
+6003008,'exporticorp #8',17,56,31.08
+5004001,'edu packscholar #1',18,27,31.02
+7010004,'univnameless #4',19,51,30.16
+8002009,'importonameless #9',19,8,29.84
+8005005,'scholarnameless #5',9,15,29.20
+3002002,'importoexporti #2',9,53,27.74
+5003001,'exportischolar #1',9,3,26.76
+4004001,'edu packedu pack #1',18,22,26.00
+9015009,'scholarunivamalg #9',18,26,25.96
+6016003,'corpbrand #3',19,59,23.73
+4001001,'amalgedu pack #1',17,54,22.38
+1002001,'importoamalg #1',19,53,22.28
+6003008,'exporticorp #8',18,36,22.08
+5003001,'exportischolar #1',17,4,21.70
+10012004,'importoamalgamalg #4',19,4,20.91
+5003001,'exportischolar #1',17,46,17.63
+4004001,'edu packedu pack #1',18,30,17.50
+3004001,'edu packexporti #1',7,45,17.11
+1003001,'exportiamalg #1',19,52,15.81
+6011001,'amalgbrand #1',8,42,15.81
+6010005,'univbrand #5',8,8,15.47
+2003001,'exportiimporto #1',17,18,15.17
+2001002,'amalgimporto #2',19,6,14.72
+8011009,'amalgmaxi #9',19,15,14.04
+4003001,'exportiedu pack #1',19,39,13.49
+3003001,'exportiexporti #1',19,20,13.26
+5002002,'importoscholar #2',9,16,13.13
+8011009,'amalgmaxi #9',8,23,12.88
+6016003,'corpbrand #3',19,57,12.48
+1001002,'amalgamalg #2',9,28,12.47
+6016003,'corpbrand #3',17,58,12.40
+6008005,'namelesscorp #5',19,2,10.59
+3004001,'edu packexporti #1',19,47,10.00
+9015011,'scholarunivamalg #11',17,17,8.60
+6008007,'namelesscorp #7',19,15,7.36
+4004001,'edu packedu pack #1',9,41,7.14
+4003001,'exportiedu pack #1',17,4,6.84
+1002001,'importoamalg #1',9,56,6.44
+6003008,'exporticorp #8',18,8,5.15
+3001001,'amalgexporti #1',17,18,3.96
+6008005,'namelesscorp #5',9,19,3.22
+6016003,'corpbrand #3',17,8,2.65
+5001001,'amalgscholar #1',8,41,0.30
+3003001,'exportiexporti #1',18,15,0.00
+3003002,'exportiexporti #2',6,35,0.00
+4003001,'exportiedu pack #1',18,33,0.00
+4004002,'edu packedu pack #2',17,57,0.00
+5001002,'amalgscholar #2',8,25,0.00
+5003001,'exportischolar #1',17,36,0.00
+6012008,'importobrand #8',9,0,0.00
+7012010,'importonameless #10',18,50,0.00
+9012005,'importounivamalg #5',9,12,0.00
+---- TYPES
+INT, STRING, INT, INT, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q72.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q72.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q72.test
new file mode 100644
index 0000000..c2507a5
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q72.test
@@ -0,0 +1,132 @@
+====
+---- QUERY: TPCDS-Q72
+select  i_item_desc
+      ,w_warehouse_name
+      ,d1.d_week_seq
+      ,sum(case when p_promo_sk is null then 1 else 0 end) no_promo
+      ,sum(case when p_promo_sk is not null then 1 else 0 end) promo
+      ,count(*) total_cnt
+from catalog_sales
+join inventory on (cs_item_sk = inv_item_sk)
+join warehouse on (w_warehouse_sk=inv_warehouse_sk)
+join item on (i_item_sk = cs_item_sk)
+join customer_demographics on (cs_bill_cdemo_sk = cd_demo_sk)
+join household_demographics on (cs_bill_hdemo_sk = hd_demo_sk)
+join date_dim d1 on (cs_sold_date_sk = d1.d_date_sk)
+join date_dim d2 on (inv_date_sk = d2.d_date_sk)
+join date_dim d3 on (cs_ship_date_sk = d3.d_date_sk)
+left outer join promotion on (cs_promo_sk=p_promo_sk)
+left outer join catalog_returns on (cr_item_sk = cs_item_sk and cr_order_number = cs_order_number)
+where d1.d_week_seq = d2.d_week_seq
+  and inv_quantity_on_hand < cs_quantity
+  and cast(d3.d_date as timestamp) > (cast(d1.d_date as timestamp) + interval 5 days)
+  and hd_buy_potential = '>10000'
+  and d1.d_year = 1999
+  and cd_marital_status = 'D'
+group by i_item_desc,w_warehouse_name,d1.d_week_seq
+order by total_cnt desc, i_item_desc, w_warehouse_name, d_week_seq
+limit 100;
+---- RESULTS
+'Best possible ages tell together new, st','Conventional childr',5213,0,2,2
+'Closed, good condition','Doors canno',5169,0,2,2
+'Departments make once again police. Very acceptable results call still extended, known ends; relationships shoot strangely. Acids shall discharge in order ethnic, ric','NULL',5168,0,2,2
+'Futures should enjoy able galleries. Late blue tickets pass longer urgently dead types. Shoulders will see rigidly institutions. Other con','Conventional childr',5210,0,2,2
+'Good, open studies dream more; industrial, social organisations could understand recently quick tall theories. Lines must answer functions; subtle factor','Important issues liv',5214,0,2,2
+'Hard sudden aspects shall not commemorate about a functions. Western, british cases see here churches. Stairs a','Doors canno',5212,0,2,2
+'High, essential groups should not weigh more other years; there different papers could announce; large departments c','Important issues liv',5198,0,2,2
+'Just young partie','Important issues liv',5213,0,2,2
+'Levels undermine unfortunately efficient weeks','NULL',5210,0,2,2
+'New, full rises drive however. Legs retain often in a women. Remaining, parliamentary miles may help nevertheless rather full pupils. Glad crimes might','Bad cards must make.',5217,0,2,2
+'Provisions go too. Sad others contain italian branches. Keys k','Bad cards must make.',5213,0,2,2
+'Provisions go too. Sad others contain italian branches. Keys k','Doors canno',5213,0,2,2
+'Shortly desperate nat','Conventional childr',5210,0,2,2
+'True tears continue currently pale, close men. Soon medical numbers might not take other, ','Important issues liv',5199,0,2,2
+'White employees name; figures feed sure. Speeches can achieve. Extremely final seats may exist too all religious studies. Medite','Bad cards must make.',5168,0,2,2
+'Words use up a documents. Collections may','Conventional childr',5168,0,2,2
+'Words use up a documents. Collections may','Important issues liv',5168,0,2,2
+'A little average flames ought to break old, unique men. Things select often red, economic others. Hands will lift sufficiently; german, proper sections worry perhaps for the po','NULL',5212,0,1,1
+'Abilities would not require almost; local','Bad cards must make.',5197,0,1,1
+'Able','Conventional childr',5177,0,1,1
+'Able hands help however inevitable policemen. Far true matters will not forgive never hands. Absolutely french events stop now. Well able procedures unde','Conventional childr',5195,0,1,1
+'Able hands help however inevitable policemen. Far true matters will not forgive never hands. Absolutely french events stop now. Well able procedures unde','Doors canno',5195,0,1,1
+'Able, alternative police shall not give so other complaints. There complex ','NULL',5212,0,1,1
+'Able, long mammals can want new, serious years. Questions would not cope again mainly unable contributions. Less responsible shelves lose records; leading, similar ','Important issues liv',5170,0,1,1
+'Able, main parties think really. Resources arrive only independent, old representations. Small, double advantages ','Doors canno',5213,0,1,1
+'Able, main parties think really. Resources arrive only independent, old representations. Small, double advantages ','Important issues liv',5180,0,1,1
+'About international concentrations could avoid then alone apparent activities; inadequate, mediterranean days get eve','Important issues liv',5215,0,1,1
+'About natural economie','Bad cards must make.',5202,0,1,1
+'About other levels should proceed certainly fine, severe facts.','Important issues liv',5210,0,1,1
+'About working feelings could produce only types. Electoral, new visitors will not make more afraid, large tr','NULL',5197,0,1,1
+'Absolutely','Bad cards must make.',5203,0,1,1
+'Absolutely','Doors canno',5203,0,1,1
+'Absolutely ','NULL',5206,0,1,1
+'Absolutely front men turn spatial hours. Good, free sales used to marry outside appropriate ships. Noble men sa','NULL',5207,0,1,1
+'Absolutely old payments will b','Doors canno',5216,0,1,1
+'Accused men cannot increase e','Important issues liv',5207,0,1,1
+'Acids grab below previous standards. Ever large metals will come on a articles. Underlying stories protect at last. Reasonable directions believe rather due to a','Bad cards must make.',5169,0,1,1
+'Active plants need necessary, widespread roads. Best back visits hold regularly fresh friend','Conventional childr',5209,0,1,1
+'Active plants need necessary, widespread roads. Best back visits hold regularly fresh friend','NULL',5209,0,1,1
+'Active windows shall not find small, relig','Conventional childr',5203,0,1,1
+'Actively different proceedings light yet so similar houses. Good circumstances shall not take only levels. Then moral pounds will clean very only national organisations. ','NULL',5183,0,1,1
+'Activities say. Right lips resort current techniques. Regional, possible daughters might not present changes; students can notice ridiculous, l','Conventional childr',5192,0,1,1
+'Acts','Bad cards must make.',5218,0,1,1
+'Acts','Conventional childr',5218,0,1,1
+'Actual, grey hands giv','NULL',5214,0,1,1
+'Acute, important performances afford. New, nuclear men used to assess again small results.','NULL',5187,0,1,1
+'Added, similar grounds spend also concrete terms. Fellow, mass','Important issues liv',5206,0,1,1
+'Additional, terrible characters shall examine. Ago lexical conditions get into a weeks. Barely trying results perform still hot men. Great kinds end also committees. Police should live only on the ','Doors canno',5216,0,1,1
+'Additional, terrible characters shall examine. Ago lexical conditions get into a weeks. Barely trying results perform still hot men. Great kinds end also committees. Police should live only on the ','Important issues liv',5214,0,1,1
+'Adequate things reassure unknown legs. Old, possible bishops shall locate else during a companies; bitter, alone ','Bad cards must make.',5206,0,1,1
+'Adequately unemployed aspects ought to keep on a years. Years get somewhere sometimes late examples; laws must shape determined stones. Recently real decisions may cost now other female thousands. ','Conventional childr',5214,0,1,1
+'Adequately unemployed aspects ought to keep on a years. Years get somewhere sometimes late examples; laws must shape determined stones. Recently real decisions may cost now other female thousands. ','Important issues liv',5214,0,1,1
+'Adults throw close recent women. Orange, guilty libraries let earnings. Initiatives ought to walk. Simple, successful states might work eventually full orders. Formerly very ','Bad cards must make.',5206,0,1,1
+'Adults throw close recent women. Orange, guilty libraries let earnings. Initiatives ought to walk. Simple, successful states might work eventually full orders. Formerly very ','NULL',5206,0,1,1
+'Advanced, certain fields miss electronically for the books. Open measures match therefore s','Doors canno',5196,0,1,1
+'Advanced, certain fields miss electronically for the books. Open measures match therefore s','Important issues liv',5210,0,1,1
+'Advantages go small. Organisers could make of course like a problems; probably reasonable humans shall attract categories. Agencies will enable much heavy matters. Stair','Doors canno',5186,0,1,1
+'Advantages go small. Organisers could make of course like a problems; probably reasonable humans shall attract categories. Agencies will enable much heavy matters. Stair','Important issues liv',5186,0,1,1
+'Advantages go small. Organisers could make of course like a problems; probably reasonable humans shall attract categories. Agencies will enable much heavy matters. Stair','NULL',5206,0,1,1
+'Afraid years suspend much building','NULL',5171,0,1,1
+'Afraid, grey officers mean costly institutions. Societi','Conventional childr',5199,0,1,1
+'Afraid, old meals will get chronic, strong applicants. Arms could look with a needs. Hence wor','Important issues liv',5210,0,1,1
+'Afraid, southern problems need according to a dec','Conventional childr',5207,0,1,1
+'Afraid, southern problems need according to a dec','Important issues liv',5207,0,1,1
+'Again available bags breathe good circumstances. Thus final cases must ','Bad cards must make.',5214,0,1,1
+'Again available bags breathe good circumstances. Thus final cases must ','Conventional childr',5218,0,1,1
+'Again judicial colours may blame fully british strange groups. Rules shall cover probably participants. W','NULL',5214,0,1,1
+'Again small deaths could flou','Bad cards must make.',5175,0,1,1
+'Agencies shall not consider false in a others. Obviously interesting authorities come anyway men. Small, ','Important issues liv',5206,0,1,1
+'Agents see companies. Weekly clergy might not enable always mere studies. Men throw possible relations. Then static rights wr','Conventional childr',5209,0,1,1
+'Ago foreign writings leave; even considerable artists let fully then minimal workers. Clear ministers keep. Specifically dry men increase central tests. Living, alternative meanings ought','Important issues liv',5180,0,1,1
+'Ago regional objects finish courts. Large, serio','Bad cards must make.',5187,0,1,1
+'Agricultural, difficult engines marry according to the things; instances shall not go however quietly statutory images. Still sharp patients work no doubt producers. Magazines ','Doors canno',5210,0,1,1
+'Agricultural, selective groups follow much worthwhile panels. Fully sim','Bad cards must make.',5207,0,1,1
+'Aims play already','Doors canno',5198,0,1,1
+'Al','NULL',5167,0,1,1
+'All ','Bad cards must make.',5175,0,1,1
+'All ','Important issues liv',5210,0,1,1
+'All numerous reasons explain upper teachers; necessary, inte','Bad cards must make.',5181,0,1,1
+'All realistic employees should attempt all only expert parties. Complete days cannot come as possible rules. Normal candidates would not pay there improved, o','Doors canno',5204,0,1,1
+'All right deliberate difficulties wait still between a seats; final, actual jobs may mee','Bad cards must make.',5212,0,1,1
+'All right deliberate difficulties wait still between a seats; final, actual jobs may mee','Conventional childr',5174,0,1,1
+'All right used men must demand. Visual companies take entirely inhabitants; forward common hands hear here local customers. So traditional questions shal','Doors canno',5188,0,1,1
+'Alm','Important issues liv',5204,0,1,1
+'Almost armed animals will maintain always pure, professional days; differe','Conventional childr',5175,0,1,1
+'Almost armed animals will maintain always pure, professional days; differe','Doors canno',5175,0,1,1
+'Almost armed animals will maintain always pure, professional days; differe','Important issues liv',5175,0,1,1
+'Almost low provisions suggest to','Conventional childr',5211,0,1,1
+'Almost separate f','Bad cards must make.',5215,0,1,1
+'Almost separate f','NULL',5215,0,1,1
+'Alone days must undertake children; pages will face cases. Days fit especially black standards. Certain, involved numbers may not intend high, ','Conventional childr',5176,0,1,1
+'Alone relevant nights pretend so complete years. Currently new unions make horizontally bills. Most political troops could give most possible, australian elements; flowers shall recall most pop','Important issues liv',5212,0,1,1
+'Alone working-class dates open from a issues. Most european concessions will not tell personal areas; central, poor officials might not act ','Doors canno',5197,0,1,1
+'Alone, small conditions get either likely companies. Inner, long-term patients make hot rebels. Procedures see fi','Important issues liv',5215,0,1,1
+'Already european mothers ought to impose big ever fixed parents. Dominant groups say even. Here basic weeks set as winners. Modern, young prayers release very environ','Doors canno',5215,0,1,1
+'Also f','Doors canno',5192,0,1,1
+'Also good subjects cannot clean then then difficult gaps. Good, sorry methods divert perhaps. Whit','Bad cards must make.',5211,0,1,1
+'Also public waves will not bomb yesterday methods. Eyes ','NULL',5183,0,1,1
+'Also real details used to travel for the articles. A bit anonymous factors aim there early, clean standards. Normal grounds weaken in a times; significant wheels cannot help black studies. Right l','Important issues liv',5199,0,1,1
+'Also silent nurses find also fully mental priorities. Savings shall bring naturally silent e','Conventional childr',5168,0,1,1
+---- TYPES
+STRING, STRING, INT, BIGINT, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q73.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q73.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q73.test
new file mode 100644
index 0000000..a11cac5
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q73.test
@@ -0,0 +1,43 @@
+====
+---- QUERY: TPCDS-Q73
+select c_last_name,
+       c_first_name,
+       c_salutation,
+       c_preferred_cust_flag,
+       ss_ticket_number,
+       cnt
+from
+  (select
+    ss_ticket_number,
+    ss_customer_sk,
+    count(*) cnt
+  from store_sales,
+       date_dim,
+       store,
+       household_demographics
+  where store_sales.ss_sold_date_sk = date_dim.d_date_sk
+    and store_sales.ss_store_sk = store.s_store_sk
+    and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
+    and date_dim.d_dom between 1 and 2
+    and (household_demographics.hd_buy_potential = '>10000'
+      or household_demographics.hd_buy_potential = 'Unknown')
+    and household_demographics.hd_vehicle_count > 0
+    and case when household_demographics.hd_vehicle_count > 0 then
+        household_demographics.hd_dep_count / household_demographics.hd_vehicle_count else null end > 1
+    and date_dim.d_year in (1999,1999+1,1999+2)
+    and store.s_county in ('Williamson County','Franklin Parish','Bronx County','Orange County')
+  group by ss_ticket_number,
+           ss_customer_sk) dj,
+  customer
+where ss_customer_sk = c_customer_sk
+  and cnt between 1 and 5
+order by cnt desc,  c_last_name asc;
+---- RESULTS
+'Greene','Clarence','NULL','N',1541,5
+'Peterson','Chantell','Miss','N',47551,5
+'Scott','Anne','Dr.','N',86396,5
+'Wheeler','Ashley','Mrs.','N',174863,5
+'Dion','Alva','Mrs.','N',113766,4
+---- TYPES
+STRING, STRING, STRING, STRING, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q74.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q74.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q74.test
new file mode 100644
index 0000000..a861ab4
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q74.test
@@ -0,0 +1,156 @@
+====
+---- QUERY: TPCDS-Q74
+with year_total as (
+ select c_customer_id customer_id
+       ,c_first_name customer_first_name
+       ,c_last_name customer_last_name
+       ,d_year as year
+       ,sum(ss_net_paid) year_total
+       ,'s' sale_type
+ from customer
+     ,store_sales
+     ,date_dim
+ where c_customer_sk = ss_customer_sk
+   and ss_sold_date_sk = d_date_sk
+   and d_year in (2001,2001+1)
+ group by c_customer_id
+         ,c_first_name
+         ,c_last_name
+         ,d_year
+ union all
+ select c_customer_id customer_id
+       ,c_first_name customer_first_name
+       ,c_last_name customer_last_name
+       ,d_year as year
+       ,sum(ws_net_paid) year_total
+       ,'w' sale_type
+ from customer
+     ,web_sales
+     ,date_dim
+ where c_customer_sk = ws_bill_customer_sk
+   and ws_sold_date_sk = d_date_sk
+   and d_year in (2001,2001+1)
+ group by c_customer_id
+         ,c_first_name
+         ,c_last_name
+         ,d_year
+         )
+  select
+        t_s_secyear.customer_id, t_s_secyear.customer_first_name, t_s_secyear.customer_last_name
+ from year_total t_s_firstyear
+     ,year_total t_s_secyear
+     ,year_total t_w_firstyear
+     ,year_total t_w_secyear
+ where t_s_secyear.customer_id = t_s_firstyear.customer_id
+         and t_s_firstyear.customer_id = t_w_secyear.customer_id
+         and t_s_firstyear.customer_id = t_w_firstyear.customer_id
+         and t_s_firstyear.sale_type = 's'
+         and t_w_firstyear.sale_type = 'w'
+         and t_s_secyear.sale_type = 's'
+         and t_w_secyear.sale_type = 'w'
+         and t_s_firstyear.year = 2001
+         and t_s_secyear.year = 2001+1
+         and t_w_firstyear.year = 2001
+         and t_w_secyear.year = 2001+1
+         and t_s_firstyear.year_total > 0
+         and t_w_firstyear.year_total > 0
+         and case when t_w_firstyear.year_total > 0 then t_w_secyear.year_total / t_w_firstyear.year_total else null end
+           > case when t_s_firstyear.year_total > 0 then t_s_secyear.year_total / t_s_firstyear.year_total else null end
+ order by 1,1,1
+limit 100;
+---- RESULTS
+'AAAAAAAAAMGDAAAA','Kenneth','Harlan'
+'AAAAAAAAANFAAAAA','Philip','Banks'
+'AAAAAAAAAOPFBAAA','Jerry','Fields'
+'AAAAAAAABLEIBAAA','Paula','Wakefield'
+'AAAAAAAABNBBAAAA','Irma','Smith'
+'AAAAAAAACADPAAAA','Cristobal','Thomas'
+'AAAAAAAACFCGBAAA','Marcus','Sanders'
+'AAAAAAAACFENAAAA','Christopher','Dawson'
+'AAAAAAAACIJMAAAA','Elizabeth','Thomas'
+'AAAAAAAACJDIAAAA','James','Kerr'
+'AAAAAAAACNAGBAAA','Virginia','May'
+'AAAAAAAADBEFBAAA','Bennie','Bowers'
+'AAAAAAAADCKOAAAA','Robert','Gonzalez'
+'AAAAAAAADFIEBAAA','John','Gray'
+'AAAAAAAADFKABAAA','Latoya','Craft'
+'AAAAAAAADIIOAAAA','David','Carroll'
+'AAAAAAAADIJGBAAA','Ruth','Sanders'
+'AAAAAAAADLHBBAAA','Henry','Bertrand'
+'AAAAAAAAEADJAAAA','Ruth','Carroll'
+'AAAAAAAAEJDLAAAA','Alice','Wright'
+'AAAAAAAAEKFPAAAA','Annika','Chin'
+'AAAAAAAAEKJLAAAA','Aisha','Carlson'
+'AAAAAAAAEOAKAAAA','Molly','Benjamin'
+'AAAAAAAAEPOGAAAA','Felisha','Mendes'
+'AAAAAAAAFACEAAAA','Priscilla','Miller'
+'AAAAAAAAFBAHAAAA','Michael','Williams'
+'AAAAAAAAFGIGAAAA','Eduardo','Miller'
+'AAAAAAAAFGPGAAAA','Albert','Wadsworth'
+'AAAAAAAAFHACBAAA','NULL','NULL'
+'AAAAAAAAFJHFAAAA','Larissa','Roy'
+'AAAAAAAAFMHIAAAA','Emilio','Darling'
+'AAAAAAAAFOGIAAAA','Michelle','Greene'
+'AAAAAAAAFOJAAAAA','Don','Castillo'
+'AAAAAAAAGEHIAAAA','Tyler','Miller'
+'AAAAAAAAGFMDBAAA','Kathleen','Gibson'
+'AAAAAAAAGHPBBAAA','Nick','Mendez'
+'AAAAAAAAGNDAAAAA','Terry','Mcdowell'
+'AAAAAAAAHGOABAAA','Sonia','White'
+'AAAAAAAAHHCABAAA','William','Stewart'
+'AAAAAAAAHJLAAAAA','Audrey','Beltran'
+'AAAAAAAAHMJNAAAA','Ryan','Baptiste'
+'AAAAAAAAHMOIAAAA','Grace','Henderson'
+'AAAAAAAAHNFHAAAA','Rebecca','Wilson'
+'AAAAAAAAIADEBAAA','Diane','Aldridge'
+'AAAAAAAAIBAEBAAA','Sandra','Wilson'
+'AAAAAAAAIBFCBAAA','Ruth','Grantham'
+'AAAAAAAAIBHHAAAA','Jennifer','Ballard'
+'AAAAAAAAICHFAAAA','Linda','Mccoy'
+'AAAAAAAAIDKFAAAA','Michael','Mack'
+'AAAAAAAAIJEMAAAA','Charlie','Cummings'
+'AAAAAAAAIMHBAAAA','Kathy','Knowles'
+'AAAAAAAAIMHHBAAA','Lillian','Davidson'
+'AAAAAAAAJEKFBAAA','Norma','Burkholder'
+'AAAAAAAAJGMMAAAA','Richard','Larson'
+'AAAAAAAAJIALAAAA','Santos','Gutierrez'
+'AAAAAAAAJKBNAAAA','Julie','Kern'
+'AAAAAAAAJONHBAAA','Warren','Orozco'
+'AAAAAAAAKAECAAAA','Milton','Mackey'
+'AAAAAAAAKBCABAAA','Debra','Bell'
+'AAAAAAAAKJBKAAAA','Georgia','Scott'
+'AAAAAAAAKJBLAAAA','Kerry','Davis'
+'AAAAAAAAKKGEAAAA','Katie','Dunbar'
+'AAAAAAAAKLHHBAAA','Manuel','Castaneda'
+'AAAAAAAAKNAKAAAA','Gladys','Banks'
+'AAAAAAAAKOJJAAAA','Gracie','Mendoza'
+'AAAAAAAALFKKAAAA','Ignacio','Miller'
+'AAAAAAAALHMCAAAA','Brooke','Nelson'
+'AAAAAAAALIOPAAAA','Derek','Allen'
+'AAAAAAAALJNCBAAA','George','Gamez'
+'AAAAAAAAMDCAAAAA','Louann','Hamel'
+'AAAAAAAAMFFLAAAA','Margret','Gray'
+'AAAAAAAAMMOBBAAA','Margaret','Smith'
+'AAAAAAAANFBDBAAA','Vernice','Fernandez'
+'AAAAAAAANGDBBAAA','Carlos','Jewell'
+'AAAAAAAANIPLAAAA','Eric','Lawrence'
+'AAAAAAAANJAGAAAA','Allen','Hood'
+'AAAAAAAANJHCBAAA','Christopher','Schreiber'
+'AAAAAAAAOBADBAAA','Elizabeth','Burnham'
+'AAAAAAAAOCAJAAAA','Jenna','Staton'
+'AAAAAAAAOCDJAAAA','Nina','Sanchez'
+'AAAAAAAAOCICAAAA','Zachary','Pennington'
+'AAAAAAAAOCLBBAAA','NULL','NULL'
+'AAAAAAAAOFLCAAAA','James','Taylor'
+'AAAAAAAAOPDLAAAA','Ann','Pence'
+'AAAAAAAAPDFBAAAA','Terrance','Banks'
+'AAAAAAAAPEHEBAAA','Edith','Molina'
+'AAAAAAAAPFCLAAAA','Felicia','Neville'
+'AAAAAAAAPJENAAAA','Ashley','Norton'
+'AAAAAAAAPKBCBAAA','Andrea','White'
+'AAAAAAAAPKIKAAAA','Wendy','Horvath'
+'AAAAAAAAPMMBBAAA','Paul','Jordan'
+'AAAAAAAAPPIBBAAA','Candice','Lee'
+---- TYPES
+STRING, STRING, STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q75.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q75.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q75.test
new file mode 100644
index 0000000..4cafdb9
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q75.test
@@ -0,0 +1,173 @@
+====
+---- QUERY: TPCDS-Q75
+WITH all_sales AS (
+ SELECT d_year
+       ,i_brand_id
+       ,i_class_id
+       ,i_category_id
+       ,i_manufact_id
+       ,SUM(sales_cnt) AS sales_cnt
+       ,SUM(sales_amt) AS sales_amt
+ FROM (SELECT d_year
+             ,i_brand_id
+             ,i_class_id
+             ,i_category_id
+             ,i_manufact_id
+             ,cs_quantity - COALESCE(cr_return_quantity,0) AS sales_cnt
+             ,cs_ext_sales_price - COALESCE(cr_return_amount,0.0) AS sales_amt
+       FROM catalog_sales JOIN item ON i_item_sk=cs_item_sk
+                          JOIN date_dim ON d_date_sk=cs_sold_date_sk
+                          LEFT JOIN catalog_returns ON (cs_order_number=cr_order_number
+                                                    AND cs_item_sk=cr_item_sk)
+       WHERE i_category='Books'
+       UNION
+       SELECT d_year
+             ,i_brand_id
+             ,i_class_id
+             ,i_category_id
+             ,i_manufact_id
+             ,ss_quantity - COALESCE(sr_return_quantity,0) AS sales_cnt
+             ,ss_ext_sales_price - COALESCE(sr_return_amt,0.0) AS sales_amt
+       FROM store_sales JOIN item ON i_item_sk=ss_item_sk
+                        JOIN date_dim ON d_date_sk=ss_sold_date_sk
+                        LEFT JOIN store_returns ON (ss_ticket_number=sr_ticket_number
+                                                AND ss_item_sk=sr_item_sk)
+       WHERE i_category='Books'
+       UNION
+       SELECT d_year
+             ,i_brand_id
+             ,i_class_id
+             ,i_category_id
+             ,i_manufact_id
+             ,ws_quantity - COALESCE(wr_return_quantity,0) AS sales_cnt
+             ,ws_ext_sales_price - COALESCE(wr_return_amt,0.0) AS sales_amt
+       FROM web_sales JOIN item ON i_item_sk=ws_item_sk
+                      JOIN date_dim ON d_date_sk=ws_sold_date_sk
+                      LEFT JOIN web_returns ON (ws_order_number=wr_order_number
+                                            AND ws_item_sk=wr_item_sk)
+       WHERE i_category='Books') sales_detail
+ GROUP BY d_year, i_brand_id, i_class_id, i_category_id, i_manufact_id)
+ SELECT  prev_yr.d_year AS prev_year
+                          ,curr_yr.d_year AS year
+                          ,curr_yr.i_brand_id
+                          ,curr_yr.i_class_id
+                          ,curr_yr.i_category_id
+                          ,curr_yr.i_manufact_id
+                          ,prev_yr.sales_cnt AS prev_yr_cnt
+                          ,curr_yr.sales_cnt AS curr_yr_cnt
+                          ,curr_yr.sales_cnt-prev_yr.sales_cnt AS sales_cnt_diff
+                          ,curr_yr.sales_amt-prev_yr.sales_amt AS sales_amt_diff
+ FROM all_sales curr_yr, all_sales prev_yr
+ WHERE curr_yr.i_brand_id=prev_yr.i_brand_id
+   AND curr_yr.i_class_id=prev_yr.i_class_id
+   AND curr_yr.i_category_id=prev_yr.i_category_id
+   AND curr_yr.i_manufact_id=prev_yr.i_manufact_id
+   AND curr_yr.d_year=2002
+   AND prev_yr.d_year=2002-1
+   AND CAST(curr_yr.sales_cnt AS DECIMAL(17,2))/CAST(prev_yr.sales_cnt AS DECIMAL(17,2))<0.9
+ ORDER BY sales_cnt_diff, sales_amt_diff
+ limit 100;
+---- RESULTS
+2001,2002,9011004,11,9,730,6136,3927,-2209,-64592.86
+2001,2002,9004008,4,9,454,6130,4012,-2118,-137401.99
+2001,2002,9006010,6,9,373,6584,4510,-2074,-56824.27
+2001,2002,9003002,3,9,331,6314,4249,-2065,-162310.87
+2001,2002,9016002,16,9,761,6098,4109,-1989,-75674.23
+2001,2002,2001001,7,9,85,5689,3750,-1939,-79485.07
+2001,2002,9011010,11,9,254,6635,4698,-1937,-108841.59
+2001,2002,9003002,3,9,1000,6152,4220,-1932,-51341.52
+2001,2002,9009010,1,9,311,6980,5065,-1915,-166624.10
+2001,2002,9003004,3,9,25,6382,4612,-1770,-109080.80
+2001,2002,9008008,8,9,322,5391,3664,-1727,-58283.91
+2001,2002,3004001,1,9,89,6307,4616,-1691,-105539.10
+2001,2002,9014004,12,9,423,6427,4742,-1685,-66528.45
+2001,2002,1001001,5,9,172,5642,3998,-1644,-65808.52
+2001,2002,8007009,9,9,322,5493,3906,-1587,-31458.78
+2001,2002,9015002,15,9,303,5722,4211,-1511,-81847.95
+2001,2002,8015003,4,9,289,6413,4905,-1508,-140884.23
+2001,2002,9002008,2,9,202,5758,4287,-1471,-27415.18
+2001,2002,9004002,4,9,55,5596,4196,-1400,-277.92
+2001,2002,9010002,10,9,432,5153,3767,-1386,-56643.31
+2001,2002,9015003,15,9,278,5120,3745,-1375,-61503.40
+2001,2002,5001001,10,9,136,5271,3918,-1353,-52691.74
+2001,2002,9007002,7,9,207,6416,5088,-1328,-28312.29
+2001,2002,9016004,8,9,114,5560,4263,-1297,-65169.90
+2001,2002,9007004,7,9,968,5625,4330,-1295,-86120.30
+2001,2002,9008008,8,9,535,6155,4861,-1294,-66647.47
+2001,2002,3003001,1,9,175,6170,4892,-1278,-72260.64
+2001,2002,9010004,3,9,948,5640,4387,-1253,-34985.51
+2001,2002,9012008,12,9,249,5254,4002,-1252,-15484.88
+2001,2002,9015008,15,9,281,5558,4315,-1243,10022.91
+2001,2002,9006004,6,9,620,4822,3594,-1228,-19309.88
+2001,2002,9010008,10,9,171,6500,5279,-1221,-73654.23
+2001,2002,9004008,4,9,256,5366,4164,-1202,-93628.46
+2001,2002,9008008,8,9,82,6042,4852,-1190,-78558.05
+2001,2002,9014010,2,9,727,6579,5396,-1183,-45368.94
+2001,2002,10002014,1,9,12,5662,4515,-1147,-47170.70
+2001,2002,9005002,5,9,105,5650,4508,-1142,-75927.61
+2001,2002,1001001,1,9,183,5538,4417,-1121,-34086.49
+2001,2002,8015005,11,9,898,5677,4557,-1120,-49916.13
+2001,2002,9016010,16,9,662,5306,4197,-1109,-29664.55
+2001,2002,2001001,1,9,151,6309,5200,-1109,-13881.98
+2001,2002,7007001,12,9,221,6250,5147,-1103,8445.22
+2001,2002,9010008,10,9,106,5739,4637,-1102,-39967.26
+2001,2002,5001001,6,9,201,5714,4615,-1099,-2073.61
+2001,2002,9002004,2,9,578,5976,4881,-1095,-26222.70
+2001,2002,9013010,12,9,28,5672,4579,-1093,-61365.10
+2001,2002,9003002,3,9,238,5784,4694,-1090,-52094.93
+2001,2002,9012010,12,9,4,6214,5128,-1086,-41244.90
+2001,2002,4003001,6,9,356,5890,4815,-1075,-19594.68
+2001,2002,9009002,9,9,633,5839,4786,-1053,-40163.90
+2001,2002,9006010,6,9,100,5322,4271,-1051,-65656.49
+2001,2002,9003002,3,9,130,5708,4658,-1050,-121435.05
+2001,2002,9011004,3,9,115,5101,4064,-1037,-38404.07
+2001,2002,9006008,6,9,156,5824,4793,-1031,-16295.15
+2001,2002,4004001,10,9,105,5560,4533,-1027,-29705.36
+2001,2002,9009008,9,9,3,5731,4718,-1013,-62660.48
+2001,2002,10005001,5,9,65,5890,4879,-1011,-57577.01
+2001,2002,9007008,7,9,122,6085,5077,-1008,-108804.86
+2001,2002,9001008,1,9,258,5714,4706,-1008,-73311.07
+2001,2002,9003008,3,9,382,5145,4143,-1002,-23005.48
+2001,2002,2001001,1,9,177,5711,4718,-993,-45422.40
+2001,2002,8002001,13,9,268,5521,4545,-976,-50681.49
+2001,2002,9010008,10,9,9,5549,4578,-971,45104.79
+2001,2002,5002001,2,9,230,5856,4887,-969,-25537.87
+2001,2002,10015001,1,9,399,6188,5225,-963,-76365.39
+2001,2002,9010004,10,9,110,5035,4082,-953,-81282.12
+2001,2002,9013010,3,9,235,5771,4821,-950,-81516.67
+2001,2002,9003004,3,9,311,5414,4467,-947,-19498.98
+2001,2002,9007008,7,9,766,5412,4470,-942,-43150.76
+2001,2002,3003001,9,9,210,5703,4761,-942,-22794.72
+2001,2002,9010008,10,9,621,5897,4955,-942,-1466.75
+2001,2002,4001001,15,9,42,5385,4444,-941,-77081.27
+2001,2002,9012010,12,9,268,5363,4425,-938,-13775.61
+2001,2002,4002001,2,9,891,6168,5233,-935,-54473.40
+2001,2002,10011013,11,9,123,6141,5207,-934,-77290.63
+2001,2002,9005002,5,9,379,5673,4742,-931,-66550.24
+2001,2002,9005002,5,9,35,6085,5166,-919,-23898.75
+2001,2002,9014008,14,9,904,5637,4725,-912,-54696.64
+2001,2002,9010002,10,9,351,5553,4668,-885,-58399.99
+2001,2002,9002008,2,9,603,5399,4518,-881,-8944.74
+2001,2002,9005002,5,9,226,6438,5559,-879,-78309.56
+2001,2002,9016008,16,9,134,5482,4617,-865,-93343.25
+2001,2002,7004007,2,9,248,5385,4527,-858,-59997.87
+2001,2002,9002002,2,9,556,5690,4832,-858,2965.47
+2001,2002,6012003,9,9,48,5468,4620,-848,17912.88
+2001,2002,9013010,13,9,288,5473,4631,-842,22917.88
+2001,2002,9009008,9,9,958,5837,5002,-835,-63092.62
+2001,2002,9015008,15,9,384,5348,4519,-829,-29937.40
+2001,2002,1003001,3,9,242,5504,4697,-807,-10853.56
+2001,2002,9011002,11,9,372,5085,4279,-806,-78551.75
+2001,2002,9015002,15,9,224,5915,5112,-803,-46136.85
+2001,2002,9015002,15,9,531,5831,5029,-802,-10846.84
+2001,2002,2004001,16,9,443,5269,4475,-794,-28869.68
+2001,2002,9003010,3,9,269,6297,5505,-792,-53827.19
+2001,2002,9007002,7,9,306,5398,4608,-790,-67953.64
+2001,2002,9012004,12,9,808,5796,5006,-790,-43025.36
+2001,2002,6015001,15,9,543,5041,4252,-789,3631.40
+2001,2002,9004012,4,9,621,5974,5186,-788,52156.56
+2001,2002,9010008,10,9,284,5382,4597,-785,22162.92
+2001,2002,9011002,11,9,42,5750,4968,-782,-87125.33
+---- TYPES
+INT, INT, INT, INT, INT, INT, BIGINT, BIGINT, BIGINT, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q76.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q76.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q76.test
new file mode 100644
index 0000000..1d1b060
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q76.test
@@ -0,0 +1,127 @@
+====
+---- QUERY: TPCDS-Q76
+select  channel, col_name, d_year, d_qoy, i_category, COUNT(*) sales_cnt, SUM(ext_sales_price) sales_amt FROM (
+        SELECT 'store' as channel, 'ss_store_sk' col_name, d_year, d_qoy, i_category, ss_ext_sales_price ext_sales_price
+         FROM store_sales, item, date_dim
+         WHERE ss_store_sk IS NULL
+           AND ss_sold_date_sk=d_date_sk
+           AND ss_item_sk=i_item_sk
+        UNION ALL
+        SELECT 'web' as channel, 'ws_ship_customer_sk' col_name, d_year, d_qoy, i_category, ws_ext_sales_price ext_sales_price
+         FROM web_sales, item, date_dim
+         WHERE ws_ship_customer_sk IS NULL
+           AND ws_sold_date_sk=d_date_sk
+           AND ws_item_sk=i_item_sk
+        UNION ALL
+        SELECT 'catalog' as channel, 'cs_ship_addr_sk' col_name, d_year, d_qoy, i_category, cs_ext_sales_price ext_sales_price
+         FROM catalog_sales, item, date_dim
+         WHERE cs_ship_addr_sk IS NULL
+           AND cs_sold_date_sk=d_date_sk
+           AND cs_item_sk=i_item_sk) foo
+GROUP BY channel, col_name, d_year, d_qoy, i_category
+ORDER BY channel, col_name, d_year, d_qoy, i_category
+limit 100;
+---- RESULTS
+'catalog','cs_ship_addr_sk',1998,1,'Books',14,24660.12
+'catalog','cs_ship_addr_sk',1998,1,'Children',5,5064.75
+'catalog','cs_ship_addr_sk',1998,1,'Electronics',13,31709.80
+'catalog','cs_ship_addr_sk',1998,1,'Home',12,11651.18
+'catalog','cs_ship_addr_sk',1998,1,'Jewelry',13,13102.23
+'catalog','cs_ship_addr_sk',1998,1,'Men',11,17458.37
+'catalog','cs_ship_addr_sk',1998,1,'Music',13,6741.65
+'catalog','cs_ship_addr_sk',1998,1,'Shoes',9,24531.24
+'catalog','cs_ship_addr_sk',1998,1,'Sports',9,19244.50
+'catalog','cs_ship_addr_sk',1998,1,'Women',13,24864.50
+'catalog','cs_ship_addr_sk',1998,2,'Books',14,16581.16
+'catalog','cs_ship_addr_sk',1998,2,'Children',12,26195.71
+'catalog','cs_ship_addr_sk',1998,2,'Electronics',9,7133.74
+'catalog','cs_ship_addr_sk',1998,2,'Home',15,44228.54
+'catalog','cs_ship_addr_sk',1998,2,'Jewelry',11,6804.54
+'catalog','cs_ship_addr_sk',1998,2,'Men',11,11700.11
+'catalog','cs_ship_addr_sk',1998,2,'Music',10,32062.82
+'catalog','cs_ship_addr_sk',1998,2,'Shoes',7,4682.58
+'catalog','cs_ship_addr_sk',1998,2,'Sports',7,5470.29
+'catalog','cs_ship_addr_sk',1998,2,'Women',5,14928.09
+'catalog','cs_ship_addr_sk',1998,2,'NULL',1,1535.61
+'catalog','cs_ship_addr_sk',1998,3,'Books',20,22224.09
+'catalog','cs_ship_addr_sk',1998,3,'Children',19,18667.83
+'catalog','cs_ship_addr_sk',1998,3,'Electronics',15,21854.97
+'catalog','cs_ship_addr_sk',1998,3,'Home',22,24690.28
+'catalog','cs_ship_addr_sk',1998,3,'Jewelry',14,4586.41
+'catalog','cs_ship_addr_sk',1998,3,'Men',20,30700.69
+'catalog','cs_ship_addr_sk',1998,3,'Music',23,44816.68
+'catalog','cs_ship_addr_sk',1998,3,'Shoes',20,33458.73
+'catalog','cs_ship_addr_sk',1998,3,'Sports',25,35679.92
+'catalog','cs_ship_addr_sk',1998,3,'Women',22,48029.28
+'catalog','cs_ship_addr_sk',1998,4,'Books',28,46283.99
+'catalog','cs_ship_addr_sk',1998,4,'Children',40,57305.90
+'catalog','cs_ship_addr_sk',1998,4,'Electronics',29,42656.07
+'catalog','cs_ship_addr_sk',1998,4,'Home',29,29708.36
+'catalog','cs_ship_addr_sk',1998,4,'Jewelry',29,24689.26
+'catalog','cs_ship_addr_sk',1998,4,'Men',36,64378.63
+'catalog','cs_ship_addr_sk',1998,4,'Music',35,51308.03
+'catalog','cs_ship_addr_sk',1998,4,'Shoes',27,10881.49
+'catalog','cs_ship_addr_sk',1998,4,'Sports',33,33380.56
+'catalog','cs_ship_addr_sk',1998,4,'Women',35,14347.96
+'catalog','cs_ship_addr_sk',1998,4,'NULL',2,839.65
+'catalog','cs_ship_addr_sk',1999,1,'Books',14,35278.57
+'catalog','cs_ship_addr_sk',1999,1,'Children',13,17183.17
+'catalog','cs_ship_addr_sk',1999,1,'Electronics',4,153.18
+'catalog','cs_ship_addr_sk',1999,1,'Home',11,19895.88
+'catalog','cs_ship_addr_sk',1999,1,'Jewelry',9,1341.90
+'catalog','cs_ship_addr_sk',1999,1,'Men',9,6625.86
+'catalog','cs_ship_addr_sk',1999,1,'Music',10,27861.23
+'catalog','cs_ship_addr_sk',1999,1,'Shoes',15,5365.20
+'catalog','cs_ship_addr_sk',1999,1,'Sports',9,10745.83
+'catalog','cs_ship_addr_sk',1999,1,'Women',11,15388.74
+'catalog','cs_ship_addr_sk',1999,2,'Books',6,3659.91
+'catalog','cs_ship_addr_sk',1999,2,'Children',13,6066.50
+'catalog','cs_ship_addr_sk',1999,2,'Electronics',10,14915.50
+'catalog','cs_ship_addr_sk',1999,2,'Home',13,12035.96
+'catalog','cs_ship_addr_sk',1999,2,'Jewelry',6,23975.00
+'catalog','cs_ship_addr_sk',1999,2,'Men',13,16414.16
+'catalog','cs_ship_addr_sk',1999,2,'Music',13,6061.53
+'catalog','cs_ship_addr_sk',1999,2,'Shoes',10,12500.71
+'catalog','cs_ship_addr_sk',1999,2,'Sports',11,2181.52
+'catalog','cs_ship_addr_sk',1999,2,'Women',11,16390.31
+'catalog','cs_ship_addr_sk',1999,3,'Books',18,29809.59
+'catalog','cs_ship_addr_sk',1999,3,'Children',16,12816.74
+'catalog','cs_ship_addr_sk',1999,3,'Electronics',17,36415.09
+'catalog','cs_ship_addr_sk',1999,3,'Home',15,19664.04
+'catalog','cs_ship_addr_sk',1999,3,'Jewelry',20,23257.68
+'catalog','cs_ship_addr_sk',1999,3,'Men',19,20150.72
+'catalog','cs_ship_addr_sk',1999,3,'Music',20,12062.24
+'catalog','cs_ship_addr_sk',1999,3,'Shoes',13,14924.61
+'catalog','cs_ship_addr_sk',1999,3,'Sports',24,56456.44
+'catalog','cs_ship_addr_sk',1999,3,'Women',17,6958.54
+'catalog','cs_ship_addr_sk',1999,4,'Books',27,50890.95
+'catalog','cs_ship_addr_sk',1999,4,'Children',36,30608.13
+'catalog','cs_ship_addr_sk',1999,4,'Electronics',28,59307.37
+'catalog','cs_ship_addr_sk',1999,4,'Home',46,51713.78
+'catalog','cs_ship_addr_sk',1999,4,'Jewelry',34,44238.07
+'catalog','cs_ship_addr_sk',1999,4,'Men',19,17925.34
+'catalog','cs_ship_addr_sk',1999,4,'Music',28,14816.79
+'catalog','cs_ship_addr_sk',1999,4,'Shoes',35,48226.50
+'catalog','cs_ship_addr_sk',1999,4,'Sports',32,35012.19
+'catalog','cs_ship_addr_sk',1999,4,'Women',30,24033.32
+'catalog','cs_ship_addr_sk',1999,4,'NULL',1,NULL
+'catalog','cs_ship_addr_sk',2000,1,'Books',15,50786.51
+'catalog','cs_ship_addr_sk',2000,1,'Children',6,5623.72
+'catalog','cs_ship_addr_sk',2000,1,'Electronics',13,35869.18
+'catalog','cs_ship_addr_sk',2000,1,'Home',14,11212.87
+'catalog','cs_ship_addr_sk',2000,1,'Jewelry',9,16751.45
+'catalog','cs_ship_addr_sk',2000,1,'Men',14,34465.53
+'catalog','cs_ship_addr_sk',2000,1,'Music',9,23103.03
+'catalog','cs_ship_addr_sk',2000,1,'Shoes',9,2854.29
+'catalog','cs_ship_addr_sk',2000,1,'Sports',5,159.04
+'catalog','cs_ship_addr_sk',2000,1,'Women',8,8663.29
+'catalog','cs_ship_addr_sk',2000,2,'Books',14,18943.05
+'catalog','cs_ship_addr_sk',2000,2,'Children',8,7309.74
+'catalog','cs_ship_addr_sk',2000,2,'Electronics',9,11856.27
+'catalog','cs_ship_addr_sk',2000,2,'Home',8,10107.78
+'catalog','cs_ship_addr_sk',2000,2,'Jewelry',9,19113.02
+'catalog','cs_ship_addr_sk',2000,2,'Men',12,41513.90
+'catalog','cs_ship_addr_sk',2000,2,'Music',10,7181.12
+---- TYPES
+STRING, STRING, INT, INT, STRING, BIGINT, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q77a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q77a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q77a.test
new file mode 100644
index 0000000..d41e645
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q77a.test
@@ -0,0 +1,166 @@
+====
+---- QUERY: TPCDS-Q77A
+-- RESULT MISMATCH FROM ORIGINAL
+-- FIXED. TAKE ACTUAL RESULT AS EXPECTED
+with ss as
+ (select s_store_sk,
+         sum(ss_ext_sales_price) as sales,
+         sum(ss_net_profit) as profit
+ from store_sales,
+      date_dim,
+      store
+ where ss_sold_date_sk = d_date_sk
+       and cast(d_date as timestamp) between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days)
+       and ss_store_sk = s_store_sk
+ group by s_store_sk)
+ ,
+ sr as
+ (select s_store_sk,
+         sum(sr_return_amt) as return_amt,
+         sum(sr_net_loss) as profit_loss
+ from store_returns,
+      date_dim,
+      store
+ where sr_returned_date_sk = d_date_sk
+       and cast(d_date as timestamp) between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days)
+       and sr_store_sk = s_store_sk
+ group by s_store_sk),
+ cs as
+ (select cs_call_center_sk,
+        sum(cs_ext_sales_price) as sales,
+        sum(cs_net_profit) as profit
+ from catalog_sales,
+      date_dim
+ where cs_sold_date_sk = d_date_sk
+       and cast(d_date as timestamp) between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days)
+ group by cs_call_center_sk
+ ),
+ cr as
+ (select cr_call_center_sk,
+         sum(cr_return_amount) as return_amt,
+         sum(cr_net_loss) as profit_loss
+ from catalog_returns,
+      date_dim
+ where cr_returned_date_sk = d_date_sk
+       and cast(d_date as timestamp) between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days)
+ group by cr_call_center_sk
+ ),
+ ws as
+ ( select wp_web_page_sk,
+        sum(ws_ext_sales_price) as sales,
+        sum(ws_net_profit) as profit
+ from web_sales,
+      date_dim,
+      web_page
+ where ws_sold_date_sk = d_date_sk
+       and cast(d_date as timestamp) between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days)
+       and ws_web_page_sk = wp_web_page_sk
+ group by wp_web_page_sk),
+ wr as
+ (select wp_web_page_sk,
+        sum(wr_return_amt) as return_amt,
+        sum(wr_net_loss) as profit_loss
+ from web_returns,
+      date_dim,
+      web_page
+ where wr_returned_date_sk = d_date_sk
+       and cast(d_date as timestamp) between cast('2000-08-23' as timestamp)
+                  and (cast('2000-08-23' as timestamp) + interval 30 days)
+       and wr_web_page_sk = wp_web_page_sk
+ group by wp_web_page_sk)
+ ,
+ results as
+ (select channel
+        , id
+        , sum(sales) as sales
+        , sum(return_amt) as return_amt
+        , sum(profit) as profit
+ from
+ (select 'store channel' as channel
+        , ss.s_store_sk as id
+        , sales
+        , coalesce(return_amt, 0) as return_amt
+        , (profit - coalesce(profit_loss,0)) as profit
+ from   ss left join sr
+        on  ss.s_store_sk = sr.s_store_sk
+ union all
+ select 'catalog channel' as channel
+        , cs_call_center_sk as id
+        , sales
+        , return_amt
+        , (profit - profit_loss) as profit
+ from  cs
+       , cr
+ union all
+ select 'web channel' as channel
+        , ws.wp_web_page_sk as id
+        , sales
+        , coalesce(return_amt, 0) return_amt
+        , (profit - coalesce(profit_loss,0)) as profit
+ from   ws left join wr
+        on  ws.wp_web_page_sk = wr.wp_web_page_sk
+ ) x
+ group by channel, id )
+  select  *
+ from (
+ select channel, id, sales, return_amt, profit from  results
+ union
+ select channel, NULL AS id, sum(sales) as sales, sum(return_amt) as return_amt, sum(profit) as profit from  results group by channel
+ union
+ select NULL AS channel, NULL AS id, sum(sales) as sales, sum(return_amt) as return_amt, sum(profit) as profit from  results
+) foo
+order by channel, id
+ limit 100;
+---- RESULTS: VERIFY_IS_EQUAL_SORTED
+'catalog channel',1,132885061.65,2050279.74,-12674076.58
+'catalog channel',2,140503047.65,2050279.74,-14906564.08
+'catalog channel',5,130483795.90,2050279.74,-13798294.43
+'catalog channel',NULL,538912.55,2050279.74,-1383554.73
+'catalog channel',NULL,404410817.75,8201118.96,-42762489.82
+'store channel',1,20390161.35,562762.31,-9133254.67
+'store channel',2,19807085.95,539649.43,-8817821.00
+'store channel',4,19599593.20,557973.00,-8389920.41
+'store channel',7,19480205.51,520479.41,-8861241.78
+'store channel',8,18636331.60,472731.69,-8409599.72
+'store channel',10,19335995.71,519959.15,-8771453.62
+'store channel',NULL,117249373.32,3173554.99,-52383291.20
+'web channel',1,1226811.57,28406.98,-227375.53
+'web channel',2,1191229.91,99179.48,-264992.86
+'web channel',5,1467083.19,21625.36,-147366.78
+'web channel',7,1343208.21,67708.76,-200969.21
+'web channel',8,1262065.97,46749.46,-271001.70
+'web channel',11,1425934.76,10034.84,-84693.54
+'web channel',13,1335813.60,62142.91,-218022.02
+'web channel',14,1469352.58,50742.65,-197789.09
+'web channel',17,1219451.02,28732.85,-205497.30
+'web channel',19,1343058.55,24108.59,-175397.06
+'web channel',20,1511303.97,42538.28,-89439.28
+'web channel',23,1409483.07,37116.42,-89855.78
+'web channel',25,1370755.17,48916.38,-207512.02
+'web channel',26,1465712.89,48072.56,-157007.72
+'web channel',29,1407813.82,19233.11,-188381.47
+'web channel',31,1369226.19,25494.42,-180972.91
+'web channel',32,1166947.23,50731.53,-189061.60
+'web channel',35,1400811.57,22363.43,-189390.67
+'web channel',37,1407716.73,32534.27,-127244.28
+'web channel',38,1444241.42,41815.25,-135372.36
+'web channel',41,1492530.29,19599.96,-101110.49
+'web channel',43,1343104.79,41175.01,-227340.10
+'web channel',44,1416507.16,37134.99,-274620.10
+'web channel',47,1449718.94,15989.92,-105473.72
+'web channel',49,1414898.83,45004.31,-146020.31
+'web channel',50,1319375.84,28284.26,-151036.44
+'web channel',53,1389137.89,24570.34,-120694.61
+'web channel',55,1463362.30,38157.61,-154431.83
+'web channel',56,1355553.42,46633.14,-164174.45
+'web channel',59,1395251.52,10683.93,-213197.75
+'web channel',NULL,41277462.40,1115481.00,-5205442.98
+'NULL',NULL,562937653.47,12490154.95,-100351224.00
+---- TYPES
+STRING, INT, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file


[11/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q2.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q2.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q2.test
new file mode 100644
index 0000000..d8b05e7
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q2.test
@@ -0,0 +1,2576 @@
+====
+---- QUERY: TPCDS-Q2
+with wscs as
+ (select sold_date_sk,
+         sales_price
+  from  (select ws_sold_date_sk sold_date_sk,
+                ws_ext_sales_price sales_price
+        from web_sales
+        union all
+        select cs_sold_date_sk sold_date_sk,
+               cs_ext_sales_price sales_price
+        from catalog_sales) x),
+ wswscs as
+ (select d_week_seq,
+        sum(case when (d_day_name='Sunday') then sales_price else null end) sun_sales,
+        sum(case when (d_day_name='Monday') then sales_price else null end) mon_sales,
+        sum(case when (d_day_name='Tuesday') then sales_price else  null end) tue_sales,
+        sum(case when (d_day_name='Wednesday') then sales_price else null end) wed_sales,
+        sum(case when (d_day_name='Thursday') then sales_price else null end) thu_sales,
+        sum(case when (d_day_name='Friday') then sales_price else null end) fri_sales,
+        sum(case when (d_day_name='Saturday') then sales_price else null end) sat_sales
+ from wscs,
+      date_dim
+ where d_date_sk = sold_date_sk
+ group by d_week_seq)
+ select d_week_seq1,
+        round(sun_sales1/sun_sales2,2),
+        round(mon_sales1/mon_sales2,2),
+        round(tue_sales1/tue_sales2,2),
+        round(wed_sales1/wed_sales2,2),
+        round(thu_sales1/thu_sales2,2),
+        round(fri_sales1/fri_sales2,2),
+        round(sat_sales1/sat_sales2,2)
+ from
+ (select wswscs.d_week_seq d_week_seq1,
+         sun_sales sun_sales1,
+         mon_sales mon_sales1,
+         tue_sales tue_sales1,
+         wed_sales wed_sales1,
+         thu_sales thu_sales1,
+         fri_sales fri_sales1,
+         sat_sales sat_sales1
+  from wswscs,date_dim
+  where date_dim.d_week_seq = wswscs.d_week_seq and
+        d_year = 2001) y,
+ (select wswscs.d_week_seq d_week_seq2,
+         sun_sales sun_sales2,
+         mon_sales mon_sales2,
+         tue_sales tue_sales2,
+         wed_sales wed_sales2,
+         thu_sales thu_sales2,
+         fri_sales fri_sales2,
+         sat_sales sat_sales2
+  from wswscs,
+       date_dim
+  where date_dim.d_week_seq = wswscs.d_week_seq and
+        d_year = 2001+1) z
+ where d_week_seq1=d_week_seq2-53
+ order by d_week_seq1;
+---- RESULTS
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5270,3.48,2.15,1.81,1.68,3.18,3.29,3.13
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5271,0.84,0.91,0.96,1.25,1.21,1.09,1.14
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5272,0.98,0.97,0.98,1.10,1.00,1.00,1.15
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5273,1.04,0.93,1.21,0.85,0.91,1.08,0.75
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5274,0.98,0.89,1.06,1.05,0.80,0.89,1.02
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5275,0.95,1.00,0.88,0.67,1.06,1.42,0.88
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5276,1.16,1.09,1.16,1.12,1.04,0.94,0.96
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5277,0.76,1.05,0.97,1.09,0.96,1.39,1.28
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5278,1.31,1.07,1.00,1.35,1.04,5.70,1.69
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5279,1.21,0.94,0.98,1.03,0.56,0.77,1.32
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5280,1.14,1.12,0.92,1.35,0.83,0.99,0.96
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5281,1.00,1.00,1.01,0.96,0.93,1.05,0.89
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5282,1.18,1.11,1.11,1.02,1.17,0.95,0.98
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5283,1.16,1.10,0.75,0.96,1.07,0.87,1.01
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5284,0.91,1.01,0.92,0.72,0.99,1.11,1.02
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5285,1.09,0.88,0.82,0.96,1.17,1.02,0.95
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5286,0.95,1.04,1.01,0.99,0.96,1.17,0.93
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5287,1.28,1.12,0.95,1.13,1.05,1.18,1.17
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5288,1.05,0.95,1.12,1.01,0.96,1.09,1.12
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5289,1.09,1.03,1.31,1.11,1.05,1.02,1.19
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5290,0.90,0.74,0.92,1.28,1.11,0.99,1.10
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5291,0.99,1.33,0.89,0.93,0.97,1.01,1.18
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5292,1.33,0.99,0.92,1.10,1.03,0.95,0.90
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5293,1.08,0.82,0.86,1.20,0.95,0.87,1.18
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5294,1.00,0.86,0.91,0.85,0.89,0.84,1.05
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5295,1.17,0.94,1.07,0.86,0.93,1.03,1.04
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5296,0.94,1.10,0.88,0.90,0.92,1.02,0.94
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5297,0.82,1.26,0.98,0.86,1.17,0.90,1.33
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5298,0.97,1.08,0.83,1.00,1.11,1.25,1.08
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5299,0.85,1.12,1.06,1.06,1.04,1.12,0.81
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5300,0.51,0.41,0.87,0.96,1.20,0.54,0.45
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5301,0.98,0.98,0.47,0.40,0.91,1.03,0.93
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5302,1.00,1.15,0.84,1.03,1.00,1.07,1.29
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5303,1.09,1.02,1.02,1.00,1.10,1.00,1.02
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5304,0.96,1.03,1.03,0.98,0.94,1.09,1.04
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5305,0.93,1.02,1.06,0.93,0.91,1.07,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5306,1.15,0.91,0.98,1.19,1.08,1.03,1.13
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5307,0.91,1.12,0.88,1.03,1.05,0.95,0.98
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5308,0.97,1.04,0.97,1.03,1.10,1.13,1.02
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5309,1.15,0.98,1.03,0.99,1.06,0.91,1.05
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5310,1.07,1.05,0.93,1.01,1.10,1.03,0.97
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5311,1.00,1.01,1.17,1.07,0.93,0.96,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5312,0.91,0.90,1.06,0.92,1.02,0.85,1.00
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5313,0.54,0.67,1.03,1.05,0.99,1.01,0.82
+5314,1.10,0.96,0.74,0.58,0.63,0.90,1.00
+5314,1.10,0.96,0.74,0.58,0.63,0.90,1.00
+5314,1.10,0.96,0.74,0.58,0.63,0.90,1.00
+

<TRUNCATED>

[05/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q98.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q98.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q98.test
new file mode 100644
index 0000000..5d955b8
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q98.test
@@ -0,0 +1,2550 @@
+====
+---- QUERY: TPCDS-Q98
+-- RESULT MISMATCH FROM ORIGINAL
+-- FIXED, ADDED ROUND() TO LAST COLUMN
+select i_item_id,
+       i_item_desc,
+       i_category,
+       i_class,
+       i_current_price,
+       sum(ss_ext_sales_price) as itemrevenue,
+       round(sum(ss_ext_sales_price)*100.0/sum(sum(ss_ext_sales_price)) over
+          (partition by i_class), 2) as revenueratio
+from store_sales,
+     item,
+     date_dim
+where ss_item_sk = i_item_sk
+      and i_category in ('Sports', 'Books', 'Home')
+      and ss_sold_date_sk = d_date_sk
+      and cast(d_date as timestamp) between cast('1999-02-22' as timestamp)
+                                    and (cast('1999-02-22' as timestamp) + interval 30 days)
+group by i_item_id,
+         i_item_desc,
+         i_category,
+         i_class,
+         i_current_price
+order by i_category,
+         i_class,
+         i_item_id,
+         i_item_desc,
+         revenueratio;
+---- RESULTS
+'AAAAAAAAAAKAAAAA','Small, political activities help great, bad policies. Therefore square features provide on a machines. Rules make over me','Books','arts',2.42,9866.76,3.17
+'AAAAAAAAACKBAAAA','Clinical, inc initiatives make specially according to a activities.','Books','arts',6.92,9562.33,3.07
+'AAAAAAAAAIJCAAAA','Simply small grounds use exactly effects. Services could kill especially aware, large observers. Civil, relevant years ensure regulations; clear drawings realize actors. Products employ a','Books','arts',1.76,7565.38,2.43
+'AAAAAAAAAJIAAAAA','Joint, superior police would use through an restrictions. Buyers ought to contract generally in a efforts. Days cut also sure, frequent s','Books','arts',0.43,1648.81,0.53
+'AAAAAAAABFHDAAAA','Little days answer in a emotions; players touch.','Books','arts',2.58,18486.63,5.94
+'AAAAAAAABHDCAAAA','Minor heads close common children; recently strong firms provide. Useful, young men ought to create changes. Popular, common regulations might decide. Points fit. Obvious, glad officials ','Books','arts',3.88,5219.85,1.68
+'AAAAAAAACBACAAAA','Remaining, main passengers go far sure men. ','Books','arts',4.78,1306.20,0.42
+'AAAAAAAACCLCAAAA','Multiple, personal attitudes change so. Major, international companies can give scales. Strong women may take there expensive scores','Books','arts',45.80,3235.97,1.04
+'AAAAAAAACKDBAAAA','Positions can win increasingly entire units. Unions used to exclude fairly afraid fans. National fields appear also ways. Great lips print new teachers. Constant, primary deaths expect a little ','Books','arts',3.82,5246.53,1.69
+'AAAAAAAACKEAAAAA','Legs appear eventually soci','Books','arts',35.27,372.00,0.12
+'AAAAAAAACMDCAAAA','Black, powerful others go now years. Diverse orders might not mean away medium minutes; tight authorities ought to put however for the things','Books','arts',2.75,7486.65,2.40
+'AAAAAAAACNEDAAAA','Particularly labour stores get farmers. Hence true records see rel','Books','arts',6.89,6909.55,2.22
+'AAAAAAAADCCDAAAA','Glad users understand very almost original jobs. Towns can understand. Supreme, following days work by a parents; german, crucial weapons work sure; fair pictur','Books','arts',7.18,3918.06,1.26
+'AAAAAAAADJFCAAAA','Significant, preliminary boys can remain lightly more pale discussion','Books','arts',2.74,4388.55,1.41
+'AAAAAAAADPCCAAAA','Especially true items might supply particularly. Black, automatic words might develop post-war problems. Fresh, visible workers could not appe','Books','arts',4.23,4697.04,1.51
+'AAAAAAAAEDKDAAAA','Times live now to a sales. British years bring all financ','Books','arts',4.24,1275.30,0.41
+'AAAAAAAAEGAEAAAA','Far injuries pay so various arms. Courses could go anywhere universal possibilities; talks stand since mean, colonial scho','Books','arts',9.57,15285.33,4.91
+'AAAAAAAAEPDDAAAA','Services used to work most new provi','Books','arts',2.84,21563.43,6.93
+'AAAAAAAAEPKAAAAA','Here political studies give once at the qu','Books','arts',1.78,1382.17,0.44
+'AAAAAAAAFBMBAAAA','Years light glasses. Contemporary members might detect even drawings. Private instructions ought to expect well main streets. Children will say well; usually young members ought to ensure enough. ','Books','arts',4.78,17.00,0.01
+'AAAAAAAAFCFBAAAA','Golden estates meet as yet hands. About solid proteins used to tell. Once causal boots imagine frequently new elections; flexible, other ways find re','Books','arts',9.76,5418.45,1.74
+'AAAAAAAAFCKCAAAA','Brilliant, acceptable resources might not pick as. Positive, married parties support only strongly impossible needs. Photogra','Books','arts',2.44,1415.82,0.45
+'AAAAAAAAGAKAAAAA','Especially early girls glance however specific, relevant steps. Financial worlds telephone most dark gains. Warm, outdoor devices defend besides. Unions must not say narrow powers; individual ti','Books','arts',8.96,6984.06,2.24
+'AAAAAAAAGFHBAAAA','Contemporary occasions provide she','Books','arts',1.75,3241.40,1.04
+'AAAAAAAAGHOBAAAA','Fully existing proceedings could not tak','Books','arts',8.66,4170.81,1.34
+'AAAAAAAAGOKBAAAA','Othe','Books','arts',60.94,6652.80,2.14
+'AAAAAAAAHPNCAAAA','Correct, certain humans cut','Books','arts',37.98,9798.84,3.15
+'AAAAAAAAIAOAAAAA','Professional circumstances could live else others. Symptoms can see very leaves. Just personal institutions used to go. Capable workers used to play then able police.','Books','arts',2.40,4537.62,1.46
+'AAAAAAAAIEPCAAAA','New, popular years should think. Shareholders speak also friends; special members could not identify social eyes; indoors full ','Books','arts',0.91,5051.97,1.62
+'AAAAAAAAIHKBAAAA','Very historic arms may happen even able exis','Books','arts',9.19,2354.36,0.76
+'AAAAAAAAIIPDAAAA','Af','Books','arts',6.04,4187.03,1.34
+'AAAAAAAAIJGAAAAA','Then western animals could teach somewhere. Today waiting servants confuse','Books','arts',4.10,482.94,0.16
+'AAAAAAAAJJDBAAAA','Problems compete with a sets. Interesting, automatic pounds tell complete hills. ','Books','arts',1.20,5101.56,1.64
+'AAAAAAAAKGBAAAAA','Light moments cannot date following sy','Books','arts',5.60,12613.35,4.05
+'AAAAAAAAKICDAAAA','Wet, concerned representatives get up to a owners. Necessary, like','Books','arts',1.89,9408.31,3.02
+'AAAAAAAAKKIAAAAA','Naked, popular schemes campaign then offices. Underlying shares may join','Books','arts',79.28,19283.43,6.19
+'AAAAAAAAKNBCAAAA','Early, powerful towns add mainly english savings. Years assist then new, public colleagues. Things might encounter then right new features','Books','arts',6.89,726.18,0.23
+'AAAAAAAAMFFAAAAA','Communities used to relocate clearly strange, new walls; european, rich championships make current depths. Sure studies may reflect only instinctively old forces. Foreign, diverse','Books','arts',8.22,4909.04,1.58
+'AAAAAAAANIBAAAAA','Beneath decent wives write t','Books','arts',2.72,13655.65,4.39
+'AAAAAAAAOEIDAAAA','Electoral occupations assemble exchanges; als','Books','arts',2.20,12221.89,3.93
+'AAAAAAAAOJJCAAAA','Troops take only, right dogs. Briefly genuine eyes used to provide mutually coming, just parents. Too social services shall feel only rec','Books','arts',6.40,1381.38,0.44
+'AAAAAAAAOKPBAAAA','Just good settings must not make; payments assure to a bishops. Principal, sorry amounts would safeguard very so other leaders; tory, substantial stairs m','Books','arts',2.60,11430.27,3.67
+'AAAAAAAAOPKCAAAA','Less imp','Books','arts',9.12,21212.29,6.81
+'AAAAAAAAPIEBAAAA','Main cheeks must put ','Books','arts',0.45,6256.69,2.01
+'AAAAAAAAPLLDAAAA','Old eyes could not give later issues. Claims might','Books','arts',9.00,9406.36,3.02
+'AAAAAAAAABMBAAAA','Situations retain; units might sit operations; girls shall make. Ca','Books','business',3.16,16355.93,6.74
+'AAAAAAAAACEBAAAA','Prese','Books','business',15.17,2637.41,1.09
+'AAAAAAAAAKBDAAAA','Essential students change even despite a powers. General connections will not maximi','Books','business',3.10,4074.80,1.68
+'AAAAAAAAANHCAAAA','High ministers should not remove for a stations. Certain, linear weeks might not ask so from a improvements. Lakes must not implement f','Books','business',4.80,3539.41,1.46
+'AAAAAAAABIPBAAAA','Ultimate, other objects might not install good ','Books','business',2.57,4776.44,1.97
+'AAAAAAAABKACAAAA','Total pp. accept with a questions; able, generous a','Books','business',5.25,1316.93,0.54
+'AAAAAAAABMDDAAAA','Head facts resolve even. Characteristics put. Toxic, genuine officials shall not meet. Difficult chil','Books','business',3.85,3023.83,1.25
+'AAAAAAAACDBCAAAA','Tiny years could run too above tough volumes. New germans must not leave as possible sales; inj','Books','business',1.22,52.80,0.02
+'AAAAAAAACDIBAAAA','Small results would go colours; sexual agencies ought to assure moreover unique premises; then complex provisions use often normal windows. Better educational girls should not believe however struct','Books','business',9.78,8105.34,3.34
+'AAAAAAAACEACAAAA','Other, direct letters ought to make from a ways. British, large men could not work a','Books','business',0.48,14335.55,5.90
+'AAAAAAAACEPBAAAA','Long, married artists would see negative feelings. Emot','Books','business',1.73,7909.27,3.26
+'AAAAAAAADHNCAAAA','Originally major industries matter mediterranean bodies. Cases should not ','Books','business',45.06,473.11,0.19
+'AAAAAAAADNDDAAAA','Clear, harsh police used to include large, appropriate plans. Prices could produce more. There white weapons expect directly free conclusions. Responsibl','Books','business',4.57,14429.31,5.94
+'AAAAAAAAEICAAAAA','Cases include proudly without a columns. Solid, pre','Books','business',2.42,8853.82,3.65
+'AAAAAAAAEILDAAAA','Bad, able systems shall fall else. Nuclear, economic ways put in an paths. Serious, labour women must not muster however. Wide new readers ought to help ','Books','business',1.36,4211.38,1.73
+'AAAAAAAAFGJCAAAA','Secondary, red structures may seek eyes. High true titles should make now junior fat thoughts. Partly excellent authorities receive direct, net parties. Parents look most also other issues. Empty, con','Books','business',8.59,11006.14,4.53
+'AAAAAAAAFLMDAAAA','Significantly relevant colleges extract knowingly broad investors. Entire members stay. Mediterranean legs would cut on the knees. Forthcoming, particular students u','Books','business',4.81,6614.94,2.72
+'AAAAAAAAFNOCAAAA','Wonderful systems ask also very parliamentary orders; british companies','Books','business',87.12,1370.57,0.56
+'AAAAAAAAGFDCAAAA','Particularly medieval blocks would not find slightly with a carers. Years respond about at a sec','Books','business',6.00,5441.25,2.24
+'AAAAAAAAGLMCAAAA','Crossly local relations know surely old excep','Books','business',37.62,1577.14,0.65
+'AAAAAAAAGONBAAAA','Ever top offers might struggle far, automatic men. Long-term, long goods dare however; new, other gr','Books','business',2.30,4793.37,1.97
+'AAAAAAAAIBKDAAAA','Hundreds drop nearly unacceptable accidents. Then strong methods tell large unions. Short companies should help so. Moves shall not set later chief problems. R','Books','business',0.78,12116.59,4.99
+'AAAAAAAAIINDAAAA','Frames can park highly parents. White ma','Books','business',6.97,20464.05,8.43
+'AAAAAAAAIJECAAAA','Difficult, royal units put particularly significant, other plans. Essential, contemporary journals will need players. Alternatively parental','Books','business',4.34,90.23,0.04
+'AAAAAAAAIJJCAAAA','Euro','Books','business',3.01,3615.47,1.49
+'AAAAAAAAIKEAAAAA','All ','Books','business',9.44,2769.66,1.14
+'AAAAAAAAIPADAAAA','Orders go into the documents. Social, existing specialists will seem twice associated wishes. Finally nation','Books','business',5.15,661.44,0.27
+'AAAAAAAAJMEDAAAA','Personal, significant activities agree only by a couples. Elaborate aut','Books','business',3.06,3702.60,1.52
+'AAAAAAAAKAJDAAAA','Short neighbours implement innocently tiny titles. Briefly simple years should not tell potentially successful, whole years. Orange workers carry; home hot feet l','Books','business',4.43,1885.01,0.78
+'AAAAAAAAKAKAAAAA','Still urban stages shall not take for a legs. Other, holy demands pay further young, positive numbers. A little criminal i','Books','business',7.68,3467.43,1.43
+'AAAAAAAAKLHBAAAA','Types support already forms. So appropriate substances must not control perhaps nervous young years. Communist services must go decisive, conside','Books','business',5.43,7299.56,3.01
+'AAAAAAAAKMAAAAAA','Plans consult interested, light boys. Selective, other problems create scientific, young parties. Sufficient speakers might not kiss too social, basic interests. Dual, other times s','Books','business',0.19,4191.90,1.73
+'AAAAAAAALDFAAAAA','Hands may not allow only in a lands; linear, other pubs say; social, precise women identify for a patients. Preferences develop alone now rich motives. Ever good tas','Books','business',3.68,911.15,0.38
+'AAAAAAAALGBBAAAA','Modern records retain about there civil plans. Social bodies survive. Great, living losses bother late, coherent others. About british sports ought to use cautiously from ','Books','business',1.94,1039.45,0.43
+'AAAAAAAALPDCAAAA','So small edges will understand currently in a things. New trains point usually systems. Years look growing questions. Different cases could sell just alive, late rules; big, large results will make ','Books','business',4.12,109.02,0.04
+'AAAAAAAAMALDAAAA','Here final difficulties would not comply just legal good motives. Enough sensitive things could not spend obviously with a systems. In pu','Books','business',91.76,7163.72,2.95
+'AAAAAAAAMIGCAAAA','Carefully physical hotels must put together; similar details cannot appreciate by a standards. Rates can break m','Books','business',6.63,7276.79,3.00
+'AAAAAAAAMIMCAAAA','About likely houses like international members. Final, relevant birds answer after the paintings. Hungry, personal days borrow tiny, primary resources. As social relations could choose quite also ','Books','business',0.77,3400.78,1.40
+'AAAAAAAAMKHAAAAA','Unions shall see enough over true attitudes; of course full variable','Books','business',8.90,3586.20,1.48
+'AAAAAAAAMKNDAAAA','Special, clear elements would buy at a games. Things should spot today strange, only devices. Armies should like at a patients. Hands could perform simply narrow values. N','Books','business',1.28,7240.08,2.98
+'AAAAAAAANACBAAAA','New teachers might demand never assets. Deeply bright ministers make generally never prime imports. Odd writings step common readers; talks take young, r','Books','business',2.95,4731.57,1.95
+'AAAAAAAAPEKCAAAA','Alone countries must use so old, international functions. Only public cases see in a words. Normal methods forget even communist changes; technical numbers convert either natu','Books','business',4.67,14868.48,6.12
+'AAAAAAAAPGDBAAAA','Certainly remaining flowers can wonder then just significant papers; places secure below as a bombs. Other, domestic members must allow very polite thi','Books','business',0.60,5434.01,2.24
+'AAAAAAAAPHJAAAAA','Possibly great customs suit close looks. Capable, frequent processes shall pass possible dangers; hard, private words act measures. Mysterious, acceptable fac','Books','business',6.64,1871.38,0.77
+'AAAAAAAAAALDAAAA','Forward liable funds may not end from time to time local, domestic chiefs. Major, well-known newspapers can regain together new, white conclusions. Very vital employees can draw','Books','computers',17.54,1323.92,0.40
+'AAAAAAAAAHKDAAAA','Decisions play actually exclusive activities. Well assistant e','Books','computers',8.77,12999.66,3.97
+'AAAAAAAAAOBCAAAA','Years should try in line with a conditions. Pp. spend well evenings. Other, afraid sides speculate at a years. Options ought to know leading, app','Books','computers',5.23,2591.64,0.79
+'AAAAAAAABHEEAAAA','Subjects may remain officials. Forward, straight objects used to see wh','Books','computers',6.97,8533.58,2.61
+'AAAAAAAABLMBAAAA','External improvements effect so tough words. Great roads cause quickly popular, black stories. Clearly white members might ask enough details. Min','Books','computers',31.74,2742.24,0.84
+'AAAAAAAACHOCAAAA','Final governm','Books','computers',6.22,4453.71,1.36
+'AAAAAAAACOHDAAAA','Left, important sports shall get on an specialists. Overall, e','Books','computers',3.56,3276.00,1.00
+'AAAAAAAAEANCAAAA','Ye','Books','computers',9.75,6814.84,2.08
+'AAAAAAAAEAPAAAAA','Just distinct children think individuals; popular arguments develop here cautious methods; appropriate children might beat. Proper, empirical hundreds fall oth','Books','computers',4.01,11065.91,3.38
+'AAAAAAAAECFCAAAA','Prepared others convey elsewhere environmental, british tactics. Sorry adults hear. So working texts release wor','Books','computers',1.98,3527.15,1.08
+'AAAAAAAAEMHAAAAA','Boots recommend usually just local centres; c','Books','computers',7.56,6635.76,2.03
+'AAAAAAAAFEEAAAAA','Capital, united feelings paint only things. Greatly financial economies should not pay somewhere soviet necessary armies; educational concepts mus','Books','computers',3.83,1365.45,0.42
+'AAAAAAAAFLFEAAAA','Social weeks may hope. However parental objects shall get just potential logical stations. Agreements attend on a arms; circa real reforms may interpret dogs. T','Books','computers',2.06,18115.81,5.53
+'AAAAAAAAGCFEAAAA','Quickly bare factors wear early as a meetings. Physical conventions could not survive. However european bands get due, national paintings. Significant, net facilities initi','Books','computers',33.10,6825.15,2.09
+'AAAAAAAAGDOCAAAA','Various changes must shorten together heavy lessons. Doors make later british initiatives. Recently senior courses regret months. Regular, senior children might encounter merely procedures. Then avail','Books','computers',65.54,4671.44,1.43
+'AAAAAAAAGENAAAAA','Genera','Books','computers',2.84,60.00,0.02
+'AAAAAAAAGHCBAAAA','Hundreds would meet regardless german, foreign scien','Books','computers',9.77,894.48,0.27
+'AAAAAAAAGMCAAAAA','More important names induce; now similar standards will train correctly times. Ex','Books','computers',9.23,4356.46,1.33
+'AAAAAAAAGNGBAAAA','Brilliant, massive prisons take still national others. Only northern guidelines go right by the lips. General, spiritual walls shall reach in a languages. British nations eat substantial polici','Books','computers',3.42,169.80,0.05
+'AAAAAAAAHPADAAAA','Used, young sizes take requirements. Electoral, standard stones worry still private scenes. Major, still bedrooms say all once effective years. Long new moments will own after the','Books','computers',9.19,2663.93,0.81
+'AAAAAAAAIAMAAAAA','Alone walls mus','Books','computers',2.00,8957.82,2.74
+'AAAAAAAAIGCEAAAA','Concerned numbers can attempt now particular, white friends; un','Books','computers',3.38,8336.53,2.55
+'AAAAAAAAIGJAAAAA','Probably terrible students may go. There whole issues get academic, soviet charts. ','Books','computers',4.11,5316.51,1.62
+'AAAAAAAAIHEEAAAA','Personal, liable years shall not start dramatic, dema','Books','computers',4.92,45631.68,13.94
+'AAAAAAAAIILCAAAA','At least low personnel might a','Books','computers',9.13,7777.26,2.38
+'AAAAAAAAJBADAAAA','Mean, good relations wake however strictly white possibilities. About aw','Books','computers',6.42,7851.07,2.40
+'AAAAAAAAJJGBAAAA','Strangers gain officially enough labour problems. Overall systems may not help below lives. Heroes find just apparently generous couple','Books','computers',7.15,5084.71,1.55
+'AAAAAAAAJMCCAAAA','Interesting programmes used to appear even. Symbolic prices go beautifu','Books','computers',97.63,10140.48,3.10
+'AAAAAAAAJMGBAAAA','Complete, head ways entail additional books; social letters drive perfect ends. Supporters should undermine therefore relat','Books','computers',4.15,97.46,0.03
+'AAAAAAAALCDAAAAA','Clearly actual places would supply apparently only rats.','Books','computers',4.34,2215.00,0.68
+'AAAAAAAALDBBAAAA','Mines should talk outside trees. Regular eyes encourage with an victims. Civil functions try actions. Movies fit secretly for a regions. Whole, imperial customs forget','Books','computers',7.44,1401.25,0.43
+'AAAAAAAALNHDAAAA','Friendly judges act between a parties. Asian, bloody hotels isolat','Books','computers',0.39,1776.00,0.54
+'AAAAAAAALPPCAAAA','Political ingredients exercise once in order less','Books','computers',4.95,6424.14,1.96
+'AAAAAAAAMGEEAAAA','Reservations would meet longer easy, daily lights. Exactly critical ref','Books','computers',9.27,8076.59,2.47
+'AAAAAAAAMJEAAAAA','Local pro','Books','computers',1.04,3400.92,1.04
+'AAAAAAAAMMDEAAAA','Women support almost','Books','computers',4.68,8124.94,2.48
+'AAAAAAAAMNOBAAAA','Scientific, young creditors might see for the alternativ','Books','computers',6.98,12883.72,3.94
+'AAAAAAAAMOHBAAAA','Fortunately past rules mind respectively appropriate losses. Men must develop above the sources. Mere values lis','Books','computers',2.02,3518.02,1.07
+'AAAAAAAANCFCAAAA','Scientific courses set different questions. Various, likely surfaces prevent also vague days. Critical, grand clothes save from a duties; powerful','Books','computers',1.45,6240.57,1.91
+'AAAAAAAANFJBAAAA','Only old doors shall wear again. Earlier high minerals might not tell better persona','Books','computers',16.62,3360.39,1.03
+'AAAAAAAANNIAAAAA','Dear patients give again able directors. Modest terms think. For example assistant','Books','computers',1.89,3096.66,0.95
+'AAAAAAAANOJBAAAA','Growing, small aims might begin ','Books','computers',2.75,647.50,0.20
+'AAAAAAAAOBIDAAAA','Great, mixed bits utilise however quickly comprehensive sales. Near ne','Books','computers',1.23,11402.48,3.48
+'AAAAAAAAOBNDAAAA','Levels undermine unfortunately efficient weeks','Books','computers',2.19,5478.32,1.67
+'AAAAAAAAOGFAAAAA','Real kids give rather lips. Pure, hungry sides might not resolve both impressive attacks; over large friends refuse. Guilty, sp','Books','computers',99.41,6486.48,1.98
+'AAAAAAAAOKBBAAAA','Votes can relieve then key sales; social, new proc','Books','computers',8.03,1360.10,0.42
+'AAAAAAAAOMDAAAAA','Together hot rights ','Books','computers',4.99,1742.88,0.53
+'AAAAAAAAOMPCAAAA','Now complex carers must use here therefore personal arms. Ideas could gather weapons. Dif','Books','computers',3.56,7129.63,2.18
+'AAAAAAAAPADEAAAA','Goals should not make in','Books','computers',4.09,3597.48,1.10
+'AAAAAAAAPDLCAAAA','Inc considerations should dare sales. Little, long chapters check better exciting employers. Still english unions could pull wrong shoes. Factors would kee','Books','computers',70.39,7342.58,2.24
+'AAAAAAAAPENCAAAA','Authorities retain with a authorities. Warm, commercial things can bring. Eyes buy also for the minds. P','Books','computers',9.54,4801.27,1.47
+'AAAAAAAAPHADAAAA','Desirable, important methods make thus observations. Most different tasks may live always traditional, concerned beings. Bad sales would lose. Long, linguistic pairs could not make. Chem','Books','computers',8.20,2715.24,0.83
+'AAAAAAAAPJCCAAAA','Strong, british horses may not choose less. Results will not carry harsh workers. False claims will want over labour increases. Co','Books','computers',1.05,3040.40,0.93
+'AAAAAAAAPKOBAAAA','Yet whole dealers p','Books','computers',3.63,2790.97,0.85
+'AAAAAAAAPLIDAAAA','Items look somewhat new designs. Patients should solve about a officers. Minutes can act still companies. About dangerous records will not run towa','Books','computers',1.43,5985.52,1.83
+'AAAAAAAAABPAAAAA','Particularly professional women may not tell never present, distant times. Current, only weeks could hurry quite appropriate months. Little attacks waste carefully never politi','Books','cooking',1.82,670.95,0.25
+'AAAAAAAAADIDAAAA','Literary movies will include actually at a models. Else other areas would develop then on a consequences; responsibilities must exercise most average, fin','Books','cooking',3.29,2472.84,0.93
+'AAAAAAAAAHKCAAAA','Somewhere hot arms touch however before a members. New developers ought to deal polish cells. Days achieve into an interests. Bodie','Books','cooking',5.86,6965.58,2.61
+'AAAAAAAAAHPAAAAA','Surveys shall not ne','Books','cooking',4.61,8126.46,3.05
+'AAAAAAAAAHPDAAAA','Efforts used to perpetuate about various researchers; political days must fight rather than the days. Standards used to rush towards a ends. Slow, short signals used to show seemingly. Figures wo','Books','cooking',91.23,3094.41,1.16
+'AAAAAAAAAJNDAAAA','Physical, political decis','Books','cooking',6.76,1630.37,0.61
+'AAAAAAAAAMACAAAA','Best national participants forget. Usually clear efforts can operate on','Books','cooking',2.20,10381.99,3.89
+'AAAAAAAAAOLAAAAA','Near educational cases shall become big hotels. Periods should not','Books','cooking',5.92,1932.24,0.72
+'AAAAAAAABINAAAAA','Below invisi','Books','cooking',9.59,6854.08,2.57
+'AAAAAAAABONAAAAA','Gains cannot cross colourful, long individuals. Drily red difficulties may not say to a plans. Very different cases ta','Books','cooking',1.60,2682.59,1.01
+'AAAAAAAACBDCAAAA','Well independent scores fight rare changes. Scottish rights would not give; implicit, modern services like yet. Conservative, effective yards should marry about a buildings. Valid, m','Books','cooking',0.50,8850.95,3.32
+'AAAAAAAACDKBAAAA','Unique, commercial discussions mark then social, top states; organizations will not hit never still traditional programmes. Social, afraid papers ought to meet english egg','Books','cooking',2.98,3583.18,1.34
+'AAAAAAAADEIBAAAA','Then attractive practices establish also at a issues; more independent records can inject even weak confidential bands. General parts will come culturally national standards.','Books','cooking',8.90,1781.95,0.67
+'AAAAAAAAECPBAAAA','Alone, following police will not expect mentally clothes. Dramatic, american weeks will not leap so central images. Costs remedy below black, easy letters. Parties ought to come more for a ','Books','cooking',17.66,2891.75,1.08
+'AAAAAAAAEHIDAAAA','Potential years would lay in order strong jobs. Times cannot allow specif','Books','cooking',3.65,6197.62,2.32
+'AAAAAAAAEPJDAAAA','Over demanding subjects may not look of course after a pos','Books','cooking',6.49,15543.46,5.83
+'AAAAAAAAGADEAAAA','Girls may use chri','Books','cooking',4.37,736.80,0.28
+'AAAAAAAAGALAAAAA','Great, only pages might not contribute so; small components require on a films. Times find apparently. So traditional sources find conditions. Gro','Books','cooking',3.40,11257.89,4.22
+'AAAAAAAAGBGBAAAA','Somehow revolutionary sh','Books','cooking',7.10,5940.50,2.23
+'AAAAAAAAGEDDAAAA','Available workshops might direct directly. Conditions must satisfy also upper reactions. Sufficient words must see young considerations. Terrible, only expres','Books','cooking',8.24,3600.68,1.35
+'AAAAAAAAGMMCAAAA','Chief countries leave actually rural, other fathers. Women discover very otherwise large ministers. Slow, envi','Books','cooking',7.35,2158.00,0.81
+'AAAAAAAAGOCAAAAA','Historical, economic lights shall stand much big, odd proposals. Rather grateful branches ought to take. Northern, high miles must ask increasingly. Once chronic','Books','cooking',4.37,5136.88,1.93
+'AAAAAAAAGPPBAAAA','Able, widespread elections could not apply to the powers. Minimal, pleasant fruits used to feed still flexible, new institutions; relationships','Books','cooking',6.47,8428.60,3.16
+'AAAAAAAAHDIBAAAA','Books give simply again technical terms. Fun deaths must not take below carefully true sons. Expensive arts could receive just about leaves. Central, payable reform','Books','cooking',0.86,1271.14,0.48
+'AAAAAAAAHFDEAAAA','Substantial, afraid effects must close. Areas could make only','Books','cooking',6.37,21494.23,8.06
+'AAAAAAAAHKLAAAAA','Purel','Books','cooking',4.62,4512.72,1.69
+'AAAAAAAAIHGCAAAA','About competitive members could not screen; however free performances could not give here in the studies; soft laws deal plans. Bodies complete all right fem','Books','cooking',1.18,9980.61,3.74
+'AAAAAAAAIOCCAAAA','Technological characters want a','Books','cooking',4.64,4752.36,1.78
+'AAAAAAAAIOICAAAA','Contributions move obviously now recent losses. Develo','Books','cooking',3.67,6311.34,2.37
+'AAAAAAAAJBFBAAAA','Too productive points would leave material ministers. Public, objective elections loosen no longer children; political, central movements speak ','Books','cooking',9.42,1847.54,0.69
+'AAAAAAAAJFKBAAAA','Meanwhile wet products ascerta','Books','cooking',5.40,5658.87,2.12
+'AAAAAAAAJHGAAAAA','Recent tools should spee','Books','cooking',20.16,6532.08,2.45
+'AAAAAAAAKCCAAAAA','Possible schools carry primarily dual rises; important meetings could continue other passengers. More scottish things might not fall orders. Right, unable expectati','Books','cooking',4.44,2945.69,1.10
+'AAAAAAAAKEJAAAAA','Other, atlantic regions know fast. Li','Books','cooking',68.84,11613.62,4.35
+'AAAAAAAAKFMCAAAA','Endless, vocational contracts would not stabilise churches. French, good cities light somehow on a offices. Now serious things raise for a walls; certain, c','Books','cooking',0.23,3226.22,1.21
+'AAAAAAAAKJGDAAAA','International eyes might see sales. Joint universities must not hold somewhat with a days. Perfect, profitable trials ought to seem; even pale quantities ','Books','cooking',0.94,1936.79,0.73
+'AAAAAAAAKNIBAAAA','Subjects will read too. Reduced, identical patients like through a animals. At least unable c','Books','cooking',0.12,1530.24,0.57
+'AAAAAAAALBKAAAAA','Conditions used to test so for a spirits; open, royal provisions might not look approximate','Books','cooking',36.97,4187.77,1.57
+'AAAAAAAALIGAAAAA','There superb accidents may strike individual results. Quiet, only forests drop as little unlikely towns. Observations can discern with a points. Substantial banks dest','Books','cooking',0.88,8104.81,3.04
+'AAAAAAAAMBCCAAAA','Schools ought to consider married sources. Then opening modules matter generally this apparent deals; times shall read units. Steps may stop. About modern others alter ','Books','cooking',8.40,11030.92,4.13
+'AAAAAAAAMHIBAAAA','Labour, happy rates stop details. Purposes say small, dead times; tickets will act hopefully yesterday considerable products. Competitive others stay with an purposes. Always personal guns might ri','Books','cooking',2.78,12683.38,4.75
+'AAAAAAAAMMIDAAAA','Technical proportions might perform poor jeans. All right subjects see alternative, big hundreds. Likely months guarantee always especially lon','Books','cooking',8.87,380.76,0.14
+'AAAAAAAAOBBBAAAA','Main meetings can burst certain, parliamentary heroes. Much happy journals learn','Books','cooking',2.61,1585.09,0.59
+'AAAAAAAAOCFBAAAA','Amounts feel as parents. Loud old assumptions can end no longer friendly p','Books','cooking',3.64,1417.21,0.53
+'AAAAAAAAODNBAAAA','Regulations will tell eventually extra pounds','Books','cooking',0.62,2637.22,0.99
+'AAAAAAAAOIOBAAAA','There pale members try a little cheap feet. Golden, o','Books','cooking',65.21,5762.14,2.16
+'AAAAAAAAONGCAAAA','Outcomes will become high wide, substantial clients. Sufficient, new resources weaken only over the moments. Of cour','Books','cooking',1.32,1121.34,0.42
+'AAAAAAAAPDGEAAAA','African lives must n','Books','cooking',0.88,13101.34,4.91
+'AAAAAAAAPNFEAAAA','Wooden, civil fingers keep great, possible scales. Police begin ago in common responsible times. Further open fathers can believe aga','Books','cooking',0.33,282.92,0.11
+'AAAAAAAAADBDAAAA','Upper men used to give still different girls. Proposals subsidise famous nerves. C','Books','entertainments',2.21,3266.76,1.64
+'AAAAAAAAAIKCAAAA','Troubles must know wise indicators. Kinds enter technical, new doubts. Likely, annual eyes see equivalent payments. Both inadequate feelings decide ever initial ','Books','entertainments',5.04,2592.74,1.30
+'AAAAAAAABGCEAAAA','Absolute proteins will happen huge, important unions. Varieties might not climb old, dead memories. Social, efficient governments form especially. Deputies may encourage for ever years. ','Books','entertainments',0.79,3539.20,1.77
+'AAAAAAAABGMDAAAA','NULL','Books','entertainments',NULL,10168.52,5.09
+'AAAAAAAABGOBAAAA','Japanese, long students may help very; there partial bombs must assess; intentions cannot execute most certain children; indeed necessary a','Books','entertainments',5.36,1803.90,0.90
+'AAAAAAAACGMDAAAA','Aware sentences used to find very by the months; difficulties bring finally. Years turn maybe shots. Apparent, bad lives try more. Physical, voluntary activ','Books','entertainments',6.55,1235.50,0.62
+'AAAAAAAACIDAAAAA','Millions might answer. Attractive rules might beat coloured volunteers. Scottis','Books','entertainments',3.51,11940.70,5.98
+'AAAAAAAACLAEAAAA','As direct shoes cannot guarantee there regular given specialists. Teachers say even eyes. True re','Books','entertainments',1.33,8646.39,4.33
+'AAAAAAAACNOAAAAA','Terms will happen today after a arguments. Most physical flowers doubt just. Other authorities would like still','Books','entertainments',4.15,2195.94,1.10
+'AAAAAAAACOFBAAAA','British, corporate years used to land all poor sequences. Lights ought to get wide real, everyday performances. Ears know essentially. C','Books','entertainments',5.45,9164.29,4.59
+'AAAAAAAADCOAAAAA','Silly acres shall belong alike following, similar pairs. Respectively lucky newspapers shall dare. Also labour requirements can leave; pounds used to stay even only solicitors. Silver systems may de','Books','entertainments',75.74,9674.08,4.84
+'AAAAAAAADFBBAAAA','Social, popular leaves could not ca','Books','entertainments',2.61,8216.66,4.11
+'AAAAAAAADGKAAAAA','However small values ','Books','entertainments',1.49,10944.45,5.48
+'AAAAAAAADHJDAAAA','Public hands might not','Books','entertainments',2.74,7787.48,3.90
+'AAAAAAAAEAPDAAAA','Implications imagine alive groups. Applications ought to meet steadily royal ideas. Able, efficient shoes shou','Books','entertainments',7.80,1342.26,0.67
+'AAAAAAAAECMCAAAA','Rather vast companies pose quiet, actual carers. Close times take only simple possibilities. Current events might say only on a foundation','Books','entertainments',67.28,1401.63,0.70
+'AAAAAAAAEHHBAAAA','Prepared, necessary others will let above for a stocks. Clearly new studies know. Final, social doubts worry certainly conclusions. Essential, severe attitudes respond sufficiently ','Books','entertainments',8.82,9367.84,4.69
+'AAAAAAAAFOCBAAAA','However new','Books','entertainments',2.06,1060.15,0.53
+'AAAAAAAAGABBAAAA','Lives may convey fair, popular industries; sure main records will take please with a restrictions. Illegally tough rights might not return never at the waters. Sensitive standards could take completel','Books','entertainments',2.68,2822.83,1.41
+'AAAAAAAAGEECAAAA','Other, human years used to give simply. Words may carry for the pictures; general month','Books','entertainments',4.85,12733.45,6.38
+'AAAAAAAAGHKDAAAA','Organisations shall guide tory organizations. Social, modest systems gro','Books','entertainments',7.74,434.88,0.22
+'AAAAAAAAGNKAAAAA','Resources comply cheap, ready places. Different, other lights will pay well. Days assume more large courts. Recordings could not design also at the members. Yards can let still political others','Books','entertainments',73.05,3326.52,1.67
+'AAAAAAAAGOLDAAAA','Generally ideal lips must reach beautiful, top patterns. Disabled methods find commercial things. Less happy co','Books','entertainments',6.19,6104.76,3.06
+'AAAAAAAAHDGDAAAA','Laws go shortly british, clear carers. Inner, available aspirations ought to abolish most armed strings. Activities gain then less high banks; never future reactions include so in a powers. Popular, ','Books','entertainments',9.69,2287.64,1.15
+'AAAAAAAAIDODAAAA','Positive, deep pounds might trust just national, financial sheets; answers will take nice, early degrees. Very other votes ought to meet soon international various towns. Changes understand. Delib','Books','entertainments',7.72,1520.07,0.76
+'AAAAAAAAIFABAAAA','Men shall tolerate easily too keen children. Relevant, full-time leaves cannot say presumably from the gods. Large, careful subjects sit pro','Books','entertainments',7.63,7686.65,3.85
+'AAAAAAAAJCGCAAAA','Annual, remote details would know only to a eyes. Laws construct teachers. Little armed prices used to charge economic, associated masters. Home available firms may tell however ','Books','entertainments',3.30,3145.04,1.57
+'AAAAAAAAJFEBAAAA','Too necessary dreams should not co','Books','entertainments',3.75,4680.81,2.34
+'AAAAAAAAJKGAAAAA','Lights allow. Things go white, available ','Books','entertainments',4.92,2308.80,1.16
+'AAAAAAAAJNFEAAAA','Men lift fit letters. Recent shares can give main, new substances. Chains help at the rights. Straightforward things show just european, useful shelves. Healthy combinati','Books','entertainments',0.77,3988.56,2.00
+'AAAAAAAAKDEAAAAA','Yet national bodies could answer on behalf of a hours. Features use later workers. Fortunes placa','Books','entertainments',6.46,4101.09,2.05
+'AAAAAAAAKELBAAAA','However fair pressures realise twice walls. Days bring both. Dreadful syste','Books','entertainments',17.28,4678.96,2.34
+'AAAAAAAAKJNAAAAA','Pp. should build white circumstances. Institutions cannot rest hardly. Minimum, personal goals will experi','Books','entertainments',2.86,1873.92,0.94
+'AAAAAAAAKLEEAAAA','Guilty, mathematical contents used to join as. Ashamed, traditional months go as within a principles. Forward free cases could seek very colleagu','Books','entertainments',9.61,640.02,0.32
+'AAAAAAAAKPABAAAA','Companies must not use especially other sentences. Just roman years benefit particular effects. Sometimes only factors imitate groups. Big processes would not require public, particular banks. ','Books','entertainments',1.75,669.30,0.34
+'AAAAAAAALGMCAAAA','Flowers cultivate still so-called, available','Books','entertainments',3.84,511.75,0.26
+'AAAAAAAAMAACAAAA','Specialists could not depend within the needs. Indian, specified mechanisms should perform together young towns. Seats understand always with a strings. New aspects secure. Report','Books','entertainments',6.36,3096.87,1.55
+'AAAAAAAAMAHDAAAA','Jol','Books','entertainments',14.38,5937.80,2.97
+'AAAAAAAAMFMAAAAA','Legal tasks could keep somewhat black experiences. Groups would expect characters. Also steep concerns might cost for a volunteers. W','Books','entertainments',2.70,54.16,0.03
+'AAAAAAAAMMDBAAAA','Methods secure commentators. Once full-time co','Books','entertainments',5.73,2061.90,1.03
+'AAAAAAAANJFEAAAA','Very, new trends should not des','Books','entertainments',3.14,4743.41,2.38
+'AAAAAAAAOAJCAAAA','Heavy plans ought to sound too just young users; further traditional eyes welcome neither too el','Books','entertainments',3.45,1068.35,0.54
+'AAAAAAAAOOEAAAAA','Companies reveal national reforms; kinds initiate in a languages. Positive miles ought to hesitate thick priorities. Large, cons','Books','entertainments',1.45,5085.84,2.55
+'AAAAAAAAPNIBAAAA','Very good prisoners go against a rules. ','Books','entertainments',3.20,9776.11,4.90
+'AAAAAAAAABNCAAAA','Services will let meetings. Following cuts used to belong actually thorough, comfortable products. Famous lights find since a lands.','Books','fiction',3.74,8142.46,2.26
+'AAAAAAAAAHICAAAA','Particular, concerned odds should see conditions. Limited, existing','Books','fiction',7.71,5250.85,1.46
+'AAAAAAAAAJFCAAAA','Real, brown girls used to go across a effects. Legal questions may assess able, false others. Policies put about; capable provisions get at a opportunities; prime, b','Books','fiction',7.98,3032.61,0.84
+'AAAAAAAAAKEDAAAA','Original, large kinds suit','Books','fiction',9.86,192.06,0.05
+'AAAAAAAAALOAAAAA','Teams would lead now through a eggs. Explanations think good, alone questions; liberal, religious plans alter then. True sports reduce eagerly racial, direct t','Books','fiction',2.73,8823.33,2.45
+'AAAAAAAAAMNBAAAA','Local, direct times can go also. American lines mention further calculations. Russian devices advise sources. Political initiatives may learn just new machines. ','Books','fiction',3.42,12602.81,3.49
+'AAAAAAAAAPEBAAAA','Words think as the police. Only companies shall speak anyway sure, present pairs. Small days may not beat short-term things. Well constant','Books','fiction',3.13,7820.63,2.17
+'AAAAAAAABCPBAAAA','Equal, human roads break hard topics. So political feet should fail away relative publications. Final, industrial areas may leave however by a police. Realistica','Books','fiction',30.09,2166.28,0.60
+'AAAAAAAABDPAAAAA','Keen years fight much. Concerned, vital kings get downstairs new, worthy millions. Else full gam','Books','fiction',2.95,834.15,0.23
+'AAAAAAAABGAAAAAA','Quite different services promote all the same. Private, marginal colleagues play of course similar, different girls. French, local girls reap here. Bad movies shorten relatively. Terms','Books','fiction',57.09,769.64,0.21
+'AAAAAAAABMLBAAAA','Factors could stimulate always. Public, local reactions might bring very. Sufficien','Books','fiction',3.49,2812.85,0.78
+'AAAAAAAACEFAAAAA','Important years participate indeed. Hands make so. Great, environmental lives ought to exist so national, free','Books','fiction',4.25,4189.26,1.16
+'AAAAAAAACENDAAAA','Key, other cases maintain special men. Words would cause significantly good, interesting arguments; plants would not bel','Books','fiction',6.71,20125.67,5.58
+'AAAAAAAACFFBAAAA','Main, ltd. flames continue firmly. European spirits used to endure true with a features. Others tell never moral, normal writers. Li','Books','fiction',0.77,4100.91,1.14
+'AAAAAAAACNLDAAAA','Profoundly useless women might go desperate, international remarks. Different, subject lines can arrange. Personal conditions should fin','Books','fiction',9.50,7033.39,1.95
+'AAAAAAAADCIDAAAA','National women find major, able shows. Direct visitors must not want indian clothes. Years must run slowly in the costs. Months mak','Books','fiction',8.93,25454.69,7.06
+'AAAAAAAADDDEAAAA','Male terms may provide laws; friends add truly rare points. Separate, whole hours may change over. Prime interests could not pretend indeed by a goods. Just past countries get how','Books','fiction',2.27,6298.10,1.75
+'AAAAAAAADEAAAAAA','So fair schools must go problems. Children should not paint in a photographs. Great, late senten','Books','fiction',1.47,1344.56,0.37
+'AAAAAAAADOKBAAAA','Much inner companies could not look nowadays managerial actual detectives. Great days ','Books','fiction',5.84,6859.72,1.90
+'AAAAAAAAECBDAAAA','Forces can testify happy, international levels. Performances pay right bands. Items could discourage even in a months; readers simplify ea','Books','fiction',0.09,4305.74,1.19
+'AAAAAAAAEEFEAAAA','Sufficient, only samples indicate still. Streets take clouds. Services know probably royal times. Old, international seconds must not mean clearly now rich managers. Legs est','Books','fiction',6.90,6816.68,1.89
+'AAAAAAAAEGGBAAAA','Enough average men keep conditions. Smooth magistrates kill only increasingly labour numbers. Numbers beat for a positions. Villages could make yet except for a thoughts. Little, cold prices think; d','Books','fiction',1.41,2850.60,0.79
+'AAAAAAAAEJPDAAAA','Appropriate rates shall eliminate the','Books','fiction',2.51,2774.19,0.77
+'AAAAAAAAENBCAAAA','Agencies will pick different authorities. Whole, academic moments will include again perhaps other profits. Months can lay in a effects. Feet must want gentle, central sections. Even visible he','Books','fiction',5.71,9516.94,2.64
+'AAAAAAAAFNFCAAAA','Years make recent leaves. Perhaps far kinds respond just. Glorious forces matter. Grounds shall not give just oth','Books','fiction',0.32,1950.84,0.54
+'AAAAAAAAFOCEAAAA','Very only cases help. Mere, dangerous figures could not note quickly political wea','Books','fiction',1.92,6142.46,1.70
+'AAAAAAAAGEJBAAAA','Endless, small hills cope again as ready forces. Ideal windows would not repeat so interested shoes. Really interesting stars suppress functional, local farmers. Leaves obtai','Books','fiction',9.02,2050.03,0.57
+'AAAAAAAAGEPDAAAA','Appointed, awful corners respond frequently. Northern friends may not call loudly vertical patients. Just','Books','fiction',82.50,2609.28,0.72
+'AAAAAAAAGJFDAAAA','Aspects appoint eligible, black authorities. Levels may not act far old, immediate stations. Left, critical hea','Books','fiction',8.11,1085.85,0.30
+'AAAAAAAAGNOBAAAA','Colleges cannot create quickly great relations; significant methods pour as educational, constant po','Books','fiction',5.95,2341.60,0.65
+'AAAAAAAAHDDAAAAA','Remote, japanese things would not need at all','Books','fiction',45.99,3782.68,1.05
+'AAAAAAAAHMADAAAA','Willingly left requests declare changes; old lists ought to apply again in a arms. Students eat german, individual ships. Weak goods ','Books','fiction',5.83,10040.62,2.78
+'AAAAAAAAHMGDAAAA','Fair, modern services assess to a','Books','fiction',4.50,6316.82,1.75
+'AAAAAAAAIMNCAAAA','Applications could make similar observations. Pp. would disappear english units. Mothers start instead in the makers. Empty, public fruits ','Books','fiction',3.09,2197.05,0.61
+'AAAAAAAAJEBCAAAA','Fundamental arms could depend. Members shall see other project','Books','fiction',2.43,13675.74,3.79
+'AAAAAAAAJJKAAAAA','Elsewher','Books','fiction',2.23,15758.25,4.37
+'AAAAAAAAKDOBAAAA','Just dead blocks cou','Books','fiction',1.67,1266.16,0.35
+'AAAAAAAAKFBEAAAA','Usually present societies should not hear regularly on a characteristics. Qualifications can ','Books','fiction',2.47,8585.24,2.38
+'AAAAAAAAKGNDAAAA','There different aspects stay often middle, special police. Molecular, scientific efforts define long without the years. Appropriate companies abide doubtless ','Books','fiction',6.99,14589.55,4.05
+'AAAAAAAAKNFBAAAA','Publi','Books','fiction',1.56,5440.65,1.51
+'AAAAAAAAKPNCAAAA','New, sure systems will not make respectiv','Books','fiction',0.84,4675.77,1.30
+'AAAAAAAALIAAAAAA','Clothes can get also; home financial premises should not give proudly. Disabled, urgent tears would not run. Previous, electric schools shall qualify usefully real heads. Very, ','Books','fiction',2.99,1837.12,0.51
+'AAAAAAAAMCHCAAAA','English germans anger systematically for the plans. Lights attract only leading sides. Points conceal. Widely other levels require political t','Books','fiction',4.86,1147.45,0.32
+'AAAAAAAAMDGBAAAA','Accounts used to matter crucially. More than useful ha','Books','fiction',8.72,388.44,0.11
+'AAAAAAAAMGBBAAAA','Inner, encouraging features should sue here to a terms. Patients will seem all slight members. Complex banks take apparently games. Able, irish patients used','Books','fiction',7.27,1376.10,0.38
+'AAAAAAAAMLAAAAAA','Central, principal men a','Books','fiction',0.47,2017.32,0.56
+'AAAAAAAANAMDAAAA','Average services could try unfortunately plants; extensive procedures must','Books','fiction',4.94,5734.05,1.59
+'AAAAAAAANDDAAAAA','Plants should manage slowly on a managers. Trials could stop never also obvious awards; true, attractive controls determine psychiatric, bad relations. Keys follow. Positions coul','Books','fiction',2.73,4345.24,1.20
+'AAAAAAAANEOAAAAA','Working dangers must follow british, wealthy governments. Possible magistrates ought to mean old, major facilities. Contents int','Books','fiction',3.42,12060.94,3.34
+'AAAAAAAANJGDAAAA','Concerned, working children feel politically real texts. Scientists take probably better concerned forms; here negative things comply recently french reactions. Briti','Books','fiction',9.47,19440.81,5.39
+'AAAAAAAANMFEAAAA','Low meals c','Books','fiction',6.53,3925.96,1.09
+'AAAAAAAANNEEAAAA','Quite linguistic cells ask already permanent, valuable players. Colours place hastily happy, short bacteria; int','Books','fiction',1.59,7110.63,1.97
+'AAAAAAAANOKAAAAA','So ethnic championships think totally soft, appropriate customers. Perfect, military enterprises used to reach away essential authorities. Stages','Books','fiction',5.77,4086.66,1.13
+'AAAAAAAAOCGAAAAA','Well different problems must not disrupt','Books','fiction',8.69,1985.29,0.55
+'AAAAAAAAOFECAAAA','Later high interests ','Books','fiction',5.61,9818.74,2.72
+'AAAAAAAAOGEEAAAA','Free processes can wake now still important institutions. Traditional, open plans serve better live years. Women should not pack by the experts. Competitors can miss hence op','Books','fiction',7.63,6537.27,1.81
+'AAAAAAAAOHHAAAAA','Private children used to stop really national, mate','Books','fiction',2.82,1432.82,0.40
+'AAAAAAAAOJCEAAAA',','Books','fiction',3.81,4949.10,1.37
+'AAAAAAAAPCEBAAAA','Th','Books','fiction',0.34,NULL,NULL
+'AAAAAAAAPGDEAAAA','Appointed others must trace yesterday with the members. Disabled animals talk also isolated, entire soldiers. Signs join at all lega','Books','fiction',0.97,7324.52,2.03
+'AAAAAAAAPMBAAAAA','Exactly financial games may find effective, delight','Books','fiction',8.79,8029.03,2.23
+'AAAAAAAAPOACAAAA','Major deaths swing later books; particularly expected problems give. High, high tools must see big areas. Major, informal passengers devise; windows cannot think further nice doors. Small','Books','fiction',4.56,465.50,0.13
+'AAAAAAAAAFIBAAAA','Different, fresh structures used to mean big schools; small, opposite findings drag ','Books','history',6.99,7291.12,1.93
+'AAAAAAAAAJFAAAAA','Normal cases call into a rates. Easy royal police cannot assert long records. Young, scottish exceptions kill more ce','Books','history',2.50,2666.31,0.70
+'AAAAAAAAAMEAAAAA','Very, true women eat. Left institutions may agree towards the kids; national, other terms open there then different prices; others settle however. Apparently normal ','Books','history',9.64,12533.18,3.31
+'AAAAAAAAAMJBAAAA','Flowers will look respectable negotiations. Standards see and so on social men. Points could play in the steps','Books','history',8.23,3648.46,0.96
+'AAAAAAAAAOFBAAAA','Also independent documents can answer approximately. Negotiations drop never. Similar, likely panels take parents. Ordinary, financial requirements could not match short, international p','Books','history',3.95,1478.52,0.39
+'AAAAAAAABADDAAAA','Protective, different police wish. So free standards could develop as for a respondents. Surprising, famous goods cannot fire only othe','Books','history',1.74,935.90,0.25
+'AAAAAAAABHCDAAAA','Also academic schemes might not think in a ingredients. Running, red papers come. Then prop','Books','history',9.69,3556.29,0.94
+'AAAAAAAABHJCAAAA','More weak months believe today unnecessary sources. Years tread difficult emissions. Intermediate, personal farms could sail as without a causes. New offices illust','Books','history',1.75,7880.37,2.08
+'AAAAAAAABMJDAAAA','Lines shall talk usually blue, vague cards. Popular years increa','Books','history',59.09,836.67,0.22
+'AAAAAAAABODEAAAA','Cruel presents shall not stay brothers. Indian, minor wages carry always significantly sorry employees. Right new looks wil','Books','history',3.76,4975.56,1.31
+'AAAAAAAABPFEAAAA','Serious, big changes might find populations; leaders make helplessly on a policies; great, likely departments try somehow changes; very right bags pretend new, central villages. No longer ','Books','history',2.64,42.27,0.01
+'AAAAAAAACBLCAAAA','Right difficulties feed too directly medieval years. Vocational services see here; abroad sure relationships would sit against the principles; injuries would not assist bare, safe adve','Books','history',5.98,1059.57,0.28
+'AAAAAAAACIBAAAAA','Surely specific clubs must remember necessary, big duties. There final words learn practically standard lands. Private, clear companies must see','Books','history',4.94,811.68,0.21
+'AAAAAAAACJHBAAAA','Good children shall pass fairly free, current cards. German tactics know','Books','history',1.13,8970.57,2.37
+'AAAAAAAACLNAAAAA','At all public areas object ','Books','history',75.67,152.32,0.04
+'AAAAAAAADCDCAAAA','Recent, unable partners may continue good, blac','Books','history',0.69,1302.85,0.34
+'AAAAAAAADDFCAAAA','Misleading, royal orders ought to attempt away single schools. Fat generations could not get h','Books','history',5.94,11450.72,3.03
+'AAAAAAAADHIBAAAA','Eyes must not sound. Classes take. Best pleased methods provi','Books','history',0.17,697.92,0.18
+'AAAAAAAADLPCAAAA','Patient trains will happen even good, central steps. New equations will include by a exercises. Key, psychological deaths apply mainly also foreign bodies. Assistant, inap','Books','history',9.95,12236.37,3.23
+'AAAAAAAAECIDAAAA','Unemployed attacks may not take both later social circumstances. Wide, other owners must not explore teach','Books','history',3.98,3016.53,0.80
+'AAAAAAAAEEMCAAAA','Extra, annual kinds produce other lights. Successful pp. should not tell home in a husbands. Centres ho','Books','history',87.93,4408.70,1.16
+'AAAAAAAAEJNDAAAA','Also public times make flat, personal instances. Almost old remains used to reverse yesterday wryly lucky ','Books','history',1.94,7302.98,1.93
+'AAAAAAAAEKFEAAAA','Afraid, grey officers mean costly institutions. Societi','Books','history',9.13,4121.85,1.09
+'AAAAAAAAFBFCAAAA','Mechanisms make. Most small colleagues remember only. Previous, clear years measure at once. Words find already representatives. Lucky restaurants mark parts. Local, prime grants cannot find so','Books','history',3.98,7776.53,2.05
+'AAAAAAAAFCCEAAAA','Whole companies teach more subsequent, similar priests. From time to time united tests should talk men. Fine standards come to','Books','history',7.77,3200.84,0.85
+'AAAAAAAAFJKBAAAA','Roads clear. General exceptions give capable, free times; patients ought ','Books','history',4.41,4555.90,1.20
+'AAAAAAAAGDNDAAAA','Shareholders should buy blue aspirations. Known, formal colleagues remain instead english minutes. Benefits operate always miles. Su','Books','history',3.87,1085.96,0.29
+'AAAAAAAAGECBAAAA','However dead stars shall not think lately only ordinary dates. Day','Books','history',9.88,4869.71,1.29
+'AAAAAAAAGHHDAAAA','Futures should enjoy able galleries. Late blue tickets pass longer urgently dead types. Shoulders will see rigidly institutions. Other con','Books','history',2.64,6413.60,1.69
+'AAAAAAAAGICDAAAA','Great sounds might shake just extremely important men. Paintings ','Books','history',1.73,3273.90,0.87
+'AAAAAAAAGIIDAAAA','Factors want. Events declare here excellent','Books','history',2.30,5544.72,1.47
+'AAAAAAAAGLMAAAAA','Comprehensive kinds may c','Books','history',9.43,9512.55,2.51
+'AAAAAAAAHBJCAAAA','Vast, lively periods will not treat new, average r','Books','history',6.01,2002.74,0.53
+'AAAAAAAAHDDDAAAA','Very questions will not come changes. Famous things used to go very personal muscles. Marvellous methods shall ask so large, twin citizens; purposes kill so. Rough tears used to concentrate in ','Books','history',8.39,19376.75,5.12
+'AAAAAAAAIEODAAAA','Likely findings can maintain suddenly into the aspects; ideas would n','Books','history',8.74,985.24,0.26
+'AAAAAAAAIGPAAAAA','Happy procedures will make flat, single teachers. Coloured, economic concepts','Books','history',4.08,4623.37,1.22
+'AAAAAAAAIIHAAAAA','Expensive services ensur','Books','history',2.88,3273.09,0.86
+'AAAAAAAAIIJBAAAA','Already unexpected relations must investigate sooner new fair ','Books','history',26.55,767.89,0.20
+'AAAAAAAAIIOBAAAA','Marvellous, high hands for','Books','history',6.07,6573.13,1.74
+'AAAAAAAAIKIDAAAA','Handsome trees could not become over lucky, human circumstances. Possible causes shall not make by a proposals. Only effective owners can like at least rates; sure, able','Books','history',4.36,7791.99,2.06
+'AAAAAAAAILPBAAAA','Incredible films may not restrain as. Central fields will not defer in','Books','history',6.15,1078.56,0.28
+'AAAAAAAAIMNBAAAA','Black, necessary acts will claim over. Just painful lines prove national, detailed activiti','Books','history',4.78,552.00,0.15
+'AAAAAAAAINPCAAAA','Significant, traditional soldiers sacrifice shortly. Hands could not get new details; uncomfortable police will block. Total, significant galleries assist ','Books','history',3.35,3386.59,0.89
+'AAAAAAAAIONDAAAA','Central nights shall note acutely patients. National years take about an sets. Only critical cattle press very as a effects. Most occasional devices ought to work ab','Books','history',7.83,14300.44,3.78
+'AAAAAAAAJGEAAAAA','Fully powerful qualities pinpoint thus movements. Domestic officers continue in a cases. Teachers shall introduce indeed other, good','Books','history',0.65,6334.78,1.67
+'AAAAAAAAKFLAAAAA','Everyd','Books','history',1.79,7069.46,1.87
+'AAAAAAAAKLLDAAAA','Partners could contact from a efforts. Mysterious, royal reports could suffer excellent, other divisions. Strong elements may enable for example small things. Judges used to make. Suffi','Books','history',58.19,2628.31,0.69
+'AAAAAAAAKMKCAAAA','Sometimes physical theories allow ever differences. Crucial, common things can land often high, increased children. Apart european troops pay easily problems. More clear descriptions m','Books','history',4.09,6056.36,1.60
+'AAAAAAAAKNBEAAAA','Tall animals swim extra commercial, special politicians; requirements punish; services relate always ','Books','history',45.77,6612.35,1.75
+'AAAAAAAALAFAAAAA','New plants bring however on a years. Economic, british needs go of course. Children shall not benefit. Dangerous, whole patients ought to let. Camps shall not seek merely modest hearts. Hands like','Books','history',5.91,8789.94,2.32
+'AAAAAAAALANBAAAA','Chief objects look teachers. Already empi','Books','history',1.13,26641.81,7.04
+'AAAAAAAALJCDAAAA','Limited, just centres move carefully fundamental females. Flowers might use never. New, advisory rules ','Books','history',1.27,7584.28,2.00
+'AAAAAAAAMBFCAAAA','Private, democratic hands could not compete now anxious levels; pure supporters would not question furt','Books','history',7.76,3705.35,0.98
+'AAAAAAAAMBPDAAAA','Gothic pockets see cognitive, agricultural years. As important men account good, old hands. Pretty, old laws break quickly to a','Books','history',8.85,700.32,0.19
+'AAAAAAAAMGICAAAA','Arms get at most more alone troops. Singl','Books','history',6.16,1834.70,0.48
+'AAAAAAAAMHMBAAAA','Only supplies might remember again. Forces agree thus of course human areas. Budgets should pay similar, local procedures. Following, able things help elderly, american volu','Books','history',3.98,1461.84,0.39
+'AAAAAAAAMKEDAAAA','States provide better values. Massive backs will play just underneath relevant procedures. Invariably labour legs insert sti','Books','history',1.75,436.80,0.12
+'AAAAAAAAMPPCAAAA','Categories shall','Books','history',8.98,3439.98,0.91
+'AAAAAAAANELDAAAA','Middle areas should respond appropriate, other plans. Stories escape somewha','Books','history',5.35,2308.02,0.61
+'AAAAAAAANIBDAAAA','Other, convincing readers shall talk rapidly parents. De','Books','history',4.31,19220.00,5.08
+'AAAAAAAANMCBAAAA','Policies compensate more long eyes. Terrible, single res','Books','history',6.60,9284.67,2.45
+'AAAAAAAANNHBAAAA','Old, casual cards appear large, industrial areas. There chinese profits receive well safe words. Contemporary centuries consider particularly','Books','history',9.83,1717.86,0.45
+'AAAAAAAAOCJBAAAA','Resources might benefit yesterday relations. Urban boats demonstrate main, following sales. Materials accept therefore thoughts. Short, particular paymen','Books','history',8.95,3852.80,1.02
+'AAAAAAAAOEKAAAAA','Bad commentators should not happen; furious ','Books','history',0.55,3600.00,0.95
+'AAAAAAAAOGGAAAAA','Temporary, beautiful negotiations carry holy, electric gentlemen. Else large fingers should sail museums. Orders take profoundly high, international arms; often able','Books','history',0.66,8298.62,2.19
+'AAAAAAAAOLDBAAAA','Special chee','Books','history',49.12,29083.38,7.68
+'AAAAAAAAPNLBAAAA','National members sue inner tasks. Other, dark windows sleep notably burning arrangements. Lightly industrial ships may recognise alone a','Books','history',0.13,5470.68,1.45
+'AAAAAAAAADPBAAAA','Then specific supporters know years. Flowers start deliberately lucky dealers. Much english trades want. Errors vary from a years. Only absolute women might lower material centres. White, civil j','Books','home repair',6.98,47.79,0.01
+'AAAAAAAAAMKBAAAA','Scottish, broken pupils must not wait high just terms. International, european miles might think; areas may get true feet. Certain authorities can eliminate','Books','home repair',3.89,13388.47,3.88
+'AAAAAAAAANMDAAAA','Professional, great girls shall not understand then. Living, old eyes take genuinely schools. Further recent drivers recover properties; wrong, fresh policies swim. Pregnant, full appl','Books','home repair',43.55,8865.73,2.57
+'AAAAAAAABFDEAAAA','Efficient, bad commitments ought to form grounds. Alone vast competitors might','Books','home repair',19.40,2154.45,0.62
+'AAAAAAAABIKAAAAA','Rough conservatives function easily views; modern, corresponding texts improve wide, faint experiments. Duties cannot support similarly pages. Shows should discuss apart scenes. Ye','Books','home repair',34.30,11259.71,3.26
+'AAAAAAAABJJAAAAA','Very european writers ought to swim so efficient, proud opponents. Quickly medical si','Books','home repair',3.61,459.93,0.13
+'AAAAAAAABODBAAAA','Governments shall light just. Mediterranean, russian differences would adjust perhaps methods. Holes answer largely commercially optimistic fees. Available houses used to help later scotti','Books','home repair',1.89,4790.66,1.39
+'AAAAAAAACDFDAAAA','Whole, thin items ','Books','home repair',1.75,18262.68,5.29
+'AAAAAAAACLADAAAA','Full problems might not split political, serious legs. Also particular minutes transmit thus healthy minute','Books','home repair',6.75,10082.03,2.92
+'AAAAAAAACOHAAAAA','Again parliamentary stocks may generate typically unnecessary external arrangements. Funds fight again sole, rural contributions. Public fires','Books','home repair',6.21,8374.65,2.43
+'AAAAAAAADAKAAAAA',','Books','home repair',6.10,11471.54,3.32
+'AAAAAAAADECEAAAA','Open, other words include a little sharply anxious soldiers. Conditions mean now rules. Patients shall vary around a problems. Difficult edges take stil','Books','home repair',7.66,12933.23,3.75
+'AAAAAAAADLEEAAAA','Professional, delicate settings must raise partially generally common heads. Either','Books','home repair',1.78,289.30,0.08
+'AAAAAAAAEADEAAAA','Ships should help private, possible societies. C','Books','home repair',8.10,11201.35,3.25
+'AAAAAAAAEIBAAAAA','Then human details','Books','home repair',0.82,2109.69,0.61
+'AAAAAAAAEJCBAAAA','Young, whi','Books','home repair',5.38,1079.51,0.31
+'AAAAAAAAEJDDAAAA','Unknown minutes must not override especially significant flowers. Northern problems mean on the objections. Words mean later econo','Books','home repair',2.50,1600.14,0.46
+'AAAAAAAAFAFDAAAA','As available citizens shall know. Unlikely, social men require. Leaves would make now on a years. Yet industrial interest','Books','home repair',9.91,16111.32,4.67
+'AAAAAAAAFDFAAAAA','All right used men must demand. Visual companies take entirely inhabitants; forward common hands hear here local customers. So traditional questions shal','Books','home repair',7.18,603.13,0.17
+'AAAAAAAAFIHCAAAA','Hard specialists could deal now royal beds. Now high vehicles boycott fingers. National, british students operate pop','Books','home repair',2.46,4067.36,1.18
+'AAAAAAAAFKDEAAAA','Western, great eyes return unknown tensions. European years might not signal asleep, reduced countries. S','Books','home repair',7.29,573.54,0.17
+'AAAAAAAAGBEAAAAA','Later wonderful authorities must get famous terms. Articles shall vary to a shoulders. Exhibitions replace far good councillors. Feet can increase rarely later high sales. Open c','Books','home repair',2.10,5190.70,1.50
+'AAAAAAAAGCOBAAAA','Vital colleagues allow very letters; recent, dramatic resources tell very thousands. Royal, sexual aspirations will earn almost on a legs. We','Books','home repair',4.05,3114.46,0.90
+'AAAAAAAAGDEBAAAA','Probably british interests could not arrange considerable sources; newspapers speak aback by a negotiations. ','Books','home repair',4.16,4441.55,1.29
+'AAAAAAAAGPOCAAAA','Widespread, comprehen','Books','home repair',2.89,5969.32,1.73
+'AAAAAAAAHGMAAAAA','Variables arrange hostile democrats. Original habits know as certain horses. Firm, technical pupils must see also never other','Books','home repair',9.17,2756.10,0.80
+'AAAAAAAAHPJDAAAA','Services prepare always conventional conditions. British children ought to see seconds. Regional rivers preserve much royal, eligible millions; anxious, past customers shall not accompany. Names c','Books','home repair',1.77,435.75,0.13
+'AAAAAAAAIKODAAAA','Final, final wives show between an rocks. Final, local participants might sue at all blue hours. Kinds move always generally benefic','Books','home repair',4.05,2041.92,0.59
+'AAAAAAAAILKCAAAA','Possible, advisory conclusions could not reply. Preliminary rooms should provide initiatives. Still constitutional women should take into a chemicals. Well good effects must a','Books','home repair',74.38,1283.39,0.37
+'AAAAAAAAIMCDAAAA','Different ties woul','Books','home repair',1.64,4975.45,1.44
+'AAAAAAAAINCDAAAA','Chinese dreams cannot tell how','Books','home repair',0.53,16303.25,4.73
+'AAAAAAAAINLAAAAA','Common colonies tell british, regular me','Books','home repair',4.31,2360.53,0.68
+'AAAAAAAAIPHBAAAA','Narrow eyes shall affect in a goods. Addit','Books','home repair',0.45,8478.03,2.46
+'AAAAAAAAJACCAAAA','Even rural schemes lead bombs. Ready minutes expect quite matters. Old flowers s','Books','home repair',4.45,1861.31,0.54
+'AAAAAAAAJAICAAAA','Too good effects telephone too crazy students. Specific, scottish elements might not tell nuclear variables. Following stations receive more responsible','Books','home repair',8.80,1283.82,0.37
+'AAAAAAAAJKFBAAAA','Events stop a little. Northern, white walls welcome at all businesses. Governors must see from a ','Books','home repair',1.96,2145.98,0.62
+'AAAAAAAAKCDCAAAA','So alternative bones make very blind, foreign things. Policies find main, industrial cases. Funds must buy enough quite quiet years. Much different photographs clear serious','Books','home repair',7.09,5403.68,1.57
+'AAAAAAAAKDBDAAAA','Firm towns may come only clear, main companies. Enough old groups appoint. Children know in a co','Books','home repair',2.74,14467.49,4.19
+'AAAAAAAAKFHBAAAA','Offences would not tell ideas. Required neighbours would create previously. Human processes become suddenly specific casualties; things used to propose closely. Substantial views may claim ','Books','home repair',8.16,3073.31,0.89
+'AAAAAAAAKPNDAAAA','Slowly small communicat','Books','home repair',6.35,41.86,0.01
+'AAAAAAAALALAAAAA','Important months sing then remaining ways; national tears seem other, com','Books','home repair',0.95,1598.49,0.46
+'AAAAAAAALCCEAAAA','Daily lines must say as. Ready conditions avoid police. Girls ought to reveal however managerial affairs;','Books','home repair',19.65,4979.65,1.44
+'AAAAAAAALOCEAAAA','Public, crucial institutions get. Years could materialise. Nice plans involve; details must not see about a sounds. Very medical activities may remain offices. Yet high lovers carry only future p','Books','home repair',29.87,4356.99,1.26
+'AAAAAAAALPGCAAAA','Free, relevant facilities used to include on a assumpt','Books','home repair',0.21,8613.92,2.50
+'AAAAAAAAMBGAAAAA','Regulatory, financial words would obtain yet at a relatives. Also main lines should bel','Books','home repair',3.33,NULL,NULL
+'AAAAAAAAMCADAAAA','Much certain gardens shall not result quick sounds. Of course outer opportunities see very. Recent terms might take a','Books','home repair',7.12,1197.79,0.35
+'AAAAAAAAMGPCAAAA','Wonderful, public offices might carry ordinary rivers; girls stay supreme hands; right wide forces afford too internationally impossible lovers. Fresh, social teeth grow. Other, permanent','Books','home repair',1.47,1447.85,0.42
+'AAAAAAAAMJDCAAAA','Average features detect instead in a consequences; single organisations ','Books','home repair',3.98,238.38,0.07
+'AAAAAAAAMKGDAAAA','Gay, safe banks must not live sure markets; spanish, possible environments hold gradually. Large, desperate defendants should take commonly wide horses. P','Books','home repair',0.60,3710.97,1.08
+'AAAAAAAAMLNCAAAA','Appropriate, special fans may not talk best rather real feet. Generally mass systems define so. Today tragic towns ensure only established, serious players. Good at','Books','home repair',6.74,7388.24,2.14
+'AAAAAAAANAOBAAAA','In general high russians sound easily police. Organisers can produce just off','Books','home repair',35.14,9200.97,2.67
+'AAAAAAAANCBDAAAA','White times examine products. Alone, square examples used to get highly. Willing chairs must not conjure immediately recent members; northern societies may seem properly p','Books','home repair',3.44,8972.70,2.60
+'AAAAAAAANOAEAAAA','Labour, h','Books','home repair',35.82,4334.42,1.26
+'AAAAAAAAOHHBAAAA','Subjects sit only usually financial drugs; either joint months eat at a changes. Unpleasant gardens gain sad, new values. Articles give similarly ideally strange others. As responsible c','Books','home repair',6.71,5509.44,1.60
+'AAAAAAAAOIFCAAAA','Only final contributions could take though specialist experiments. There possible arrangements respect emotions. Public groups seem peaceful spirits. Criminal conservatives ought to give as in ','Books','home repair',7.48,1530.85,0.44
+'AAAAAAAAOJIAAAAA','Redundant children will not replace at all useful hospitals; technical','Books','home repair',1.32,7630.43,2.21
+'AAAAAAAAOONCAAAA','Away central others argu','Books','home repair',3.39,8232.26,2.39
+'AAAAAAAAPEDDAAAA','Influential, major levels like. Secondary divisions may give factories. There little','Books','home repair',1.96,1506.72,0.44
+'AAAAAAAAPHIBAAAA','Suddenly toxic trials indicate tender, light shares. ','Books','home repair',5.02,12184.82,3.53
+'AAAAAAAAPKPAAAAA','Techniques sink very thinking examples. Still innocent spirits face eventually little products. Video-taped reports exceed far processes. New org','Books','home repair',2.42,15339.28,4.45
+'AAAAAAAAPNGAAAAA','Unusually small programmes would lift recently social, small workshops. Offices s','Books','home repair',1.73,11693.58,3.39
+'AAAAAAAAADCAAAAA','Nice knees help be','Books','mystery',1.55,2196.44,1.29
+'AAAAAAAAADDBAAAA','Numbers take serious, christian lips. Blue objects flow only quite immediate countr','Books','mystery',7.65,3764.47,2.21
+'AAAAAAAAAIJDAAAA','Central, entire generations like poor, indian loans. Gentle, powerful buildings adopt again activities. Married sounds will write in the organizations. Bodies appear to the days. Already bro','Books','mystery',4.06,4820.07,2.83
+'AAAAAAAAAPIAAAAA','Ministers should fail never ears; civil, biological problems will re','Books','mystery',6.70,859.50,0.50
+'AAAAAAAABONDAAAA','Joint, foreign relationships ring other, physical representations. Illustrations will not understand more flat pupils. Soft, grateful constraints train little, short par','Books','mystery',0.09,4407.35,2.59
+'AAAAAAAACECAAAAA','Human, possible rumours buy then both following sides; continuous hands use again in the writers; distinctive others increase afterwards wild s','Books','mystery',4.92,7175.75,4.21
+'AAAAAAAACLBAAAAA','Common, logical babies must take somehow general months. Costs drag. Big, british areas give dramatic, effective clot','Books','mystery',3.00,834.09,0.49
+'AAAAAAAACOOCAAAA','Only excellent concentrations shall want more monthly, blind subsid','Books','mystery',8.38,26196.44,15.37
+'AAAAAAAADPJBAAAA','Human years improve broadly poli','Books','mystery',3.93,7206.32,4.23
+'AAAAAAAAEKGDAAAA','Houses should ','Books','mystery',1.77,3341.80,1.96
+'AAAAAAAAFFDDAAAA',','Books','mystery',2.79,4237.23,2.49
+'AAAAAAAAFGACAAAA','Fe','Books','mystery',8.45,8868.51,5.20
+'AAAAAAAAFINCAAAA','Words want just to the allegations; sometimes clear thousands shall belong up to an views; oth','Books','mystery',4.62,11058.27,6.49
+'AAAAAAAAGJICAAAA','Written leaders could help by a buildings; symbols could take more far isolated patients. Other, different stages flow new words. Rightly american thousands ought to contact away only','Books','mystery',6.88,4311.47,2.53
+'AAAAAAAAGOCDAAAA','Estimates give true bi','Books','mystery',8.51,1958.69,1.15
+'AAAAAAAAHCAEAAAA','Most medium weeks look under the families. Women could mould bare states. Disciplinary, big meetings stand only materials. Practical requirem','Books','mystery',1.70,6075.82,3.57
+'AAAAAAAAHGPAAAAA','Historic, level to','Books','mystery',29.30,9950.91,5.84
+'AAAAAAAAHHIAAAAA','Evenings go simply central conditions. Small, other characters must not sha','Books','mystery',2.79,2810.85,1.65
+'AAAAAAAAHLKAAAAA','New centuries seem too. Wide, possible fathers shall rise in addition in a homes. Parti','Books','mystery',51.60,6137.08,3.60
+'AAAAAAAAIGAAAAAA','Rapidly difficult films realize. Deep electronic parents calculate remaining affairs','Books','mystery',2.33,694.84,0.41
+'AAAAAAAAIGBBAAAA','Patients must sanction however examples. Electronic, executive patients may indicate at least american studies. Children might not give worldwide administ','Books','mystery',61.27,1488.27,0.87
+'AAAAAAAAIJBBAAAA','Ships achieve as old, considerable members. New, key characters could not play n','Books','mystery',0.98,5339.52,3.13
+'AAAAAAAAIPCEAAAA','Short working places might w','Books','mystery',1.12,7288.21,4.28
+'AAAAAAAAJFACAAAA','Mistakes prove slowly most big companies. Eggs make even in a relations. Heavily little crops reach in a procedures. New, nuclear deposits reduce even of','Books','mystery',4.93,2992.30,1.76
+'AAAAAAAAJFEEAAAA','Quite welsh costs agree specially results. Goth','Books','mystery',1.83,11.52,0.01
+'AAAAAAAAKDMBAAAA','Welsh, electoral points shall fix more approximately possible claims. T','Books','mystery',2.83,7833.83,4.60
+'AAAAAAAAKJAEAAAA','Cautiously fair arms find a little plans. Years ought to react common arms. Wrong structures reflect effectively countries. Human ways may get just capital, regional animals; similar, senior pl','Books','mystery',2.75,NULL,NULL
+'AAAAAAAAKMNCAAAA','Yet complex diff','Books','mystery',6.10,1442.68,0.85
+'AAAAAAAAKNLBAAAA','Sisters go seemingly tall, special fragments; straightforward grounds make all','Books','mystery',7.67,1378.73,0.81
+'AAAAAAAALEPBAAAA','Especially correct courts en','Books','mystery',2.92,1425.08,0.84
+'AAAAAAAAMABAAAAA','Small designs may not guide sure single things','Books','mystery',3.73,2586.34,1.52
+'AAAAAAAAMMKAAAAA','Widespread, mental authorities go less than new symptoms. ','Books','mystery',3.63,6301.51,3.70
+'AAAAAAAANHBEAAAA','Clean pictures would become through a clients. Legs sell up to a effects. Powerful, german areas may come in general at least little changes. Too medical years may suck probably soon pub','Books','mystery',6.36,1659.84,0.97
+'AAAAAAAAOFBAAAAA','Real, correct drinks deny carefully. Good subjects shall not contribute home highly mediterranean ideas; whole workers should affect by a dishes. Eyes can believe productive, total eyes. Databa','Books','mystery',3.10,2329.80,1.37
+'AAAAAAAAOGODAAAA',','Books','mystery',2.25,8600.32,5.05
+'AAAAAAAAONIDAAAA','So serious weeks might come weak members. At all young boxes imagine armed girls; fairly political services work technical, local authorities; actu','Books','mystery',51.11,2815.12,1.65
+'AAAAAAAAACDDAAAA','Parents may affect perfect conten','Books','parenting',0.98,4697.24,1.94
+'AAAAAAAAADOCAAAA','Hands know european, absolu','Books','parenting',1.88,3032.67,1.25
+'AAAAAAAAAIEEAAAA','New results used to lead soon african, true penalties. Popular trains follow environmentally classical gates. Final crews will indica','Books','parenting',0.41,11256.20,4.64
+'AAAAAAAAALFBAAAA','Beaches make ','Books','parenting',0.44,1510.40,0.62
+'AAAAAAAABHGCAAAA','Girls become from a intervals. Changes shall crash further very initial families. Total, possible systems advertise','Books','parenting',5.34,4131.30,1.70
+'AAAAAAAACFCEAAAA','Additional, terrible characters shall examine. Ago lexical conditions get into a weeks. Barely trying results perform still hot men. Great kinds end also committees. Police should live only on the ','Books','parenting',4.46,1505.79,0.62
+'AAAAAAAACLKCAAAA','Distinctive, narrow members will think too rules. Teenage, rigid patients occur steadily public, local databases','Books','parenting',1.50,8666.56,3.58
+'AAAAAAAADAGEAAAA','Environmental businesses behave settlements. Students might make of course almost organisational goals. Eyes brush on','Books','parenting',7.79,5382.48,2.22
+'AAAAAAAADIEEAAAA','Previous, other details will talk ahead. Children hear here; true services require children; partly lucky members must make at first uncertain','Books','parenting',1.85,8637.81,3.56
+'AAAAAAAADLDCAAAA','Political, lucky standards learn appeals. Eventual, influential services involve numerous, coming scientists. Eyes play less','Books','parenting',9.95,18505.53,7.63
+'AAAAAAAADOODAAAA','Major feet must prevent other, able problems. Provisions attract. Daughters accept in pri','Books','parenting',2.06,5288.92,2.18
+'AAAAAAAAEBFAAAAA','Small companies develop vehemently. Past, great rights would get so ways. Soon national members achieve. Professional, stupid properties can tell m','Books','parenting',99.89,10199.20,4.21
+'AAAAAAAAEEHBAAAA','Generally communist workers ought to speak to a quantities. Male, english decades take. Explanations retain comparatively large, enormous patterns. Mediterranean budget','Books','parenting',5.73,525.26,0.22
+'AAAAAAAAEPHDAAAA','More clear charges dry both. More fat days research often strong skills. Now old features admit too good minerals. Abo','Books','parenting',1.05,5748.19,2.37
+'AAAAAAAAFDHBAAAA','Ages see both to an supporters. Creative sides will not make always. Groups grow therefore expensive talks. Apparent citizens survive across new, single minutes; previous, dark rivers qualify.','Books','parenting',7.04,4281.84,1.77
+'AAAAAAAAFDMCAAAA','Long walls may clarify cases. New chairs will attract legal patients. Functions disc','Books','parenting',8.06,721.21,0.30
+'AAAAAAAAGFCAAAAA','Departmen','Books','parenting',2.09,8636.38,3.56
+'AAAAAAAAGNPBAAAA','B','Books','parenting',0.89,129.54,0.05
+'AAAAAAAAICKCAAAA','Fears take sudden developments. Central cells might try forward for instance special banks. Feet must not mean also. Flat times shall ask over the days. Regulations may consider; ','Books','parenting',7.20,12010.46,4.95
+'AAAAAAAAIFFEAAAA','Else ashamed temperatures sue negative things. Groups will','Books','parenting',41.35,2974.92,1.23
+'AAAAAAAAIFNAAAAA','Acute, important performances afford. New, nuclear men used to assess again small results.','Books','parenting',10.11,14724.17,6.07
+'AAAAAAAAIHFAAAAA','Significantly small suggestions will not come more new blue terms. Fundamentally previous soldiers understand alone huge contracts. Religious, professional miles must ap','Books','parenting',4.64,5046.48,2.08
+'AAAAAAAAIMJCAAAA','Usually different views shall serve personally unknown symbols. Countries prove methods. Necessary men consider also to a communications. Always inner hundreds will not share suddenly from a shops. P','Books','parenting',8.94,220.25,0.09
+'AAAAAAAAJDHAAAAA','Continued ideas reflect only still other prices. Actually historical weeks help low, appropriate companies; recent provisions widen du','Books','parenting',2.16,1105.75,0.46
+'AAAAAAAAJLNBAAAA','Subjects may think on a times. New, back services will keep along a runs; trees engage financial models; again limited men might join certainly. R','Books','parenting',4.12,2508.75,1.03
+'AAAAAAAAJNFBAAAA','Instead certain attempts would fit even medical natural rates. Aware, critical newspapers say wit','Books','parenting',71.58,10076.22,4.16
+'AAAAAAAAKGLBAAAA','Clear approaches should take alone daughters. Complex, small materials provide also by a groups. Americans discuss so. Cons','Books','parenting',3.34,390.37,0.16
+'AAAAAAAAKHAAAAAA','Generally french beds will ask amounts. Difficult, difficult workers would come once again in a resources. So inc','Books','parenting',2.62,8339.40,3.44
+'AAAAAAAAKHEBAAAA','New, busy years think potentially to a lights. Much apparent individuals find still other places. Speakers could ','Books','parenting',4.76,10612.15,4.38
+'AAAAAAAAKILDAAAA','Also parental feet must suggest now relationships','Books','parenting',1.19,1021.77,0.42
+'AAAAAAAALODDAAAA','As generous germans mean almost eastern variables. Long years must not face really good, atomic relations; chemical, corporate bills must honour seasons. Artificial, gold materials determine','Books','parenting',4.51,894.70,0.37
+'AAAAAAAAMANDAAAA','French','Books','parenting',4.98,15486.40,6.39
+'AAAAAAAAMECBAAAA','Provisions go too. Sad others contain italian branches. Keys k','Books','parenting',2.08,446.00,0.18
+'AAAAAAAAMFBEAAAA','Hopes should not remember more consistent colours. Really new techniques could not consider then forms','Books','parenting',5.58,20249.86,8.35
+'AAAAAAAAMFKBAAAA','Most modern concentrations may direct e','Books','parenting',0.56,2622.96,1.08
+'AAAAAAAAMHABAAAA','Features might not get as pounds. Names should indicate ages. Police used to see ele','Books','parenting',2.79,7738.10,3.19
+'AAAAAAAAMNNAAAAA','Rightly responsible documents laugh other candidates. Educational times hide specific, famous elections. Styles cannot go to the sides','Books','parenting',0.70,1084.32,0.45
+'AAAAAAAAMNNDAAAA','Theoretical degrees sho','Books','parenting',3.90,731.52,0.30
+'AAAAAAAAMOPDAAAA','Studies go of course unable friends; here brilliant techniques understand radical, passive','Books','parenting',70.67,160.48,0.07
+'AAAAAAAANBLDAAAA','Other, correct points pick. Policies shall regard of course just major topics; white, popular wome','Books','parenting',0.42,480.20,0.20
+'AAAAAAAANMAAAAAA','Over wide attacks agree i','Books','parenting',7.30,497.35,0.21
+'AAAAAAAAOAIAAAAA','Possible, concerned facilities would not show also most due opinions. Empty students maintain of course possible, particular years. ','Books','parenting',8.67,1180.36,0.49
+'AAAAAAAAOFNDAAAA','Anywhere proper men will not run remarkable, revolutionary libraries. Poor rates used to hear also. Huge years see structural churches.','Books','parenting',7.36,2344.16,0.97
+'AAAAAAAAONMCAAAA','Spanish, likely professionals should te','Books','parenting',5.56,10391.64,4.29
+'AAAAAAAAPAICAAAA','Other ambitions seek aloud to a measurements; other hands could provide children; also particular pp. could push fine, huge mines. Just coun','Books','parenting',4.72,555.56,0.23
+'AAAAAAAAPMHAAAAA','Right social years would fit indirectly creatures. Very suspicious words should not write particular, typical views. Rarely evident hours wish more lucky others. So racial loans imitate a','Books','parenting',6.39,5658.92,2.33
+'AAAAAAAAAEGDAAAA','Important, large lips warrant. Only old solutions live lovely ingredients. Angles ought to marry central, white banks. Threats follow.','Books','reference',1.85,5201.12,1.72
+'AAAAAAAAAHHCAAAA','However other lines could afford just for the groups. Tenants must purchase. British arrangements continue domestic, quick tasks. Traditiona','Books','reference',1.65,10890.80,3.61
+'AAAAAAAAALMAAAAA','Back, social names gather known experiences. Tough problems shall gain. Powerful, far stones cou','Books','reference',3.50,3501.82,1.16
+'AAAAAAAAAODAAAAA','Secondary, economic pupils loo','Books','reference',3.68,2726.82,0.90
+'AAAAAAAABDFEAAAA','Magnetic students respond small figures. Tasks may not know less european, scottish months. Characters shall concentrate yesterday still usual systems. Projects','Books','reference',4.91,6302.00,2.09
+'AAAAAAAABDJDAAAA','Primary, curious reports feel late of course waste weeks; yellow arts imagine still prices; unpleasant, remote forms differ rather than ','Books','reference',2.91,5200.56,1.72
+'AAAAAAAABEHBAAAA','Steep, labour clubs achieve less hands; often great towns mean tall, new maps. Conditions occur following men. Costs should coordinate; objectives know modest details. Child','Books','reference',2.13,3695.28,1.23
+'AAAAAAAABLHAAAAA','Perhaps old sources disappear. Small, bright enterprises used to take by a systems. Local proteins could not try then. Blank, special colleges appear.','Books','reference',7.38,14646.94,4.86
+'AAAAAAAABNJCAAAA','At least assistant bands can address certainly black trees. Terms ought to knock ex','Books','reference',0.49,471.36,0.16
+'AAAAAAAABOBDAAAA','Immediately professional cells may ship properly forward political members. Daily, direct trains can choose clearly. Partners answer everywhere at a chara','Books','reference',0.18,16491.62,5.47
+'AAAAAAAACFGDAAAA','Even other windows ought to appear very scientists. Models close. Certain actions might press soon by the programs. Ultimate, ill de','Books','reference',8.20,2172.73,0.72
+'AAAAAAAACIBCAAAA','At once good friends limit. Too simple stations','Books','reference',1.88,558.14,0.19
+'AAAAAAAACKJCAAAA','Possibilities should not fit almost eggs; seriously little members del','Books','reference',3.40,9476.74,3.14
+'AAAAAAAACKNBAAAA','Today labour characters used to like quite black difficult papers; ages catch low, common matters. Sick judges might make both opposite seeds. Public, foreign proceedings must not rescue of c','Books','reference',3.30,2429.21,0.81
+'AAAAAAAACLGAAAAA',','Books','reference',2.23,2328.47,0.77
+'AAAAAAAACLPBAAAA','Officials can include more. Trades imagine still in a words. That is american systems should not demonstrate even for a characters. Electrical members should not think able, foreign finger','Books','reference',9.55,601.20,0.20
+'AAAAAAAADBOBAAAA','Notions shall say major journals; economic standards make at once old requirements. So corporate numbers ask now in a images; surely closed feelings m','Books','reference',1.80,5327.56,1.77
+'AAAAAAAADIKBAAAA','Rural, strong dollars can go in a students; nice restrictions leave afield spectacular, royal experts; decisions ought to defend about early effective pp.; russian, national relations shall deli','Books','reference',9.64,3655.37,1.21
+'AAAAAAAAEEJCAAAA','Soldiers may look generally specific forces. Functions shall provide even negative pensioners. Real, soviet opportunities cry no lon','Books','reference',52.92,6544.32,2.17
+'AAAAAAAAEJDEAAAA','Natural communities create original youngsters; as beautiful children smooth legal, big agreements. Special, other heads make regularly la','Books','reference',6.41,8590.84,2.85
+'AAAAAAAAEKFDAAAA','Young blacks might answer here great factors. Shares will not cond','Books','reference',0.35,3766.67,1.25
+'AAAAAAAAGJHDAAAA','Effective needs may not improve old bonds. Courts cannot come only with a sources. Before proud files like just partial authorities. Parliam','Books','reference',0.97,966.50,0.32
+'AAAAAAAAGKMBAAAA','Front markets ought to reach very academic ways. Then possible words open entirely public products. Softly origin','Books','reference',4.07,4860.86,1.61
+'AAAAAAAAGOPCAAAA','Concerned agreements may imagine forward large demonstrations. Primary, excellent months would not think clearly by a hopes. Open firms wipe men. Impor','Books','reference',2.27,3976.69,1.32
+'AAAAAAAAHFBAAAAA','Old places avoid certain, typical hands; here original arms see in a ideas. Good','Books','reference',38.26,3993.95,1.32
+'AAAAAAAAHLNDAAAA','Markets must say for ever then green weeks. Better fresh forces find also similar restaurants; proposals materialise for a procedures. Here other results ','Books','reference',2.44,2428.67,0.81
+'AAAAAAAAHMGAAAAA','Words bear international, expected countries. Apparent, misleading years get ever rich grounds. Over atomic feet could forgive ultimate, educational bishops; current, vas','Books','reference',4.95,2101.32,0.70
+'AAAAAAAAHOHDAAAA','Educational reasons know also through an economies. Countries hope constitutional, rough ministers. Relations would not say also likely gue','Books','reference',6.23,3994.17,1.32
+'AAAAAAAAIAMCAAAA','Very financial 

<TRUNCATED>

[04/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q99.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q99.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q99.test
new file mode 100644
index 0000000..7ae3c9e
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q99.test
@@ -0,0 +1,128 @@
+====
+---- QUERY: TPCDS-Q99
+select
+   substr(w_warehouse_name,1,20)
+  ,sm_type
+  ,cc_name
+  ,sum(case when (cs_ship_date_sk - cs_sold_date_sk <= 30 ) then 1 else 0 end)  as "30 days"
+  ,sum(case when (cs_ship_date_sk - cs_sold_date_sk > 30) and
+                 (cs_ship_date_sk - cs_sold_date_sk <= 60) then 1 else 0 end )  as "31-60 days"
+  ,sum(case when (cs_ship_date_sk - cs_sold_date_sk > 60) and
+                 (cs_ship_date_sk - cs_sold_date_sk <= 90) then 1 else 0 end)  as "61-90 days"
+  ,sum(case when (cs_ship_date_sk - cs_sold_date_sk > 90) and
+                 (cs_ship_date_sk - cs_sold_date_sk <= 120) then 1 else 0 end)  as "91-120 days"
+  ,sum(case when (cs_ship_date_sk - cs_sold_date_sk  > 120) then 1 else 0 end)  as ">120 days"
+from
+   catalog_sales
+  ,warehouse
+  ,ship_mode
+  ,call_center
+  ,date_dim
+where
+    d_month_seq between 1200 and 1200 + 11
+and cs_ship_date_sk   = d_date_sk
+and cs_warehouse_sk   = w_warehouse_sk
+and cs_ship_mode_sk   = sm_ship_mode_sk
+and cs_call_center_sk = cc_call_center_sk
+group by
+   substr(w_warehouse_name,1,20)
+  ,sm_type
+  ,cc_name
+order by substr(w_warehouse_name,1,20)
+        ,sm_type
+        ,cc_name
+limit 100;
+---- RESULTS
+'Bad cards must make.','EXPRESS','Mid Atlantic',1270,1318,1281,0,0
+'Bad cards must make.','EXPRESS','NY Metro',1226,1287,1282,0,0
+'Bad cards must make.','EXPRESS','North Midwest',1208,1242,1294,0,0
+'Bad cards must make.','LIBRARY','Mid Atlantic',962,976,1009,0,0
+'Bad cards must make.','LIBRARY','NY Metro',978,984,999,0,0
+'Bad cards must make.','LIBRARY','North Midwest',898,959,958,0,0
+'Bad cards must make.','NEXT DAY','Mid Atlantic',1225,1328,1327,0,0
+'Bad cards must make.','NEXT DAY','NY Metro',1262,1325,1246,0,0
+'Bad cards must make.','NEXT DAY','North Midwest',1227,1300,1276,0,0
+'Bad cards must make.','OVERNIGHT','Mid Atlantic',956,935,990,0,0
+'Bad cards must make.','OVERNIGHT','NY Metro',982,930,993,0,0
+'Bad cards must make.','OVERNIGHT','North Midwest',907,990,955,0,0
+'Bad cards must make.','REGULAR','Mid Atlantic',928,974,1005,0,0
+'Bad cards must make.','REGULAR','NY Metro',942,1009,948,0,0
+'Bad cards must make.','REGULAR','North Midwest',921,968,925,0,0
+'Bad cards must make.','TWO DAY','Mid Atlantic',954,971,979,0,0
+'Bad cards must make.','TWO DAY','NY Metro',947,1013,952,0,0
+'Bad cards must make.','TWO DAY','North Midwest',904,930,947,0,0
+'Conventional childr','EXPRESS','Mid Atlantic',1214,1296,1243,0,0
+'Conventional childr','EXPRESS','NY Metro',1284,1331,1277,0,0
+'Conventional childr','EXPRESS','North Midwest',1180,1287,1226,0,0
+'Conventional childr','LIBRARY','Mid Atlantic',990,1008,962,0,0
+'Conventional childr','LIBRARY','NY Metro',983,976,981,0,0
+'Conventional childr','LIBRARY','North Midwest',925,892,953,0,0
+'Conventional childr','NEXT DAY','Mid Atlantic',1284,1315,1274,0,0
+'Conventional childr','NEXT DAY','NY Metro',1288,1280,1284,0,0
+'Conventional childr','NEXT DAY','North Midwest',1249,1278,1308,0,0
+'Conventional childr','OVERNIGHT','Mid Atlantic',897,973,926,0,0
+'Conventional childr','OVERNIGHT','NY Metro',958,963,897,0,0
+'Conventional childr','OVERNIGHT','North Midwest',942,934,937,0,0
+'Conventional childr','REGULAR','Mid Atlantic',941,1007,945,0,0
+'Conventional childr','REGULAR','NY Metro',949,928,987,0,0
+'Conventional childr','REGULAR','North Midwest',920,927,925,0,0
+'Conventional childr','TWO DAY','Mid Atlantic',926,979,1047,0,0
+'Conventional childr','TWO DAY','NY Metro',925,1007,962,0,0
+'Conventional childr','TWO DAY','North Midwest',879,980,971,0,0
+'Doors canno','EXPRESS','Mid Atlantic',1240,1245,1267,0,0
+'Doors canno','EXPRESS','NY Metro',1234,1270,1349,0,0
+'Doors canno','EXPRESS','North Midwest',1185,1238,1197,0,0
+'Doors canno','LIBRARY','Mid Atlantic',873,974,948,0,0
+'Doors canno','LIBRARY','NY Metro',987,1005,990,0,0
+'Doors canno','LIBRARY','North Midwest',947,952,1025,0,0
+'Doors canno','NEXT DAY','Mid Atlantic',1264,1276,1185,0,0
+'Doors canno','NEXT DAY','NY Metro',1263,1337,1310,0,0
+'Doors canno','NEXT DAY','North Midwest',1202,1247,1278,0,0
+'Doors canno','OVERNIGHT','Mid Atlantic',912,888,934,0,0
+'Doors canno','OVERNIGHT','NY Metro',942,1003,959,0,0
+'Doors canno','OVERNIGHT','North Midwest',896,903,911,0,0
+'Doors canno','REGULAR','Mid Atlantic',888,953,974,0,0
+'Doors canno','REGULAR','NY Metro',971,1028,946,0,0
+'Doors canno','REGULAR','North Midwest',937,974,914,0,0
+'Doors canno','TWO DAY','Mid Atlantic',974,898,985,0,0
+'Doors canno','TWO DAY','NY Metro',982,1017,997,0,0
+'Doors canno','TWO DAY','North Midwest',985,937,959,0,0
+'Important issues liv','EXPRESS','Mid Atlantic',1322,1329,1293,0,0
+'Important issues liv','EXPRESS','NY Metro',1301,1300,1239,0,0
+'Important issues liv','EXPRESS','North Midwest',1266,1228,1285,0,0
+'Important issues liv','LIBRARY','Mid Atlantic',988,997,925,0,0
+'Important issues liv','LIBRARY','NY Metro',947,963,988,0,0
+'Important issues liv','LIBRARY','North Midwest',937,972,964,0,0
+'Important issues liv','NEXT DAY','Mid Atlantic',1221,1268,1217,0,0
+'Important issues liv','NEXT DAY','NY Metro',1281,1311,1310,0,0
+'Important issues liv','NEXT DAY','North Midwest',1219,1214,1327,0,0
+'Important issues liv','OVERNIGHT','Mid Atlantic',929,1018,991,0,0
+'Important issues liv','OVERNIGHT','NY Metro',950,965,931,0,0
+'Important issues liv','OVERNIGHT','North Midwest',936,989,932,0,0
+'Important issues liv','REGULAR','Mid Atlantic',961,995,949,0,0
+'Important issues liv','REGULAR','NY Metro',972,934,1018,0,0
+'Important issues liv','REGULAR','North Midwest',905,947,941,0,0
+'Important issues liv','TWO DAY','Mid Atlantic',954,982,944,0,0
+'Important issues liv','TWO DAY','NY Metro',844,972,1006,0,0
+'Important issues liv','TWO DAY','North Midwest',914,969,960,0,0
+'NULL','EXPRESS','Mid Atlantic',1223,1314,1257,0,0
+'NULL','EXPRESS','NY Metro',1274,1296,1286,0,0
+'NULL','EXPRESS','North Midwest',1159,1329,1276,0,0
+'NULL','LIBRARY','Mid Atlantic',941,978,948,0,0
+'NULL','LIBRARY','NY Metro',886,1001,1009,0,0
+'NULL','LIBRARY','North Midwest',917,943,991,0,0
+'NULL','NEXT DAY','Mid Atlantic',1304,1264,1349,0,0
+'NULL','NEXT DAY','NY Metro',1271,1251,1291,0,0
+'NULL','NEXT DAY','North Midwest',1199,1233,1273,0,0
+'NULL','OVERNIGHT','Mid Atlantic',965,989,967,0,0
+'NULL','OVERNIGHT','NY Metro',979,993,1039,0,0
+'NULL','OVERNIGHT','North Midwest',946,1016,905,0,0
+'NULL','REGULAR','Mid Atlantic',933,994,997,0,0
+'NULL','REGULAR','NY Metro',961,1022,1034,0,0
+'NULL','REGULAR','North Midwest',893,921,949,0,0
+'NULL','TWO DAY','Mid Atlantic',972,968,972,0,0
+'NULL','TWO DAY','NY Metro',926,974,1004,0,0
+'NULL','TWO DAY','North Midwest',941,921,981,0,0
+---- TYPES
+STRING, STRING, STRING, BIGINT, BIGINT, BIGINT, BIGINT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-q22a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-q22a.test b/testdata/workloads/tpcds/queries/tpcds-q22a.test
deleted file mode 100644
index 3e40c35..0000000
--- a/testdata/workloads/tpcds/queries/tpcds-q22a.test
+++ /dev/null
@@ -1,148 +0,0 @@
-====
----- QUERY: TPCDS-Q22A
--- RESULT MISMATCH FROM ORIGINAL in LSD of AVG() values
--- FIXED, HAND_ROUNDED AVG() VALUES IN RESULT SET
-set decimal_v2=1;
-with results as
-(select  i_product_name
-             ,i_brand
-             ,i_class
-             ,i_category
-             ,inv_quantity_on_hand qoh
-       from inventory
-           ,date_dim
-           ,item
-           ,warehouse
-       where  inv_date_sk=d_date_sk
-              and inv_item_sk=i_item_sk
-              and inv_warehouse_sk = w_warehouse_sk
-              and d_month_seq between 1200 and 1200 + 11
-       -- group by i_product_name,i_brand,i_class,i_category
-),
-results_rollup as
-(select i_product_name, i_brand, i_class, i_category,avg(qoh) qoh
-from results
-group by i_product_name,i_brand,i_class,i_category
-union all
-select i_product_name, i_brand, i_class, null i_category,avg(qoh) qoh
-from results
-group by i_product_name,i_brand,i_class
-union all
-select i_product_name, i_brand, null i_class, null i_category,avg(qoh) qoh
-from results
-group by i_product_name,i_brand
-union all
-select i_product_name, null i_brand, null i_class, null i_category,avg(qoh)  qoh
-from results
-group by i_product_name
-union all
-select null i_product_name, null i_brand, null i_class, null i_category,avg(qoh) qoh
-from results)
- select  i_product_name, i_brand, i_class, i_category, cast(qoh as decimal(12, 2))
-      from results_rollup
-      order by qoh, i_product_name, i_brand, i_class, i_category
-limit 100;
----- RESULTS
-'ationbarn station','amalgbrand #8','bathroom','Home',430.36
-'ationbarn station','amalgbrand #8','bathroom','NULL',430.36
-'ationbarn station','amalgbrand #8','NULL','NULL',430.36
-'ationbarn station','NULL','NULL','NULL',430.36
-'ationoughtn stn st','edu packimporto #2','sports-apparel','Men',435.27
-'ationoughtn stn st','edu packimporto #2','sports-apparel','NULL',435.27
-'ationoughtn stn st','edu packimporto #2','NULL','NULL',435.27
-'ationoughtn stn st','NULL','NULL','NULL',435.27
-'ationationprin st','amalgexporti #2','newborn','Children',435.51
-'ationationprin st','amalgexporti #2','newborn','NULL',435.51
-'ationationprin st','amalgexporti #2','NULL','NULL',435.51
-'ationationprin st','NULL','NULL','NULL',435.51
-'oughtcallyn stantiought','corpcorp #2','rings','Jewelry',436.49
-'oughtcallyn stantiought','corpcorp #2','rings','NULL',436.49
-'oughtcallyn stantiought','corpcorp #2','NULL','NULL',436.49
-'oughtcallyn stantiought','NULL','NULL','NULL',436.49
-'callyesebaration','namelesscorp #7','mens watch','Jewelry',437.39
-'callyesebaration','namelesscorp #7','mens watch','NULL',437.39
-'callyesebaration','namelesscorp #7','NULL','NULL',437.39
-'callyesebaration','NULL','NULL','NULL',437.39
-'n stprieingationought','namelesscorp #8','mens watch','Jewelry',439.06
-'n stprieingationought','namelesscorp #8','mens watch','NULL',439.06
-'n stprieingationought','namelesscorp #8','NULL','NULL',439.06
-'n stprieingationought','NULL','NULL','NULL',439.06
-'priationn stn st','importoscholar #2','country','Music',439.10
-'priationn stn st','importoscholar #2','country','NULL',439.10
-'priationn stn st','importoscholar #2','NULL','NULL',439.10
-'priationn stn st','NULL','NULL','NULL',439.10
-'n stcallyableoughtought','amalgimporto #2','accessories','Men',439.72
-'n stcallyableoughtought','amalgimporto #2','accessories','NULL',439.72
-'n stcallyableoughtought','amalgimporto #2','NULL','NULL',439.72
-'n stcallyableoughtought','NULL','NULL','NULL',439.72
-'n stbarought','corpbrand #10','rugs','Home',440.31
-'n stbarought','corpbrand #10','rugs','NULL',440.31
-'n stbarought','corpbrand #10','NULL','NULL',440.31
-'n stbarought','NULL','NULL','NULL',440.31
-'n stn stantioughtought','exportimaxi #8','computers','Books',440.93
-'n stn stantioughtought','exportimaxi #8','computers','NULL',440.93
-'n stn stantioughtought','exportimaxi #8','NULL','NULL',440.93
-'n stn stantioughtought','NULL','NULL','NULL',440.93
-'n stcallyesepriought','edu packscholar #2','classical','Music',441.54
-'n stcallyesepriought','edu packscholar #2','classical','NULL',441.54
-'n stcallyesepriought','edu packscholar #2','NULL','NULL',441.54
-'n stcallyesepriought','NULL','NULL','NULL',441.54
-'priantiationation','importoimporto #2','shirts','Men',441.67
-'priantiationation','importoimporto #2','shirts','NULL',441.67
-'priantiationation','importoimporto #2','NULL','NULL',441.67
-'priantiationation','NULL','NULL','NULL',441.67
-'oughtbarantiese','exportiedu pack #2','kids','Shoes',441.75
-'oughtbarantiese','exportiedu pack #2','kids','NULL',441.75
-'oughtbarantiese','exportiedu pack #2','NULL','NULL',441.75
-'oughtbarantiese','NULL','NULL','NULL',441.75
-'oughtbarprin st','edu packscholar #2','classical','Music',442.07
-'oughtbarprin st','edu packscholar #2','classical','NULL',442.07
-'oughtbarprin st','edu packscholar #2','NULL','NULL',442.07
-'oughtbarprin st','NULL','NULL','NULL',442.07
-'ationeingation','amalgexporti #2','newborn','Children',443.78
-'ationeingation','amalgexporti #2','newborn','NULL',443.78
-'ationeingation','amalgexporti #2','NULL','NULL',443.78
-'ationeingation','NULL','NULL','NULL',443.78
-'ationbarn stableought','corpbrand #8','rugs','Home',444.09
-'ationbarn stableought','corpbrand #8','rugs','NULL',444.09
-'ationbarn stableought','corpbrand #8','NULL','NULL',444.09
-'ationbarn stableought','NULL','NULL','NULL',444.09
-'eseationcallyableought','importoexporti #1','infants','Children',444.54
-'eseationcallyableought','importoexporti #1','infants','NULL',444.54
-'eseationcallyableought','importoexporti #1','NULL','NULL',444.54
-'eseationcallyableought','NULL','NULL','NULL',444.54
-'eingableableationought','amalgimporto #1','accessories','Men',444.71
-'eingableableationought','amalgimporto #1','accessories','NULL',444.71
-'eingableableationought','amalgimporto #1','NULL','NULL',444.71
-'eingableableationought','NULL','NULL','NULL',444.71
-'n steseantiation','univmaxi #10','pools','Sports',445.33
-'n steseantiation','univmaxi #10','pools','NULL',445.33
-'n steseantiation','univmaxi #10','NULL','NULL',445.33
-'n steseantiation','NULL','NULL','NULL',445.33
-'antibareingantiought','importoimporto #2','shirts','Men',445.41
-'antibareingantiought','importoimporto #2','shirts','NULL',445.41
-'antibareingantiought','importoimporto #2','NULL','NULL',445.41
-'antibareingantiought','NULL','NULL','NULL',445.41
-'ationantibarationought','univmaxi #8','pools','Sports',445.42
-'ationantibarationought','univmaxi #8','pools','NULL',445.42
-'ationantibarationought','univmaxi #8','NULL','NULL',445.42
-'ationantibarationought','NULL','NULL','NULL',445.42
-'oughtpricallybarought','edu packexporti #2','school-uniforms','Children',445.49
-'oughtpricallybarought','edu packexporti #2','school-uniforms','NULL',445.49
-'oughtpricallybarought','edu packexporti #2','NULL','NULL',445.49
-'oughtpricallybarought','NULL','NULL','NULL',445.49
-'ableationprieing','amalgamalg #1','dresses','Women',446.00
-'ableationprieing','amalgamalg #1','dresses','NULL',446.00
-'ableationprieing','amalgamalg #1','NULL','NULL',446.00
-'ableationprieing','NULL','NULL','NULL',446.00
-'pribarpribarought','edu packimporto #2','sports-apparel','Men',446.04
-'pribarpribarought','edu packimporto #2','sports-apparel','NULL',446.04
-'pribarpribarought','edu packimporto #2','NULL','NULL',446.04
-'pribarpribarought','NULL','NULL','NULL',446.04
-'oughtn stprin st','exportiamalgamalg #8','stereo','Electronics',447.27
-'oughtn stprin st','exportiamalgamalg #8','stereo','NULL',447.27
-'oughtn stprin st','exportiamalgamalg #8','NULL','NULL',447.27
-'oughtn stprin st','NULL','NULL','NULL',447.27
----- TYPES
-STRING, STRING, STRING, STRING, DECIMAL
-====

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/tests/common/test_vector.py
----------------------------------------------------------------------
diff --git a/tests/common/test_vector.py b/tests/common/test_vector.py
index 9ae7355..4d22269 100644
--- a/tests/common/test_vector.py
+++ b/tests/common/test_vector.py
@@ -99,6 +99,10 @@ class ImpalaTestMatrix(object):
   def add_dimension(self, dimension):
     self.dimensions[dimension.name] = dimension
 
+  def add_mandatory_exec_option(self, exec_option_key, exec_option_value):
+    for vector in self.dimensions['exec_option']:
+      vector.value[exec_option_key] = exec_option_value
+
   def clear(self):
     self.dimensions.clear()
 

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/tests/query_test/test_tpcds_queries.py
----------------------------------------------------------------------
diff --git a/tests/query_test/test_tpcds_queries.py b/tests/query_test/test_tpcds_queries.py
index 099d8a9..9cec9f7 100644
--- a/tests/query_test/test_tpcds_queries.py
+++ b/tests/query_test/test_tpcds_queries.py
@@ -105,9 +105,6 @@ class TestTpcdsQuery(ImpalaTestSuite):
   def test_tpcds_q21(self, vector):
     self.run_test_case(self.get_workload() + '-q21', vector)
 
-  def test_tpcds_q22a(self, vector):
-    self.run_test_case(self.get_workload() + '-q22a', vector)
-
   def test_tpcds_q25(self, vector):
     self.run_test_case(self.get_workload() + '-q25', vector)
 
@@ -268,6 +265,246 @@ class TestTpcdsQuery(ImpalaTestSuite):
     self.run_test_case(self.get_workload() + '-q99', vector)
 
 
+class TestTpcdsDecimalV2Query(ImpalaTestSuite):
+  @classmethod
+  def get_workload(cls):
+    return 'tpcds'
+
+  @classmethod
+  def add_test_dimensions(cls):
+    super(TestTpcdsDecimalV2Query, cls).add_test_dimensions()
+    cls.ImpalaTestMatrix.add_constraint(lambda v:\
+        v.get_value('table_format').file_format not in ['rc', 'hbase', 'kudu'] and\
+        v.get_value('table_format').compression_codec in ['none', 'snap'] and\
+        v.get_value('table_format').compression_type != 'record')
+    cls.ImpalaTestMatrix.add_mandatory_exec_option('decimal_v2', 1)
+
+    if cls.exploration_strategy() != 'exhaustive':
+      # Cut down on the execution time for these tests in core by running only
+      # against parquet.
+      cls.ImpalaTestMatrix.add_constraint(lambda v:\
+          v.get_value('table_format').file_format in ['parquet'])
+
+    cls.ImpalaTestMatrix.add_constraint(lambda v:\
+        v.get_value('exec_option')['batch_size'] == 0)
+
+  def test_tpcds_q1(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q1', vector)
+
+  def test_tpcds_q2(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q2', vector)
+
+  def test_tpcds_q3(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q3', vector)
+
+  def test_tpcds_q4(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q4', vector)
+
+  def test_tpcds_q6(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q6', vector)
+
+  def test_tpcds_q7(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q7', vector)
+
+  def test_tpcds_q8(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q8', vector)
+
+  def test_tpcds_q10a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q10a', vector)
+
+  def test_tpcds_q11(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q11', vector)
+
+  def test_tpcds_q12(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q12', vector)
+
+  def test_tpcds_q13(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q13', vector)
+
+  def test_tpcds_q15(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q15', vector)
+
+  def test_tpcds_q16(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q16', vector)
+
+  def test_tpcds_q17(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q17', vector)
+
+  def test_tpcds_q18a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q18a', vector)
+
+  def test_tpcds_q19(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q19', vector)
+
+  def test_tpcds_q20(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q20', vector)
+
+  def test_tpcds_q21(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q21', vector)
+
+  def test_tpcds_q22a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q22a', vector)
+
+  def test_tpcds_q25(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q25', vector)
+
+  def test_tpcds_q29(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q29', vector)
+
+  def test_tpcds_q32(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q32', vector)
+
+  def test_tpcds_q33(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q33', vector)
+
+  def test_tpcds_q34(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q34', vector)
+
+  def test_tpcds_q37(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q37', vector)
+
+  def test_tpcds_q39_1(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q39-1', vector)
+
+  def test_tpcds_q39_2(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q39-2', vector)
+
+  def test_tpcds_q40(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q40', vector)
+
+  def test_tpcds_q41(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q41', vector)
+
+  def test_tpcds_q42(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q42', vector)
+
+  def test_tpcds_q43(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q43', vector)
+
+  def test_tpcds_q46(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q46', vector)
+
+  def test_tpcds_q50(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q50', vector)
+
+  def test_tpcds_q51(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q51', vector)
+
+  def test_tpcds_q51a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q51a', vector)
+
+  def test_tpcds_q52(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q52', vector)
+
+  def test_tpcds_q53(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q53', vector)
+
+  def test_tpcds_q54(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q54', vector)
+
+  def test_tpcds_q55(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q55', vector)
+
+  def test_tpcds_q56(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q56', vector)
+
+  def test_tpcds_q60(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q60', vector)
+
+  def test_tpcds_q61(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q61', vector)
+
+  def test_tpcds_q62(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q62', vector)
+
+  def test_tpcds_q64(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q64', vector)
+
+  def test_tpcds_q65(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q65', vector)
+
+  def test_tpcds_q67a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q67a', vector)
+
+  def test_tpcds_q68(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q68', vector)
+
+  def test_tpcds_q69(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q69', vector)
+
+  def test_tpcds_q70a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q70a', vector)
+
+  def test_tpcds_q71(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q71', vector)
+
+  def test_tpcds_q72(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q72', vector)
+
+  def test_tpcds_q73(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q73', vector)
+
+  def test_tpcds_q74(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q74', vector)
+
+  def test_tpcds_q75(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q75', vector)
+
+  def test_tpcds_q76(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q76', vector)
+
+  def test_tpcds_q77a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q77a', vector)
+
+  def test_tpcds_q78(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q78', vector)
+
+  def test_tpcds_q79(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q79', vector)
+
+  def test_tpcds_q80a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q80a', vector)
+
+  def test_tpcds_q81(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q81', vector)
+
+  def test_tpcds_q82(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q82', vector)
+
+  def test_tpcds_q84(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q84', vector)
+
+  def test_tpcds_q86a(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q86a', vector)
+
+  def test_tpcds_q88(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q88', vector)
+
+  def test_tpcds_q91(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q91', vector)
+
+  def test_tpcds_q92(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q92', vector)
+
+  def test_tpcds_q94(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q94', vector)
+
+  def test_tpcds_q95(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q95', vector)
+
+  def test_tpcds_q96(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q96', vector)
+
+  def test_tpcds_q97(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q97', vector)
+
+  def test_tpcds_q98(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q98', vector)
+
+  def test_tpcds_q99(self, vector):
+    self.run_test_case(self.get_workload() + '-decimal_v2-q99', vector)
+
+
 class TestTpcdsInsert(ImpalaTestSuite):
   @classmethod
   def get_workload(self):


[03/12] impala git commit: IMPALA-6386: Invalidate metadata at table level for dataload

Posted by ta...@apache.org.
IMPALA-6386: Invalidate metadata at table level for dataload

Dataload currently executes bin/load-data.py for TPC-H,
TPC-DS, and functional-query concurrently. One of the final
steps for bin/load-data.py is to run a global "invalidate
metadata". Global "invalidate metadata" commands are known
to cause problem on concurrent systems. See IMPALA-5087.
For dataload, if TPC-H executes "invalidate metadata" while
TPC-DS is still creating tables and adding partitions,
the TPC-DS executor might erroneously believe that a table
does not exist.

This changes dataload to invalidate metadata at an
individual table level rather than globally. This
prevents the concurrency issue.

This also changes the names of some of the intermediate
SQL files generated by generate-schema-statements.py
and consumed by load-data.py to make them less confusing.

Change-Id: Ibc3a6d8a674a0bf6b02069bfe8a5e12034335b1f
Reviewed-on: http://gerrit.cloudera.org:8080/9009
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/d9b6fd07
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/d9b6fd07
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/d9b6fd07

Branch: refs/heads/master
Commit: d9b6fd073055b436c7404d49454dc215b2c7a369
Parents: dcc7be0
Author: Joe McDonnell <jo...@cloudera.com>
Authored: Thu Jan 11 15:09:52 2018 -0800
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Wed Jan 17 22:52:58 2018 +0000

----------------------------------------------------------------------
 bin/load-data.py                           | 21 ++++++++-------------
 testdata/bin/generate-schema-statements.py | 14 ++++++++++----
 2 files changed, 18 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/d9b6fd07/bin/load-data.py
----------------------------------------------------------------------
diff --git a/bin/load-data.py b/bin/load-data.py
index ede604a..273fe4d 100755
--- a/bin/load-data.py
+++ b/bin/load-data.py
@@ -278,15 +278,6 @@ def exec_impala_query_from_file_parallel(query_files):
   # finished putting their results in the queue.
   for thread in threads: thread.join()
 
-def invalidate_impala_metadata():
-  print "Invalidating Metadata"
-  impala_client = ImpalaBeeswaxClient(options.impalad, use_kerberos=options.use_kerberos)
-  impala_client.connect()
-  try:
-    impala_client.execute('invalidate metadata')
-  finally:
-    impala_client.close_connection()
-
 if __name__ == "__main__":
   # Having the actual command line at the top of each data-load-* log can help
   # when debugging dataload issues.
@@ -324,8 +315,8 @@ if __name__ == "__main__":
     load_file_substr = "%s-%s" % (workload, options.exploration_strategy)
     # Data loading with Impala is done in parallel, each file format has a separate query
     # file.
-    create_filename = '%s-impala-generated' % load_file_substr
-    load_filename = '%s-impala-load-generated' % load_file_substr
+    create_filename = 'create-%s-impala-generated' % load_file_substr
+    load_filename = 'load-%s-impala-generated' % load_file_substr
     impala_create_files = [f for f in dataset_dir_contents if create_filename in f]
     impala_load_files = [f for f in dataset_dir_contents if load_filename in f]
 
@@ -340,11 +331,15 @@ if __name__ == "__main__":
     exec_hive_query_from_file('load-%s-hive-generated.sql' % load_file_substr)
     exec_hbase_query_from_file('post-load-%s-hbase-generated.sql' % load_file_substr)
 
-    if impala_load_files: invalidate_impala_metadata()
+    # Invalidate so that Impala sees the loads done by Hive before loading Parquet/Kudu
+    # Note: This only invalidates tables for this workload.
+    invalidate_sql_file = 'invalidate-{0}-impala-generated.sql'.format(load_file_substr)
+    if impala_load_files: exec_impala_query_from_file(invalidate_sql_file)
     exec_impala_query_from_file_parallel(impala_load_files)
+    # Final invalidate for this workload
+    exec_impala_query_from_file(invalidate_sql_file)
     loading_time_map[workload] = time.time() - start_time
 
-  invalidate_impala_metadata()
   total_time = 0.0
   for workload, load_time in loading_time_map.iteritems():
     total_time += load_time

http://git-wip-us.apache.org/repos/asf/impala/blob/d9b6fd07/testdata/bin/generate-schema-statements.py
----------------------------------------------------------------------
diff --git a/testdata/bin/generate-schema-statements.py b/testdata/bin/generate-schema-statements.py
index b8f6e8c..28f9fd1 100755
--- a/testdata/bin/generate-schema-statements.py
+++ b/testdata/bin/generate-schema-statements.py
@@ -482,13 +482,14 @@ def generate_statements(output_name, test_vectors, sections,
   hive_output = Statements()
   hbase_output = Statements()
   hbase_post_load = Statements()
+  impala_invalidate = Statements()
 
   table_names = None
   if options.table_names:
     table_names = [name.lower() for name in options.table_names.split(',')]
   existing_tables = get_hdfs_subdirs_with_data(options.hive_warehouse_dir)
   for row in test_vectors:
-    impala_output = Statements()
+    impala_create = Statements()
     impala_load = Statements()
     file_format, data_set, codec, compression_type =\
         [row.file_format, row.dataset, row.compression_codec, row.compression_type]
@@ -581,7 +582,7 @@ def generate_statements(output_name, test_vectors, sections,
         if file_format not in IMPALA_SUPPORTED_INSERT_FORMATS:
           create_file_format = 'text'
 
-      output = impala_output
+      output = impala_create
       if create_hive or file_format == 'hbase':
         output = hive_output
       elif codec == 'lzo':
@@ -633,6 +634,10 @@ def generate_statements(output_name, test_vectors, sections,
             column_families))
         hbase_post_load.load.append("flush '%s_hbase.%s'\n" % (db_name, table_name))
 
+      # Need to emit an "invalidate metadata" for each individual table
+      invalidate_table_stmt = "INVALIDATE METADATA {0}.{1};\n".format(db, table_name)
+      impala_invalidate.create.append(invalidate_table_stmt)
+
       # The ALTER statement in hive does not accept fully qualified table names so
       # insert a use statement. The ALTER statement is skipped for HBASE as it's
       # used for adding partitions.
@@ -688,9 +693,9 @@ def generate_statements(output_name, test_vectors, sections,
           else:
             print 'Empty insert for table %s. Skipping insert generation' % table_name
 
-    impala_output.write_to_file("load-%s-impala-generated-%s-%s-%s.sql" %
+    impala_create.write_to_file("create-%s-impala-generated-%s-%s-%s.sql" %
         (output_name, file_format, codec, compression_type))
-    impala_load.write_to_file("load-%s-impala-load-generated-%s-%s-%s.sql" %
+    impala_load.write_to_file("load-%s-impala-generated-%s-%s-%s.sql" %
         (output_name, file_format, codec, compression_type))
 
 
@@ -699,6 +704,7 @@ def generate_statements(output_name, test_vectors, sections,
   hbase_output.write_to_file('load-' + output_name + '-hbase-generated.create')
   hbase_post_load.load.append("exit")
   hbase_post_load.write_to_file('post-load-' + output_name + '-hbase-generated.sql')
+  impala_invalidate.write_to_file('invalidate-' + output_name + '-impala-generated.sql')
 
 def parse_schema_template_file(file_name):
   VALID_SECTION_NAMES = ['DATASET', 'BASE_TABLE_NAME', 'COLUMNS', 'PARTITION_COLUMNS',


[12/12] impala git commit: IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

Posted by ta...@apache.org.
IMPALA-5478: Run TPCDS queries with decimal_v2 enabled

We add new TPCDS .test files that are expected to be run with decimal_v2
enabled. The new expected results were generated using Impala and I
inspected them manually.

Change-Id: Ib867c51a521ec4a087bc127d99aee4b95ba97733
Reviewed-on: http://gerrit.cloudera.org:8080/8985
Reviewed-by: Michael Brown <mi...@cloudera.com>
Tested-by: Impala Public Jenkins


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/35a3e186
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/35a3e186
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/35a3e186

Branch: refs/heads/master
Commit: 35a3e186d61b8f365b0f7d1127be311758437e16
Parents: d9b6fd0
Author: Taras Bobrovytsky <tb...@cloudera.com>
Authored: Mon Jan 8 19:17:44 2018 -0800
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Thu Jan 18 03:28:51 2018 +0000

----------------------------------------------------------------------
 .../tpcds/queries/tpcds-decimal_v2-q1.test      |  129 +
 .../tpcds/queries/tpcds-decimal_v2-q10a.test    |   70 +
 .../tpcds/queries/tpcds-decimal_v2-q11.test     |  172 ++
 .../tpcds/queries/tpcds-decimal_v2-q12.test     |  137 +
 .../tpcds/queries/tpcds-decimal_v2-q13.test     |   56 +
 .../tpcds/queries/tpcds-decimal_v2-q15.test     |  123 +
 .../tpcds/queries/tpcds-decimal_v2-q16.test     |   35 +
 .../tpcds/queries/tpcds-decimal_v2-q17.test     |   49 +
 .../tpcds/queries/tpcds-decimal_v2-q18a.test    |  159 ++
 .../tpcds/queries/tpcds-decimal_v2-q19.test     |  141 +
 .../tpcds/queries/tpcds-decimal_v2-q2.test      | 2576 ++++++++++++++++++
 .../tpcds/queries/tpcds-decimal_v2-q20.test     |  133 +
 .../tpcds/queries/tpcds-decimal_v2-q21.test     |  133 +
 .../tpcds/queries/tpcds-decimal_v2-q22a.test    |  147 +
 .../tpcds/queries/tpcds-decimal_v2-q25.test     |   52 +
 .../tpcds/queries/tpcds-decimal_v2-q29.test     |   51 +
 .../tpcds/queries/tpcds-decimal_v2-q3.test      |  118 +
 .../tpcds/queries/tpcds-decimal_v2-q32.test     |   32 +
 .../tpcds/queries/tpcds-decimal_v2-q33.test     |  178 ++
 .../tpcds/queries/tpcds-decimal_v2-q34.test     |  504 ++++
 .../tpcds/queries/tpcds-decimal_v2-q37.test     |   22 +
 .../tpcds/queries/tpcds-decimal_v2-q39-1.test   |  278 ++
 .../tpcds/queries/tpcds-decimal_v2-q39-2.test   |   50 +
 .../tpcds/queries/tpcds-decimal_v2-q4.test      |  126 +
 .../tpcds/queries/tpcds-decimal_v2-q40.test     |  131 +
 .../tpcds/queries/tpcds-decimal_v2-q41.test     |   59 +
 .../tpcds/queries/tpcds-decimal_v2-q42.test     |   41 +
 .../tpcds/queries/tpcds-decimal_v2-q43.test     |   45 +
 .../tpcds/queries/tpcds-decimal_v2-q46.test     |  156 ++
 .../tpcds/queries/tpcds-decimal_v2-q50.test     |   68 +
 .../tpcds/queries/tpcds-decimal_v2-q51.test     |  148 +
 .../tpcds/queries/tpcds-decimal_v2-q51a.test    |  166 ++
 .../tpcds/queries/tpcds-decimal_v2-q52.test     |  130 +
 .../tpcds/queries/tpcds-decimal_v2-q53.test     |  140 +
 .../tpcds/queries/tpcds-decimal_v2-q54.test     |   60 +
 .../tpcds/queries/tpcds-decimal_v2-q55.test     |  127 +
 .../tpcds/queries/tpcds-decimal_v2-q56.test     |  171 ++
 .../tpcds/queries/tpcds-decimal_v2-q6.test      |   75 +
 .../tpcds/queries/tpcds-decimal_v2-q60.test     |  181 ++
 .../tpcds/queries/tpcds-decimal_v2-q61.test     |   49 +
 .../tpcds/queries/tpcds-decimal_v2-q62.test     |  138 +
 .../tpcds/queries/tpcds-decimal_v2-q64.test     |  144 +
 .../tpcds/queries/tpcds-decimal_v2-q65.test     |  160 ++
 .../tpcds/queries/tpcds-decimal_v2-q67a.test    |  174 ++
 .../tpcds/queries/tpcds-decimal_v2-q68.test     |  155 ++
 .../tpcds/queries/tpcds-decimal_v2-q69.test     |  150 +
 .../tpcds/queries/tpcds-decimal_v2-q7.test      |  134 +
 .../tpcds/queries/tpcds-decimal_v2-q70a.test    |   49 +
 .../tpcds/queries/tpcds-decimal_v2-q71.test     | 1061 ++++++++
 .../tpcds/queries/tpcds-decimal_v2-q72.test     |  132 +
 .../tpcds/queries/tpcds-decimal_v2-q73.test     |   43 +
 .../tpcds/queries/tpcds-decimal_v2-q74.test     |  156 ++
 .../tpcds/queries/tpcds-decimal_v2-q75.test     |  173 ++
 .../tpcds/queries/tpcds-decimal_v2-q76.test     |  127 +
 .../tpcds/queries/tpcds-decimal_v2-q77a.test    |  166 ++
 .../tpcds/queries/tpcds-decimal_v2-q78.test     |  163 ++
 .../tpcds/queries/tpcds-decimal_v2-q79.test     |  149 +
 .../tpcds/queries/tpcds-decimal_v2-q8.test      |   74 +
 .../tpcds/queries/tpcds-decimal_v2-q80a.test    |  212 ++
 .../tpcds/queries/tpcds-decimal_v2-q81.test     |  134 +
 .../tpcds/queries/tpcds-decimal_v2-q82.test     |   22 +
 .../tpcds/queries/tpcds-decimal_v2-q84.test     |   49 +
 .../tpcds/queries/tpcds-decimal_v2-q86a.test    |  139 +
 .../tpcds/queries/tpcds-decimal_v2-q88.test     |   97 +
 .../tpcds/queries/tpcds-decimal_v2-q91.test     |   35 +
 .../tpcds/queries/tpcds-decimal_v2-q92.test     |   34 +
 .../tpcds/queries/tpcds-decimal_v2-q94.test     |   33 +
 .../tpcds/queries/tpcds-decimal_v2-q95.test     |   36 +
 .../tpcds/queries/tpcds-decimal_v2-q96.test     |   21 +
 .../tpcds/queries/tpcds-decimal_v2-q97.test     |   29 +
 .../tpcds/queries/tpcds-decimal_v2-q98.test     | 2550 +++++++++++++++++
 .../tpcds/queries/tpcds-decimal_v2-q99.test     |  128 +
 .../workloads/tpcds/queries/tpcds-q22a.test     |  148 -
 tests/common/test_vector.py                     |    4 +
 tests/query_test/test_tpcds_queries.py          |  243 +-
 75 files changed, 14329 insertions(+), 151 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q1.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q1.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q1.test
new file mode 100644
index 0000000..530f010
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q1.test
@@ -0,0 +1,129 @@
+====
+---- QUERY: TPCDS-Q1
+with customer_total_return as
+(select sr_customer_sk as ctr_customer_sk,
+        sr_store_sk as ctr_store_sk,
+        sum(SR_RETURN_AMT) as ctr_total_return
+ from store_returns,
+       date_dim
+ where sr_returned_date_sk = d_date_sk
+       and d_year = 2000
+ group by sr_customer_sk,
+          sr_store_sk)
+select c_customer_id
+from customer_total_return ctr1,
+     store,
+     customer
+where ctr1.ctr_total_return >
+      (select avg(ctr_total_return)*1.2
+       from customer_total_return ctr2
+       where ctr1.ctr_store_sk = ctr2.ctr_store_sk)
+      and s_store_sk = ctr1.ctr_store_sk
+      and s_state = 'TN'
+      and ctr1.ctr_customer_sk = c_customer_sk
+order by c_customer_id
+limit 100;
+---- RESULTS
+'AAAAAAAAAAABBAAA'
+'AAAAAAAAAAADBAAA'
+'AAAAAAAAAAADBAAA'
+'AAAAAAAAAAAKAAAA'
+'AAAAAAAAAABDAAAA'
+'AAAAAAAAAABHBAAA'
+'AAAAAAAAAABLAAAA'
+'AAAAAAAAAABMAAAA'
+'AAAAAAAAAACHAAAA'
+'AAAAAAAAAACMAAAA'
+'AAAAAAAAAADDAAAA'
+'AAAAAAAAAADGAAAA'
+'AAAAAAAAAADGBAAA'
+'AAAAAAAAAADGBAAA'
+'AAAAAAAAAADPAAAA'
+'AAAAAAAAAAEBAAAA'
+'AAAAAAAAAAEFBAAA'
+'AAAAAAAAAAEGBAAA'
+'AAAAAAAAAAEIAAAA'
+'AAAAAAAAAAEMAAAA'
+'AAAAAAAAAAFAAAAA'
+'AAAAAAAAAAFPAAAA'
+'AAAAAAAAAAGGBAAA'
+'AAAAAAAAAAGHBAAA'
+'AAAAAAAAAAGJAAAA'
+'AAAAAAAAAAGMAAAA'
+'AAAAAAAAAAHEBAAA'
+'AAAAAAAAAAHFBAAA'
+'AAAAAAAAAAIEBAAA'
+'AAAAAAAAAAJGBAAA'
+'AAAAAAAAAAJHBAAA'
+'AAAAAAAAAAKCAAAA'
+'AAAAAAAAAAKCAAAA'
+'AAAAAAAAAAKJAAAA'
+'AAAAAAAAAAKMAAAA'
+'AAAAAAAAAAKMAAAA'
+'AAAAAAAAAALAAAAA'
+'AAAAAAAAAALABAAA'
+'AAAAAAAAAALGAAAA'
+'AAAAAAAAAALHBAAA'
+'AAAAAAAAAALJAAAA'
+'AAAAAAAAAANHAAAA'
+'AAAAAAAAAANHBAAA'
+'AAAAAAAAAANJAAAA'
+'AAAAAAAAAANMAAAA'
+'AAAAAAAAAANMAAAA'
+'AAAAAAAAAANNAAAA'
+'AAAAAAAAAAOBBAAA'
+'AAAAAAAAAAODBAAA'
+'AAAAAAAAAAOLAAAA'
+'AAAAAAAAAAPGBAAA'
+'AAAAAAAAABAAAAAA'
+'AAAAAAAAABAEAAAA'
+'AAAAAAAAABAEBAAA'
+'AAAAAAAAABAFBAAA'
+'AAAAAAAAABAIAAAA'
+'AAAAAAAAABAOAAAA'
+'AAAAAAAAABBDBAAA'
+'AAAAAAAAABCFAAAA'
+'AAAAAAAAABCHBAAA'
+'AAAAAAAAABDHAAAA'
+'AAAAAAAAABENAAAA'
+'AAAAAAAAABFEBAAA'
+'AAAAAAAAABFGAAAA'
+'AAAAAAAAABFMAAAA'
+'AAAAAAAAABFPAAAA'
+'AAAAAAAAABGFAAAA'
+'AAAAAAAAABGFBAAA'
+'AAAAAAAAABGJAAAA'
+'AAAAAAAAABIBBAAA'
+'AAAAAAAAABICBAAA'
+'AAAAAAAAABIIAAAA'
+'AAAAAAAAABJNAAAA'
+'AAAAAAAAABKGBAAA'
+'AAAAAAAAABLOAAAA'
+'AAAAAAAAABLPAAAA'
+'AAAAAAAAABMABAAA'
+'AAAAAAAAABMPAAAA'
+'AAAAAAAAABNAAAAA'
+'AAAAAAAAABNCBAAA'
+'AAAAAAAAABNEBAAA'
+'AAAAAAAAABNLAAAA'
+'AAAAAAAAABNOAAAA'
+'AAAAAAAAABNPAAAA'
+'AAAAAAAAABOAAAAA'
+'AAAAAAAAABOFBAAA'
+'AAAAAAAAABOOAAAA'
+'AAAAAAAAABOPAAAA'
+'AAAAAAAAABPEAAAA'
+'AAAAAAAAACADAAAA'
+'AAAAAAAAACAFAAAA'
+'AAAAAAAAACAFAAAA'
+'AAAAAAAAACAHBAAA'
+'AAAAAAAAACAJAAAA'
+'AAAAAAAAACBDAAAA'
+'AAAAAAAAACBDAAAA'
+'AAAAAAAAACBEBAAA'
+'AAAAAAAAACBNAAAA'
+'AAAAAAAAACBPAAAA'
+'AAAAAAAAACCHAAAA'
+---- TYPES
+STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q10a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q10a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q10a.test
new file mode 100644
index 0000000..1148f0d
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q10a.test
@@ -0,0 +1,70 @@
+====
+---- QUERY: TPCDS-Q10A
+select
+  cd_gender,
+  cd_marital_status,
+  cd_education_status,
+  count(*) cnt1,
+  cd_purchase_estimate,
+  count(*) cnt2,
+  cd_credit_rating,
+  count(*) cnt3,
+  cd_dep_count,
+  count(*) cnt4,
+  cd_dep_employed_count,
+  count(*) cnt5,
+  cd_dep_college_count,
+  count(*) cnt6
+ from
+  customer c,customer_address ca,customer_demographics
+ where
+  c.c_current_addr_sk = ca.ca_address_sk and
+  ca_county in ('Rush County','Toole County','Jefferson County','Dona Ana County','La Porte County') and
+  cd_demo_sk = c.c_current_cdemo_sk and
+  exists (select *
+          from store_sales,date_dim
+          where c.c_customer_sk = ss_customer_sk and
+                ss_sold_date_sk = d_date_sk and
+                d_year = 2002 and
+                d_moy between 1 and 1+3) and
+   exists (select *
+          from (
+             select ws_bill_customer_sk as customer_sk, d_year,d_moy
+             from web_sales, date_dim
+             where ws_sold_date_sk = d_date_sk and
+             d_year = 2002 and
+             d_moy between 1 and 1+3
+             union all
+             select cs_ship_customer_sk as customer_sk, d_year, d_moy
+             from catalog_sales, date_dim
+             where cs_sold_date_sk = d_date_sk and
+             d_year = 2002 and
+             d_moy between 1 and 1+3
+       ) x
+            where c.c_customer_sk = customer_sk)
+ group by cd_gender,
+          cd_marital_status,
+          cd_education_status,
+          cd_purchase_estimate,
+          cd_credit_rating,
+          cd_dep_count,
+          cd_dep_employed_count,
+          cd_dep_college_count
+ order by cd_gender,
+          cd_marital_status,
+          cd_education_status,
+          cd_purchase_estimate,
+          cd_credit_rating,
+          cd_dep_count,
+          cd_dep_employed_count,
+          cd_dep_college_count
+limit 100;
+---- RESULTS
+'F','D','Advanced Degree',1,3000,1,'High Risk',1,2,1,4,1,5,1
+'F','D','Unknown',1,1500,1,'Good',1,6,1,5,1,4,1
+'M','D','College',1,8500,1,'Low Risk',1,3,1,0,1,1,1
+'M','D','Primary',1,7000,1,'Unknown',1,2,1,1,1,1,1
+'M','W','Unknown',1,4500,1,'Good',1,5,1,0,1,1,1
+---- TYPES
+STRING, STRING, STRING, BIGINT, INT, BIGINT, STRING, BIGINT, INT, BIGINT, INT, BIGINT, INT, BIGINT
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q11.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q11.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q11.test
new file mode 100644
index 0000000..6349a88
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q11.test
@@ -0,0 +1,172 @@
+====
+---- QUERY: TPCDS-Q11
+with year_total as (
+ select c_customer_id customer_id
+       ,c_first_name customer_first_name
+       ,c_last_name customer_last_name
+       ,c_preferred_cust_flag customer_preferred_cust_flag
+       ,c_birth_country customer_birth_country
+       ,c_login customer_login
+       ,c_email_address customer_email_address
+       ,d_year dyear
+       ,sum(ss_ext_list_price-ss_ext_discount_amt) year_total
+       ,'s' sale_type
+ from customer
+     ,store_sales
+     ,date_dim
+ where c_customer_sk = ss_customer_sk
+   and ss_sold_date_sk = d_date_sk
+ group by c_customer_id
+         ,c_first_name
+         ,c_last_name
+         ,c_preferred_cust_flag
+         ,c_birth_country
+         ,c_login
+         ,c_email_address
+         ,d_year
+ union all
+ select c_customer_id customer_id
+       ,c_first_name customer_first_name
+       ,c_last_name customer_last_name
+       ,c_preferred_cust_flag customer_preferred_cust_flag
+       ,c_birth_country customer_birth_country
+       ,c_login customer_login
+       ,c_email_address customer_email_address
+       ,d_year dyear
+       ,sum(ws_ext_list_price-ws_ext_discount_amt) year_total
+       ,'w' sale_type
+ from customer
+     ,web_sales
+     ,date_dim
+ where c_customer_sk = ws_bill_customer_sk
+   and ws_sold_date_sk = d_date_sk
+ group by c_customer_id
+         ,c_first_name
+         ,c_last_name
+         ,c_preferred_cust_flag
+         ,c_birth_country
+         ,c_login
+         ,c_email_address
+         ,d_year
+         )
+  select
+                  t_s_secyear.customer_id
+                 ,t_s_secyear.customer_first_name
+                 ,t_s_secyear.customer_last_name
+                 ,t_s_secyear.customer_preferred_cust_flag
+ from year_total t_s_firstyear
+     ,year_total t_s_secyear
+     ,year_total t_w_firstyear
+     ,year_total t_w_secyear
+ where t_s_secyear.customer_id = t_s_firstyear.customer_id
+         and t_s_firstyear.customer_id = t_w_secyear.customer_id
+         and t_s_firstyear.customer_id = t_w_firstyear.customer_id
+         and t_s_firstyear.sale_type = 's'
+         and t_w_firstyear.sale_type = 'w'
+         and t_s_secyear.sale_type = 's'
+         and t_w_secyear.sale_type = 'w'
+         and t_s_firstyear.dyear = 2001
+         and t_s_secyear.dyear = 2001+1
+         and t_w_firstyear.dyear = 2001
+         and t_w_secyear.dyear = 2001+1
+         and t_s_firstyear.year_total > 0
+         and t_w_firstyear.year_total > 0
+         and case when t_w_firstyear.year_total > 0 then t_w_secyear.year_total / t_w_firstyear.year_total else 0.0 end
+             > case when t_s_firstyear.year_total > 0 then t_s_secyear.year_total / t_s_firstyear.year_total else 0.0 end
+ order by t_s_secyear.customer_id
+         ,t_s_secyear.customer_first_name
+         ,t_s_secyear.customer_last_name
+         ,t_s_secyear.customer_preferred_cust_flag
+limit 100;
+---- RESULTS
+'AAAAAAAAAFGBBAAA','Howard','Major','Y'
+'AAAAAAAAAMGDAAAA','Kenneth','Harlan','Y'
+'AAAAAAAAAOPFBAAA','Jerry','Fields','Y'
+'AAAAAAAABLEIBAAA','Paula','Wakefield','Y'
+'AAAAAAAABNBBAAAA','Irma','Smith','Y'
+'AAAAAAAACADPAAAA','Cristobal','Thomas','Y'
+'AAAAAAAACFENAAAA','Christopher','Dawson','NULL'
+'AAAAAAAACIJMAAAA','Elizabeth','Thomas','Y'
+'AAAAAAAACJDIAAAA','James','Kerr','N'
+'AAAAAAAACNAGBAAA','Virginia','May','N'
+'AAAAAAAADBEFBAAA','Bennie','Bowers','N'
+'AAAAAAAADCKOAAAA','Robert','Gonzalez','N'
+'AAAAAAAADFKABAAA','Latoya','Craft','N'
+'AAAAAAAADIIOAAAA','David','Carroll','Y'
+'AAAAAAAADIJGBAAA','Ruth','Sanders','N'
+'AAAAAAAADLHBBAAA','Henry','Bertrand','N'
+'AAAAAAAAEADJAAAA','Ruth','Carroll','N'
+'AAAAAAAAEJDLAAAA','Alice','Wright','N'
+'AAAAAAAAEKFPAAAA','Annika','Chin','N'
+'AAAAAAAAEKJLAAAA','Aisha','Carlson','Y'
+'AAAAAAAAEPOGAAAA','Felisha','Mendes','Y'
+'AAAAAAAAFACEAAAA','Priscilla','Miller','N'
+'AAAAAAAAFBAHAAAA','Michael','Williams','N'
+'AAAAAAAAFGIGAAAA','Eduardo','Miller','Y'
+'AAAAAAAAFGPGAAAA','Albert','Wadsworth','Y'
+'AAAAAAAAFMHIAAAA','Emilio','Darling','Y'
+'AAAAAAAAFOGIAAAA','Michelle','Greene','N'
+'AAAAAAAAFOJAAAAA','Don','Castillo','Y'
+'AAAAAAAAGEHIAAAA','Tyler','Miller','N'
+'AAAAAAAAGHPBBAAA','Nick','Mendez','Y'
+'AAAAAAAAGNDAAAAA','Terry','Mcdowell','N'
+'AAAAAAAAHGOABAAA','Sonia','White','N'
+'AAAAAAAAHHCABAAA','William','Stewart','Y'
+'AAAAAAAAHJLAAAAA','Audrey','Beltran','Y'
+'AAAAAAAAHMJNAAAA','Ryan','Baptiste','Y'
+'AAAAAAAAHMOIAAAA','Grace','Henderson','N'
+'AAAAAAAAIADEBAAA','Diane','Aldridge','N'
+'AAAAAAAAIBAEBAAA','Sandra','Wilson','N'
+'AAAAAAAAIBFCBAAA','Ruth','Grantham','N'
+'AAAAAAAAIBHHAAAA','Jennifer','Ballard','Y'
+'AAAAAAAAICHFAAAA','Linda','Mccoy','N'
+'AAAAAAAAIDKFAAAA','Michael','Mack','N'
+'AAAAAAAAIJEMAAAA','Charlie','Cummings','Y'
+'AAAAAAAAIMHBAAAA','Kathy','Knowles','N'
+'AAAAAAAAIMHHBAAA','Lillian','Davidson','Y'
+'AAAAAAAAJDBLAAAA','Melvin','Taylor','Y'
+'AAAAAAAAJEKFBAAA','Norma','Burkholder','N'
+'AAAAAAAAJGMMAAAA','Richard','Larson','Y'
+'AAAAAAAAJIALAAAA','Santos','Gutierrez','N'
+'AAAAAAAAJKBNAAAA','Julie','Kern','N'
+'AAAAAAAAJMHLAAAA','Wanda','Ryan','Y'
+'AAAAAAAAJONHBAAA','Warren','Orozco','N'
+'AAAAAAAAJPINAAAA','Rose','Waite','Y'
+'AAAAAAAAKAECAAAA','Milton','Mackey','N'
+'AAAAAAAAKAPPAAAA','Karen','Parker','Y'
+'AAAAAAAAKJBKAAAA','Georgia','Scott','N'
+'AAAAAAAAKJBLAAAA','Kerry','Davis','Y'
+'AAAAAAAAKKGEAAAA','Katie','Dunbar','N'
+'AAAAAAAAKLHHBAAA','Manuel','Castaneda','N'
+'AAAAAAAAKNAKAAAA','Gladys','Banks','N'
+'AAAAAAAALFKKAAAA','Ignacio','Miller','Y'
+'AAAAAAAALHMCAAAA','Brooke','Nelson','Y'
+'AAAAAAAALIOPAAAA','Derek','Allen','Y'
+'AAAAAAAALJNCBAAA','George','Gamez','Y'
+'AAAAAAAAMDCAAAAA','Louann','Hamel','Y'
+'AAAAAAAAMFFLAAAA','Margret','Gray','Y'
+'AAAAAAAAMMOBBAAA','Margaret','Smith','N'
+'AAAAAAAANFBDBAAA','Vernice','Fernandez','Y'
+'AAAAAAAANGDBBAAA','Carlos','Jewell','N'
+'AAAAAAAANIPLAAAA','Eric','Lawrence','Y'
+'AAAAAAAANJAGAAAA','Allen','Hood','Y'
+'AAAAAAAANJHCBAAA','Christopher','Schreiber','N'
+'AAAAAAAANJOLAAAA','Debra','Underwood','Y'
+'AAAAAAAAOBADBAAA','Elizabeth','Burnham','N'
+'AAAAAAAAOCAJAAAA','Jenna','Staton','N'
+'AAAAAAAAOCLBBAAA','NULL','NULL','NULL'
+'AAAAAAAAODMMAAAA','Gayla','Cline','N'
+'AAAAAAAAOFLCAAAA','James','Taylor','N'
+'AAAAAAAAOPDLAAAA','Ann','Pence','N'
+'AAAAAAAAPDFBAAAA','Terrance','Banks','Y'
+'AAAAAAAAPEHEBAAA','Edith','Molina','Y'
+'AAAAAAAAPFCLAAAA','Felicia','Neville','N'
+'AAAAAAAAPICEAAAA','Jennifer','Cortez','Y'
+'AAAAAAAAPJENAAAA','Ashley','Norton','Y'
+'AAAAAAAAPKBCBAAA','Andrea','White','N'
+'AAAAAAAAPKIKAAAA','Wendy','Horvath','Y'
+'AAAAAAAAPMMBBAAA','Paul','Jordan','N'
+'AAAAAAAAPPIBBAAA','Candice','Lee','Y'
+---- TYPES
+STRING, STRING, STRING, STRING
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q12.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q12.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q12.test
new file mode 100644
index 0000000..60844bb
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q12.test
@@ -0,0 +1,137 @@
+====
+---- QUERY: TPCDS-Q12
+select  i_item_id
+      ,i_item_desc
+      ,i_category
+      ,i_class
+      ,i_current_price
+      ,sum(ws_ext_sales_price) as itemrevenue
+      ,sum(ws_ext_sales_price)*100/sum(sum(ws_ext_sales_price)) over
+          (partition by i_class) as revenueratio
+from
+  web_sales
+      ,item
+      ,date_dim
+where
+  ws_item_sk = i_item_sk
+    and i_category in ('Sports', 'Books', 'Home')
+    and ws_sold_date_sk = d_date_sk
+  and cast(d_date as timestamp) between cast('1999-02-22' as timestamp)
+        and (cast('1999-02-22' as timestamp) + interval 30 days)
+group by
+  i_item_id
+        ,i_item_desc
+        ,i_category
+        ,i_class
+        ,i_current_price
+order by
+  i_category
+        ,i_class
+        ,i_item_id
+        ,i_item_desc
+        ,revenueratio
+limit 100;
+---- RESULTS
+'AAAAAAAAAAKAAAAA','Small, political activities help great, bad policies. Therefore square features provide on a machines. Rules make over me','Books','arts',2.42,2742.60,3.717520
+'AAAAAAAABHDCAAAA','Minor heads close common children; recently strong firms provide. Useful, young men ought to create changes. Popular, common regulations might decide. Points fit. Obvious, glad officials ','Books','arts',3.88,4258.84,5.772743
+'AAAAAAAACKEAAAAA','Legs appear eventually soci','Books','arts',35.27,4010.65,5.436328
+'AAAAAAAACMDCAAAA','Black, powerful others go now years. Diverse orders might not mean away medium minutes; tight authorities ought to put however for the things','Books','arts',2.75,1156.40,1.567469
+'AAAAAAAACNEDAAAA','Particularly labour stores get farmers. Hence true records see rel','Books','arts',6.89,6606.82,8.955367
+'AAAAAAAADCCDAAAA','Glad users understand very almost original jobs. Towns can understand. Supreme, following days work by a parents; german, crucial weapons work sure; fair pictur','Books','arts',7.18,10391.81,14.085819
+'AAAAAAAADJFCAAAA','Significant, preliminary boys can remain lightly more pale discussion','Books','arts',2.74,8279.54,11.222694
+'AAAAAAAADPCCAAAA','Especially true items might supply particularly. Black, automatic words might develop post-war problems. Fresh, visible workers could not appe','Books','arts',4.23,351.78,0.476828
+'AAAAAAAAEDKDAAAA','Times live now to a sales. British years bring all financ','Books','arts',4.24,11699.92,15.858927
+'AAAAAAAAEGAEAAAA','Far injuries pay so various arms. Courses could go anywhere universal possibilities; talks stand since mean, colonial scho','Books','arts',9.57,51.84,0.070268
+'AAAAAAAAFCFBAAAA','Golden estates meet as yet hands. About solid proteins used to tell. Once causal boots imagine frequently new elections; flexible, other ways find re','Books','arts',9.76,59.01,0.079986
+'AAAAAAAAGHOBAAAA','Fully existing proceedings could not tak','Books','arts',8.66,625.65,0.848052
+'AAAAAAAAIEPCAAAA','New, popular years should think. Shareholders speak also friends; special members could not identify social eyes; indoors full ','Books','arts',0.91,1390.83,1.885233
+'AAAAAAAAIHKBAAAA','Very historic arms may happen even able exis','Books','arts',9.19,13439.76,18.217233
+'AAAAAAAAIIPDAAAA','Af','Books','arts',6.04,109.23,0.148058
+'AAAAAAAAIJGAAAAA','Then western animals could teach somewhere. Today waiting servants confuse','Books','arts',4.10,868.50,1.177228
+'AAAAAAAAKKIAAAAA','Naked, popular schemes campaign then offices. Underlying shares may join','Books','arts',79.28,1841.04,2.495480
+'AAAAAAAAKNBCAAAA','Early, powerful towns add mainly english savings. Years assist then new, public colleagues. Things might encounter then right new features','Books','arts',6.89,365.60,0.495561
+'AAAAAAAAOKPBAAAA','Just good settings must not make; payments assure to a bishops. Principal, sorry amounts would safeguard very so other leaders; tory, substantial stairs m','Books','arts',2.60,5525.16,7.489206
+'AAAAAAAAABMBAAAA','Situations retain; units might sit operations; girls shall make. Ca','Books','business',3.16,1204.56,0.968966
+'AAAAAAAAACEBAAAA','Prese','Books','business',15.17,17499.32,14.076710
+'AAAAAAAAAKBDAAAA','Essential students change even despite a powers. General connections will not maximi','Books','business',3.10,84.80,0.068214
+'AAAAAAAABIPBAAAA','Ultimate, other objects might not install good ','Books','business',2.57,7199.93,5.791729
+'AAAAAAAABKACAAAA','Total pp. accept with a questions; able, generous a','Books','business',5.25,3702.38,2.978249
+'AAAAAAAABMDDAAAA','Head facts resolve even. Characteristics put. Toxic, genuine officials shall not meet. Difficult chil','Books','business',3.85,333.90,0.268594
+'AAAAAAAACDBCAAAA','Tiny years could run too above tough volumes. New germans must not leave as possible sales; inj','Books','business',1.22,799.89,0.643443
+'AAAAAAAACEPBAAAA','Long, married artists would see negative feelings. Emot','Books','business',1.73,2686.56,2.161108
+'AAAAAAAACPODAAAA','Cells stay economic, thin members. Soon special conservatives solve to the figu','Books','business',2.93,2431.81,1.956184
+'AAAAAAAADHNCAAAA','Originally major industries matter mediterranean bodies. Cases should not ','Books','business',45.06,2186.10,1.758531
+'AAAAAAAAEILDAAAA','Bad, able systems shall fall else. Nuclear, economic ways put in an paths. Serious, labour women must not muster however. Wide new readers ought to help ','Books','business',1.36,293.23,0.235879
+'AAAAAAAAFGJCAAAA','Secondary, red structures may seek eyes. High true titles should make now junior fat thoughts. Partly excellent authorities receive direct, net parties. Parents look most also other issues. Empty, con','Books','business',8.59,3319.89,2.670568
+'AAAAAAAAFLMDAAAA','Significantly relevant colleges extract knowingly broad investors. Entire members stay. Mediterranean legs would cut on the knees. Forthcoming, particular students u','Books','business',4.81,347.70,0.279695
+'AAAAAAAAFNOCAAAA','Wonderful systems ask also very parliamentary orders; british companies','Books','business',87.12,105.98,0.085252
+'AAAAAAAAGFDCAAAA','Particularly medieval blocks would not find slightly with a carers. Years respond about at a sec','Books','business',6.00,51.40,0.041347
+'AAAAAAAAGONBAAAA','Ever top offers might struggle far, automatic men. Long-term, long goods dare however; new, other gr','Books','business',2.30,1233.76,0.992455
+'AAAAAAAAIBKDAAAA','Hundreds drop nearly unacceptable accidents. Then strong methods tell large unions. Short companies should help so. Moves shall not set later chief problems. R','Books','business',0.78,1158.21,0.931681
+'AAAAAAAAIJECAAAA','Difficult, royal units put particularly significant, other plans. Essential, contemporary journals will need players. Alternatively parental','Books','business',4.34,10631.67,8.552272
+'AAAAAAAAIKEAAAAA','All ','Books','business',9.44,2.07,0.001665
+'AAAAAAAAIPADAAAA','Orders go into the documents. Social, existing specialists will seem twice associated wishes. Finally nation','Books','business',5.15,1755.92,1.412488
+'AAAAAAAAKAJDAAAA','Short neighbours implement innocently tiny titles. Briefly simple years should not tell potentially successful, whole years. Orange workers carry; home hot feet l','Books','business',4.43,17638.20,14.188427
+'AAAAAAAAKMAAAAAA','Plans consult interested, light boys. Selective, other problems create scientific, young parties. Sufficient speakers might not kiss too social, basic interests. Dual, other times s','Books','business',0.19,3867.73,3.111259
+'AAAAAAAALDFAAAAA','Hands may not allow only in a lands; linear, other pubs say; social, precise women identify for a patients. Preferences develop alone now rich motives. Ever good tas','Books','business',3.68,470.96,0.378847
+'AAAAAAAALGBBAAAA','Modern records retain about there civil plans. Social bodies survive. Great, living losses bother late, coherent others. About british sports ought to use cautiously from ','Books','business',1.94,229.35,0.184493
+'AAAAAAAALPDCAAAA','So small edges will understand currently in a things. New trains point usually systems. Years look growing questions. Different cases could sell just alive, late rules; big, large results will make ','Books','business',4.12,6151.95,4.948719
+'AAAAAAAAMIGCAAAA','Carefully physical hotels must put together; similar details cannot appreciate by a standards. Rates can break m','Books','business',6.63,25528.76,20.535710
+'AAAAAAAAMIMCAAAA','About likely houses like international members. Final, relevant birds answer after the paintings. Hungry, personal days borrow tiny, primary resources. As social relations could choose quite also ','Books','business',0.77,417.22,0.335618
+'AAAAAAAAMKHAAAAA','Unions shall see enough over true attitudes; of course full variable','Books','business',8.90,633.16,0.509323
+'AAAAAAAAMKNDAAAA','Special, clear elements would buy at a games. Things should spot today strange, only devices. Armies should like at a patients. Hands could perform simply narrow values. N','Books','business',1.28,11196.30,9.006468
+'AAAAAAAANACBAAAA','New teachers might demand never assets. Deeply bright ministers make generally never prime imports. Odd writings step common readers; talks take young, r','Books','business',2.95,1151.28,0.926107
+'AAAAAAAAAHKDAAAA','Decisions play actually exclusive activities. Well assistant e','Books','computers',8.77,822.69,0.984915
+'AAAAAAAABHEEAAAA','Subjects may remain officials. Forward, straight objects used to see wh','Books','computers',6.97,5663.04,6.779725
+'AAAAAAAAEAPAAAAA','Just distinct children think individuals; popular arguments develop here cautious methods; appropriate children might beat. Proper, empirical hundreds fall oth','Books','computers',4.01,9320.46,11.158346
+'AAAAAAAAEDMAAAAA','Books understand. Principles produce just at a premises. Years ','Books','computers',44.48,787.29,0.942534
+'AAAAAAAAEMHAAAAA','Boots recommend usually just local centres; c','Books','computers',7.56,765.23,0.916124
+'AAAAAAAAFEEAAAAA','Capital, united feelings paint only things. Greatly financial economies should not pay somewhere soviet necessary armies; educational concepts mus','Books','computers',3.83,78.76,0.094291
+'AAAAAAAAGENAAAAA','Genera','Books','computers',2.84,4719.74,5.650417
+'AAAAAAAAGHCBAAAA','Hundreds would meet regardless german, foreign scien','Books','computers',9.77,2451.75,2.935206
+'AAAAAAAAGMBDAAAA','Vulnerable b','Books','computers',0.58,31.86,0.038142
+'AAAAAAAAGNGBAAAA','Brilliant, massive prisons take still national others. Only northern guidelines go right by the lips. General, spiritual walls shall reach in a languages. British nations eat substantial polici','Books','computers',3.42,2248.01,2.691291
+'AAAAAAAAIGCEAAAA','Concerned numbers can attempt now particular, white friends; un','Books','computers',3.38,1297.25,1.553053
+'AAAAAAAAIGJAAAAA','Probably terrible students may go. There whole issues get academic, soviet charts. ','Books','computers',4.11,84.42,0.101067
+'AAAAAAAAIILCAAAA','At least low personnel might a','Books','computers',9.13,529.20,0.633552
+'AAAAAAAAJBADAAAA','Mean, good relations wake however strictly white possibilities. About aw','Books','computers',6.42,5473.02,6.552235
+'AAAAAAAAJJGBAAAA','Strangers gain officially enough labour problems. Overall systems may not help below lives. Heroes find just apparently generous couple','Books','computers',7.15,7846.40,9.393618
+'AAAAAAAALCDAAAAA','Clearly actual places would supply apparently only rats.','Books','computers',4.34,4611.20,5.520475
+'AAAAAAAALDBBAAAA','Mines should talk outside trees. Regular eyes encourage with an victims. Civil functions try actions. Movies fit secretly for a regions. Whole, imperial customs forget','Books','computers',7.44,5240.16,6.273458
+'AAAAAAAAMJEAAAAA','Local pro','Books','computers',1.04,843.52,1.009852
+'AAAAAAAAMMDEAAAA','Women support almost','Books','computers',4.68,1401.06,1.677333
+'AAAAAAAAMNOBAAAA','Scientific, young creditors might see for the alternativ','Books','computers',6.98,100.95,0.120856
+'AAAAAAAAMOHBAAAA','Fortunately past rules mind respectively appropriate losses. Men must develop above the sources. Mere values lis','Books','computers',2.02,5603.38,6.708301
+'AAAAAAAANAJDAAAA','Religious, delicious ways must a','Books','computers',7.07,14.55,0.017419
+'AAAAAAAANFJBAAAA','Only old doors shall wear again. Earlier high minerals might not tell better persona','Books','computers',16.62,0.00,0.000000
+'AAAAAAAANHFDAAAA','Easier strong operators could not break very; new, permanent animals ','Books','computers',1.15,2953.07,3.535381
+'AAAAAAAAOBNDAAAA','Levels undermine unfortunately efficient weeks','Books','computers',2.19,2853.36,3.416009
+'AAAAAAAAPDLCAAAA','Inc considerations should dare sales. Little, long chapters check better exciting employers. Still english unions could pull wrong shoes. Factors would kee','Books','computers',70.39,7100.08,8.500133
+'AAAAAAAAPJCCAAAA','Strong, british horses may not choose less. Results will not carry harsh workers. False claims will want over labour increases. Co','Books','computers',1.05,7745.78,9.273157
+'AAAAAAAAPKOBAAAA','Yet whole dealers p','Books','computers',3.63,2856.73,3.420044
+'AAAAAAAAPLIDAAAA','Items look somewhat new designs. Patients should solve about a officers. Minutes can act still companies. About dangerous records will not run towa','Books','computers',1.43,86.09,0.103066
+'AAAAAAAAABPAAAAA','Particularly professional women may not tell never present, distant times. Current, only weeks could hurry quite appropriate months. Little attacks waste carefully never politi','Books','cooking',1.82,6350.52,12.317737
+'AAAAAAAAAJNDAAAA','Physical, political decis','Books','cooking',6.76,0.00,0.000000
+'AAAAAAAABINAAAAA','Below invisi','Books','cooking',9.59,2547.42,4.941083
+'AAAAAAAABONAAAAA','Gains cannot cross colourful, long individuals. Drily red difficulties may not say to a plans. Very different cases ta','Books','cooking',1.60,1388.77,2.693717
+'AAAAAAAACBDCAAAA','Well independent scores fight rare changes. Scottish rights would not give; implicit, modern services like yet. Conservative, effective yards should marry about a buildings. Valid, m','Books','cooking',0.50,381.18,0.739353
+'AAAAAAAAGALAAAAA','Great, only pages might not contribute so; small components require on a films. Times find apparently. So traditional sources find conditions. Gro','Books','cooking',3.40,2359.09,4.575791
+'AAAAAAAAGMMCAAAA','Chief countries leave actually rural, other fathers. Women discover very otherwise large ministers. Slow, envi','Books','cooking',7.35,13258.98,25.717677
+'AAAAAAAAGOCAAAAA','Historical, economic lights shall stand much big, odd proposals. Rather grateful branches ought to take. Northern, high miles must ask increasingly. Once chronic','Books','cooking',4.37,3383.64,6.563051
+'AAAAAAAAKCCAAAAA','Possible schools carry primarily dual rises; important meetings could continue other passengers. More scottish things might not fall orders. Right, unable expectati','Books','cooking',4.44,4158.51,8.066022
+'AAAAAAAAKEJAAAAA','Other, atlantic regions know fast. Li','Books','cooking',68.84,5439.00,10.549714
+'AAAAAAAAKJGDAAAA','International eyes might see sales. Joint universities must not hold somewhat with a days. Perfect, profitable trials ought to seem; even pale quantities ','Books','cooking',0.94,5746.30,11.145766
+'AAAAAAAALBKAAAAA','Conditions used to test so for a spirits; open, royal provisions might not look approximate','Books','cooking',36.97,5238.71,10.161223
+'AAAAAAAALIGAAAAA','There superb accidents may strike individual results. Quiet, only forests drop as little unlikely towns. Observations can discern with a points. Substantial banks dest','Books','cooking',0.88,73.37,0.142312
+'AAAAAAAAMIBCAAAA','Views present rapidly in the relations. Average winners could fall double stations; also corresponding heroes promote direct,','Books','cooking',3.17,693.26,1.344676
+'AAAAAAAAONGCAAAA','Outcomes will become high wide, substantial clients. Sufficient, new resources weaken only over the moments. Of cour','Books','cooking',1.32,170.00,0.329739
+'AAAAAAAAPNFEAAAA','Wooden, civil fingers keep great, possible scales. Police begin ago in common responsible times. Further open fathers can believe aga','Books','cooking',0.33,367.15,0.712140
+'AAAAAAAAADBDAAAA','Upper men used to give still different girls. Proposals subsidise famous nerves. C','Books','entertainments',2.21,701.28,1.076508
+'AAAAAAAAAIKCAAAA','Troubles must know wise indicators. Kinds enter technical, new doubts. Likely, annual eyes see equivalent payments. Both inadequate feelings decide ever initial ','Books','entertainments',5.04,10130.68,15.551214
+'AAAAAAAABGOBAAAA','Japanese, long students may help very; there partial bombs must assess; intentions cannot execute most certain children; indeed necessary a','Books','entertainments',5.36,1174.34,1.802684
+'AAAAAAAACIDAAAAA','Millions might answer. Attractive rules might beat coloured volunteers. Scottis','Books','entertainments',3.51,4097.70,6.290221
+'AAAAAAAADCOAAAAA','Silly acres shall belong alike following, similar pairs. Respectively lucky newspapers shall dare. Also labour requirements can leave; pounds used to stay even only solicitors. Silver systems may de','Books','entertainments',75.74,613.76,0.942159
+'AAAAAAAADGKAAAAA','However small values ','Books','entertainments',1.49,3795.87,5.826893
+---- TYPES
+STRING, STRING, STRING, STRING, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q13.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q13.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q13.test
new file mode 100644
index 0000000..c5349fd
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q13.test
@@ -0,0 +1,56 @@
+====
+---- QUERY: TPCDS-Q13
+select avg(ss_quantity)
+       ,avg(ss_ext_sales_price)
+       ,avg(ss_ext_wholesale_cost)
+       ,sum(ss_ext_wholesale_cost)
+ from store_sales
+     ,store
+     ,customer_demographics
+     ,household_demographics
+     ,customer_address
+     ,date_dim
+ where s_store_sk = ss_store_sk
+ and  ss_sold_date_sk = d_date_sk and d_year = 2001
+ and((ss_hdemo_sk=hd_demo_sk
+  and cd_demo_sk = ss_cdemo_sk
+  and cd_marital_status = 'M'
+  and cd_education_status = 'Advanced Degree'
+  and ss_sales_price between 100.00 and 150.00
+  and hd_dep_count = 3
+     )or
+     (ss_hdemo_sk=hd_demo_sk
+  and cd_demo_sk = ss_cdemo_sk
+  and cd_marital_status = 'S'
+  and cd_education_status = 'College'
+  and ss_sales_price between 50.00 and 100.00
+  and hd_dep_count = 1
+     ) or
+     (ss_hdemo_sk=hd_demo_sk
+  and cd_demo_sk = ss_cdemo_sk
+  and cd_marital_status = 'W'
+  and cd_education_status = '2 yr Degree'
+  and ss_sales_price between 150.00 and 200.00
+  and hd_dep_count = 1
+     ))
+ and((ss_addr_sk = ca_address_sk
+  and ca_country = 'United States'
+  and ca_state in ('TX', 'OH', 'TX')
+  and ss_net_profit between 100 and 200
+     ) or
+     (ss_addr_sk = ca_address_sk
+  and ca_country = 'United States'
+  and ca_state in ('OR', 'NM', 'KY')
+  and ss_net_profit between 150 and 300
+     ) or
+     (ss_addr_sk = ca_address_sk
+  and ca_country = 'United States'
+  and ca_state in ('VA', 'TX', 'MS')
+  and ss_net_profit between 50 and 250
+     ))
+;
+---- RESULTS
+31,2551.863333,2365.943333,14195.66
+---- TYPES
+DOUBLE, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q15.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q15.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q15.test
new file mode 100644
index 0000000..f875433
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q15.test
@@ -0,0 +1,123 @@
+====
+---- QUERY: TPCDS-Q15
+select  ca_zip
+       ,sum(cs_sales_price)
+ from catalog_sales
+     ,customer
+     ,customer_address
+     ,date_dim
+ where cs_bill_customer_sk = c_customer_sk
+  and c_current_addr_sk = ca_address_sk
+  and ( substr(ca_zip,1,5) in ('85669', '86197','88274','83405','86475',
+                                   '85392', '85460', '80348', '81792')
+        or ca_state in ('CA','WA','GA')
+        or cs_sales_price > 500)
+  and cs_sold_date_sk = d_date_sk
+  and d_qoy = 2 and d_year = 2001
+ group by ca_zip
+ order by ca_zip
+ limit 100;
+---- RESULTS
+'30059',688.80
+'30069',323.60
+'30150',372.79
+'30162',1609.70
+'30169',1326.30
+'30191',513.21
+'30194',244.76
+'30309',94.27
+'30330',447.07
+'30399',196.46
+'30411',713.29
+'30492',115.82
+'30499',1142.24
+'30525',406.09
+'30534',1341.26
+'30587',297.85
+'31087',573.97
+'31289',669.35
+'31387',1226.80
+'31675',362.70
+'31692',541.53
+'31749',182.57
+'31757',1553.34
+'31838',862.54
+'31933',675.18
+'31952',1063.42
+'32219',707.81
+'32293',828.11
+'32477',329.28
+'32565',368.44
+'32724',519.06
+'32812',1129.14
+'32898',1283.01
+'33003',838.16
+'33075',190.62
+'33394',138.83
+'33451',1441.78
+'33511',431.19
+'33604',1224.86
+'33683',616.38
+'33951',1241.72
+'34027',407.13
+'34062',443.22
+'34092',366.23
+'34098',276.14
+'34107',1320.29
+'34136',465.89
+'34190',426.36
+'34244',1508.42
+'34289',360.52
+'34338',1290.05
+'34466',1926.39
+'34536',462.20
+'34593',1237.42
+'34854',473.89
+'34975',293.97
+'35038',532.46
+'35115',465.95
+'35124',1186.38
+'35281',820.44
+'35413',328.47
+'35508',309.54
+'35709',526.74
+'35752',278.29
+'35804',1067.01
+'35817',2487.41
+'35867',581.94
+'36060',173.58
+'36074',230.91
+'36098',907.80
+'36115',298.06
+'36192',1034.53
+'36534',1649.99
+'36557',1722.27
+'36614',1557.87
+'36668',730.76
+'36719',1039.55
+'36787',463.11
+'36867',473.78
+'36871',777.15
+'36971',505.82
+'37057',2784.75
+'37683',526.34
+'37746',1903.08
+'37838',984.60
+'38014',337.71
+'38048',670.99
+'38054',1377.23
+'38075',827.32
+'38119',237.47
+'38167',620.19
+'38222',2633.06
+'38354',2411.29
+'38370',1494.42
+'38371',716.56
+'38579',601.67
+'38605',189.50
+'38721',2085.27
+'38828',261.89
+'38877',251.15
+---- TYPES
+STRING, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q16.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q16.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q16.test
new file mode 100644
index 0000000..1c8ac02
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q16.test
@@ -0,0 +1,35 @@
+====
+---- QUERY: TPCDS-Q16
+select
+   count(distinct cs_order_number) as "order count"
+  ,sum(cs_ext_ship_cost) as "total shipping cost"
+  ,sum(cs_net_profit) as "total net profit"
+from
+   catalog_sales cs1
+  ,date_dim
+  ,customer_address
+  ,call_center
+where
+    cast(d_date as timestamp) between cast('2002-02-01' as timestamp) and
+           (cast('2002-02-01' as timestamp) + interval 60 days)
+and cs1.cs_ship_date_sk = d_date_sk
+and cs1.cs_ship_addr_sk = ca_address_sk
+and ca_state = 'GA'
+and cs1.cs_call_center_sk = cc_call_center_sk
+and cc_county in ('Williamson County','Williamson County','Williamson County','Williamson County',
+                  'Williamson County'
+)
+and exists (select *
+            from catalog_sales cs2
+            where cs1.cs_order_number = cs2.cs_order_number
+              and cs1.cs_warehouse_sk <> cs2.cs_warehouse_sk)
+and not exists(select *
+               from catalog_returns cr1
+               where cs1.cs_order_number = cr1.cr_order_number)
+order by count(distinct cs_order_number)
+limit 100;
+---- RESULTS
+236,1062963.89,-214910.61
+---- TYPES
+BIGINT, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q17.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q17.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q17.test
new file mode 100644
index 0000000..ebf420c
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q17.test
@@ -0,0 +1,49 @@
+====
+---- QUERY: TPCDS-Q17
+select  i_item_id
+       ,i_item_desc
+       ,s_state
+       ,count(ss_quantity) as store_sales_quantitycount
+       ,avg(ss_quantity) as store_sales_quantityave
+       ,stddev_samp(ss_quantity) as store_sales_quantitystdev
+       ,stddev_samp(ss_quantity)/avg(ss_quantity) as store_sales_quantitycov
+       ,count(sr_return_quantity) as store_returns_quantitycount
+       ,avg(sr_return_quantity) as store_returns_quantityave
+       ,stddev_samp(sr_return_quantity) as store_returns_quantitystdev
+       ,stddev_samp(sr_return_quantity)/avg(sr_return_quantity) as store_returns_quantitycov
+       ,count(cs_quantity) as catalog_sales_quantitycount ,avg(cs_quantity) as catalog_sales_quantityave
+       ,stddev_samp(cs_quantity) as catalog_sales_quantitystdev
+       ,stddev_samp(cs_quantity)/avg(cs_quantity) as catalog_sales_quantitycov
+ from store_sales
+     ,store_returns
+     ,catalog_sales
+     ,date_dim d1
+     ,date_dim d2
+     ,date_dim d3
+     ,store
+     ,item
+ where d1.d_quarter_name = '2001Q1'
+   and d1.d_date_sk = ss_sold_date_sk
+   and i_item_sk = ss_item_sk
+   and s_store_sk = ss_store_sk
+   and ss_customer_sk = sr_customer_sk
+   and ss_item_sk = sr_item_sk
+   and ss_ticket_number = sr_ticket_number
+   and sr_returned_date_sk = d2.d_date_sk
+   and d2.d_quarter_name in ('2001Q1','2001Q2','2001Q3')
+   and sr_customer_sk = cs_bill_customer_sk
+   and sr_item_sk = cs_item_sk
+   and cs_sold_date_sk = d3.d_date_sk
+   and d3.d_quarter_name in ('2001Q1','2001Q2','2001Q3')
+ group by i_item_id
+         ,i_item_desc
+         ,s_state
+ order by i_item_id
+         ,i_item_desc
+         ,s_state
+limit 100;
+---- RESULTS
+'AAAAAAAAKPFEAAAA','Recently right','TN',1,99,NULL,NULL,1,66,NULL,NULL,1,32,NULL,NULL
+---- TYPES
+STRING, STRING, STRING, BIGINT, DOUBLE, DOUBLE, DOUBLE, BIGINT, DOUBLE, DOUBLE, DOUBLE, BIGINT, DOUBLE, DOUBLE, DOUBLE
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q18a.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q18a.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q18a.test
new file mode 100644
index 0000000..78ffe39
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q18a.test
@@ -0,0 +1,159 @@
+====
+---- QUERY: TPCDS-Q18A
+with results as
+ (select i_item_id,
+        ca_country,
+        ca_state,
+        ca_county,
+        cast(cs_quantity as decimal(12,2)) agg1,
+        cast(cs_list_price as decimal(12,2)) agg2,
+        cast(cs_coupon_amt as decimal(12,2)) agg3,
+        cast(cs_sales_price as decimal(12,2)) agg4,
+        cast(cs_net_profit as decimal(12,2)) agg5,
+        cast(c_birth_year as decimal(12,2)) agg6,
+        cast(cd1.cd_dep_count as decimal(12,2)) agg7
+ from catalog_sales, customer_demographics cd1, customer_demographics cd2, customer, customer_address, date_dim, item
+ where cs_sold_date_sk = d_date_sk and
+       cs_item_sk = i_item_sk and
+       cs_bill_cdemo_sk = cd1.cd_demo_sk and
+       cs_bill_customer_sk = c_customer_sk and
+       cd1.cd_gender = 'F' and
+       cd1.cd_education_status = 'Unknown' and
+       c_current_cdemo_sk = cd2.cd_demo_sk and
+       c_current_addr_sk = ca_address_sk and
+       c_birth_month in (1, 6, 8, 9, 12, 2) and
+       d_year = 1998 and
+       ca_state in ('MS', 'IN', 'ND', 'OK', 'NM', 'VA', 'MS')
+ )
+  select  i_item_id, ca_country, ca_state, ca_county, agg1, agg2, agg3, agg4, agg5, agg6, agg7
+ from (
+  select i_item_id, ca_country, ca_state, ca_county, avg(agg1) agg1,
+    avg(agg2) agg2, avg(agg3) agg3, avg(agg4) agg4, avg(agg5) agg5, avg(agg6) agg6, avg(agg7) agg7
+  from results
+  group by i_item_id, ca_country, ca_state, ca_county
+  union all
+  select i_item_id, ca_country, ca_state, NULL as county, avg(agg1) agg1, avg(agg2) agg2, avg(agg3) agg3,
+    avg(agg4) agg4, avg(agg5) agg5, avg(agg6) agg6, avg(agg7) agg7
+  from results
+  group by i_item_id, ca_country, ca_state
+  union all
+  select i_item_id, ca_country, NULL as ca_state, NULL as county, avg(agg1) agg1, avg(agg2) agg2, avg(agg3) agg3,
+    avg(agg4) agg4, avg(agg5) agg5, avg(agg6) agg6, avg(agg7) agg7
+  from results
+  group by i_item_id, ca_country
+  union all
+  select i_item_id, NULL as ca_country, NULL as ca_state, NULL as county, avg(agg1) agg1, avg(agg2) agg2, avg(agg3) agg3,
+    avg(agg4) agg4, avg(agg5) agg5, avg(agg6) agg6, avg(agg7) agg7
+  from results
+  group by i_item_id
+  union all
+  select NULL AS i_item_id, NULL as ca_country, NULL as ca_state, NULL as county, avg(agg1) agg1, avg(agg2) agg2, avg(agg3) agg3,
+    avg(agg4) agg4, avg(agg5) agg5, avg(agg6) agg6, avg(agg7) agg7
+  from results
+ ) foo
+ order by ca_country, ca_state, ca_county, i_item_id
+ limit 100;
+---- RESULTS
+'AAAAAAAABFBAAAAA','United States','IN','Adams County',8.000000,86.170000,0.000000,85.300000,415.200000,1981.000000,2.000000
+'AAAAAAAADMKDAAAA','United States','IN','Adams County',99.000000,29.120000,0.000000,11.060000,-562.320000,1981.000000,2.000000
+'AAAAAAAAEGDAAAAA','United States','IN','Adams County',70.000000,51.120000,0.000000,34.250000,1110.200000,1981.000000,2.000000
+'AAAAAAAAGHGAAAAA','United States','IN','Adams County',90.000000,73.470000,0.000000,36.730000,-1318.500000,1981.000000,2.000000
+'AAAAAAAAKBCBAAAA','United States','IN','Adams County',35.000000,46.230000,973.000000,28.660000,-682.850000,1981.000000,2.000000
+'AAAAAAAACCJAAAAA','United States','IN','Cass County',67.000000,55.730000,679.480000,36.220000,-14.170000,1972.000000,1.000000
+'AAAAAAAACIMBAAAA','United States','IN','Cass County',51.000000,21.900000,294.860000,17.520000,-86.780000,1972.000000,1.000000
+'AAAAAAAADJPBAAAA','United States','IN','Cass County',88.000000,51.590000,0.000000,49.010000,2697.200000,1972.000000,1.000000
+'AAAAAAAAHJDDAAAA','United States','IN','Cass County',77.000000,38.310000,0.000000,32.940000,-300.300000,1972.000000,1.000000
+'AAAAAAAANFAEAAAA','United States','IN','Cass County',46.000000,110.690000,0.000000,47.590000,-1474.300000,1972.000000,1.000000
+'AAAAAAAAOLJDAAAA','United States','IN','Cass County',59.000000,239.300000,0.000000,50.250000,-2918.140000,1972.000000,1.000000
+'AAAAAAAACEGCAAAA','United States','IN','Clark County',42.000000,24.850000,0.000000,13.660000,-188.160000,1975.000000,3.000000
+'AAAAAAAACLPDAAAA','United States','IN','Clark County',1.000000,61.080000,0.000000,0.610000,-23.160000,1975.000000,3.000000
+'AAAAAAAAGLDAAAAA','United States','IN','Clark County',11.000000,204.810000,0.000000,12.280000,-963.930000,1975.000000,3.000000
+'AAAAAAAAJPKAAAAA','United States','IN','Clark County',52.000000,11.510000,201.450000,5.870000,-240.450000,1975.000000,3.000000
+'AAAAAAAALJCDAAAA','United States','IN','Clark County',83.000000,101.540000,684.180000,29.440000,-3002.370000,1975.000000,3.000000
+'AAAAAAAACLICAAAA','United States','IN','Crawford County',51.000000,126.570000,0.000000,78.470000,1663.110000,1930.000000,4.000000
+'AAAAAAAAJEDAAAAA','United States','IN','Crawford County',83.000000,78.260000,6237.520000,75.910000,-5952.000000,1930.000000,4.000000
+'AAAAAAAALJFAAAAA','United States','IN','Crawford County',82.000000,94.100000,0.000000,34.810000,-4637.100000,1930.000000,4.000000
+'AAAAAAAAODJAAAAA','United States','IN','Crawford County',49.000000,151.090000,0.000000,15.100000,-2198.140000,1930.000000,4.000000
+'AAAAAAAAOPBBAAAA','United States','IN','Crawford County',73.000000,162.050000,0.000000,71.300000,839.500000,1930.000000,4.000000
+'AAAAAAAAAGCDAAAA','United States','IN','De Kalb County',15.000000,33.560000,0.000000,29.530000,191.250000,1963.000000,5.000000
+'AAAAAAAAALBCAAAA','United States','IN','De Kalb County',3.000000,43.180000,0.000000,5.180000,-39.120000,1963.000000,5.000000
+'AAAAAAAACICCAAAA','United States','IN','De Kalb County',62.000000,111.500000,0.000000,66.900000,-1050.280000,1963.000000,5.000000
+'AAAAAAAADFIDAAAA','United States','IN','De Kalb County',75.000000,277.950000,0.000000,150.090000,3811.500000,1963.000000,5.000000
+'AAAAAAAAGDDBAAAA','United States','IN','De Kalb County',17.000000,102.120000,0.000000,30.630000,-438.430000,1963.000000,5.000000
+'AAAAAAAAGDDCAAAA','United States','IN','De Kalb County',72.000000,7.990000,404.350000,7.910000,-58.750000,1963.000000,5.000000
+'AAAAAAAAIHLCAAAA','United States','IN','De Kalb County',76.000000,234.200000,0.000000,201.410000,8271.840000,1963.000000,5.000000
+'AAAAAAAAILCBAAAA','United States','IN','De Kalb County',92.000000,87.330000,0.000000,3.490000,-2781.160000,1963.000000,5.000000
+'AAAAAAAAJIDCAAAA','United States','IN','De Kalb County',1.000000,82.200000,0.000000,62.470000,-4.360000,1963.000000,5.000000
+'AAAAAAAAACBCAAAA','United States','IN','Dearborn County',1.000000,77.530000,0.000000,49.610000,-1.400000,1982.000000,0.000000
+'AAAAAAAACOHCAAAA','United States','IN','Dearborn County',53.000000,76.540000,258.730000,22.190000,-2407.880000,1982.000000,0.000000
+'AAAAAAAAFBBAAAAA','United States','IN','Dearborn County',66.000000,121.250000,0.000000,54.560000,-524.040000,1982.000000,0.000000
+'AAAAAAAAFIBCAAAA','United States','IN','Dearborn County',26.000000,38.280000,0.000000,25.640000,222.300000,1982.000000,0.000000
+'AAAAAAAAILEDAAAA','United States','IN','Dearborn County',96.000000,213.310000,491.320000,17.060000,-7995.640000,1982.000000,0.000000
+'AAAAAAAAKIKDAAAA','United States','IN','Dearborn County',96.000000,168.660000,0.000000,123.120000,4840.320000,1982.000000,0.000000
+'AAAAAAAAKPEDAAAA','United States','IN','Dearborn County',1.000000,103.550000,10.250000,93.190000,40.150000,1982.000000,0.000000
+'AAAAAAAAMFKBAAAA','United States','IN','Dearborn County',79.000000,98.010000,0.000000,81.340000,2217.530000,1982.000000,0.000000
+'AAAAAAAAMFOBAAAA','United States','IN','Dearborn County',10.000000,203.770000,90.060000,52.980000,-293.260000,1982.000000,0.000000
+'AAAAAAAAMLIBAAAA','United States','IN','Dearborn County',37.000000,48.540000,0.000000,0.000000,-1350.500000,1982.000000,0.000000
+'AAAAAAAAMOIAAAAA','United States','IN','Dearborn County',60.000000,173.070000,1623.980000,58.840000,-1578.380000,1982.000000,0.000000
+'AAAAAAAAONBAAAAA','United States','IN','Dearborn County',14.000000,17.240000,0.000000,1.370000,-114.240000,1982.000000,0.000000
+'AAAAAAAAPFEBAAAA','United States','IN','Dearborn County',35.000000,141.770000,0.000000,89.310000,920.500000,1982.000000,0.000000
+'AAAAAAAAAEJBAAAA','United States','IN','Fayette County',76.000000,85.660000,0.000000,17.130000,-4670.960000,1985.000000,2.000000
+'AAAAAAAAALIBAAAA','United States','IN','Fayette County',53.000000,170.420000,3689.470000,161.890000,-45.190000,1985.000000,2.000000
+'AAAAAAAACDADAAAA','United States','IN','Fayette County',43.000000,45.120000,0.000000,34.290000,774.000000,1985.000000,2.000000
+'AAAAAAAADKDAAAAA','United States','IN','Fayette County',75.000000,40.580000,0.000000,38.140000,606.000000,1985.000000,2.000000
+'AAAAAAAAGCBCAAAA','United States','IN','Fayette County',50.000000,118.210000,648.900000,72.100000,-1849.400000,1985.000000,2.000000
+'AAAAAAAAGKOBAAAA','United States','IN','Fayette County',2.000000,85.080000,0.000000,45.090000,-42.760000,1985.000000,2.000000
+'AAAAAAAAGMLAAAAA','United States','IN','Fayette County',7.000000,28.730000,0.000000,24.420000,62.790000,1985.000000,2.000000
+'AAAAAAAAKNODAAAA','United States','IN','Fayette County',97.000000,153.250000,227.410000,78.150000,-554.300000,1985.000000,2.000000
+'AAAAAAAAKOPBAAAA','United States','IN','Fayette County',28.000000,67.690000,1021.310000,37.220000,-1520.270000,1985.000000,2.000000
+'AAAAAAAAMJJCAAAA','United States','IN','Fayette County',67.000000,25.670000,0.000000,21.810000,775.860000,1985.000000,2.000000
+'AAAAAAAANAHCAAAA','United States','IN','Fayette County',55.000000,45.890000,368.940000,7.800000,-844.690000,1985.000000,2.000000
+'AAAAAAAAAOFDAAAA','United States','IN','Fountain County',87.000000,28.710000,0.000000,27.840000,1472.040000,1968.000000,6.000000
+'AAAAAAAACCGBAAAA','United States','IN','Fountain County',85.000000,44.480000,0.000000,30.240000,15.300000,1968.000000,6.000000
+'AAAAAAAAIIADAAAA','United States','IN','Fountain County',78.000000,118.170000,0.000000,115.800000,3411.720000,1968.000000,6.000000
+'AAAAAAAAOBDBAAAA','United States','IN','Fountain County',65.000000,188.630000,0.000000,165.990000,5481.450000,1968.000000,6.000000
+'AAAAAAAAAEABAAAA','United States','IN','Hamilton County',32.000000,29.890000,0.000000,28.390000,391.360000,1932.000000,5.000000
+'AAAAAAAAAEFCAAAA','United States','IN','Hamilton County',32.000000,31.970000,0.000000,18.540000,65.920000,1932.000000,5.000000
+'AAAAAAAAAMNDAAAA','United States','IN','Hamilton County',70.000000,101.270000,4284.880000,65.820000,-4341.580000,1932.000000,5.000000
+'AAAAAAAAEPKCAAAA','United States','IN','Hamilton County',35.000000,128.900000,0.000000,105.690000,2021.950000,1932.000000,5.000000
+'AAAAAAAAGIMAAAAA','United States','IN','Hamilton County',79.000000,12.060000,326.710000,8.440000,-118.150000,1932.000000,5.000000
+'AAAAAAAAGKFBAAAA','United States','IN','Hamilton County',43.000000,23.850000,0.000000,0.950000,-580.930000,1932.000000,5.000000
+'AAAAAAAAIFICAAAA','United States','IN','Hamilton County',86.000000,2.450000,0.000000,1.980000,48.160000,1932.000000,5.000000
+'AAAAAAAACHNDAAAA','United States','IN','Jennings County',36.000000,2.870000,0.000000,0.110000,-49.320000,1958.000000,2.000000
+'AAAAAAAADBECAAAA','United States','IN','Jennings County',59.000000,89.310000,775.520000,57.150000,747.270000,1958.000000,2.000000
+'AAAAAAAAIAHBAAAA','United States','IN','Jennings County',2.000000,42.430000,0.000000,22.060000,-12.460000,1958.000000,2.000000
+'AAAAAAAAICDEAAAA','United States','IN','Jennings County',17.000000,146.850000,0.000000,41.110000,-524.960000,1958.000000,2.000000
+'AAAAAAAANDMAAAAA','United States','IN','Jennings County',32.000000,238.000000,637.450000,21.420000,-2870.090000,1958.000000,2.000000
+'AAAAAAAAPNBCAAAA','United States','IN','Jennings County',59.000000,230.880000,0.000000,223.950000,7465.270000,1958.000000,2.000000
+'AAAAAAAAAICBAAAA','United States','IN','Johnson County',59.000000,156.860000,0.000000,37.640000,-1144.600000,1924.000000,2.000000
+'AAAAAAAACGJAAAAA','United States','IN','Johnson County',41.000000,111.540000,0.000000,72.500000,1333.320000,1924.000000,2.000000
+'AAAAAAAAHNPCAAAA','United States','IN','Johnson County',5.000000,229.900000,885.990000,188.510000,-432.590000,1924.000000,2.000000
+'AAAAAAAAKBBCAAAA','United States','IN','Johnson County',80.000000,105.660000,0.000000,73.960000,-344.800000,1924.000000,2.000000
+'AAAAAAAAKMEDAAAA','United States','IN','Johnson County',11.000000,81.280000,0.000000,27.630000,-343.970000,1924.000000,2.000000
+'AAAAAAAAKNCEAAAA','United States','IN','Johnson County',68.000000,100.510000,0.000000,18.090000,-4713.080000,1924.000000,2.000000
+'AAAAAAAADAEDAAAA','United States','IN','Kosciusko County',84.000000,68.840000,464.190000,7.570000,-2622.150000,1987.000000,1.000000
+'AAAAAAAAENDAAAAA','United States','IN','Kosciusko County',99.000000,142.120000,679.550000,98.060000,3855.640000,1987.000000,1.000000
+'AAAAAAAAHHFAAAAA','United States','IN','Kosciusko County',59.000000,74.540000,0.000000,64.840000,2237.870000,1987.000000,1.000000
+'AAAAAAAAHKHBAAAA','United States','IN','Kosciusko County',16.000000,58.200000,0.000000,27.350000,-97.600000,1987.000000,1.000000
+'AAAAAAAAIFBCAAAA','United States','IN','Kosciusko County',44.000000,69.880000,0.000000,69.880000,1464.760000,1987.000000,1.000000
+'AAAAAAAAKCLDAAAA','United States','IN','Kosciusko County',53.000000,171.980000,0.000000,29.230000,-1997.570000,1987.000000,1.000000
+'AAAAAAAAKHCEAAAA','United States','IN','Kosciusko County',75.000000,62.040000,0.000000,32.880000,369.750000,1987.000000,1.000000
+'AAAAAAAALOFBAAAA','United States','IN','Kosciusko County',49.000000,95.190000,0.000000,77.100000,2135.420000,1987.000000,1.000000
+'AAAAAAAAMMIAAAAA','United States','IN','Kosciusko County',56.000000,12.780000,0.000000,12.010000,345.520000,1987.000000,1.000000
+'AAAAAAAAPHADAAAA','United States','IN','Kosciusko County',19.000000,89.150000,0.000000,1.780000,-638.400000,1987.000000,1.000000
+'AAAAAAAAAJAEAAAA','United States','IN','La Porte County',56.000000,84.850000,0.000000,6.780000,-2990.400000,1975.000000,4.000000
+'AAAAAAAAALCBAAAA','United States','IN','La Porte County',61.000000,80.160000,0.000000,26.450000,-1646.390000,1975.000000,4.000000
+'AAAAAAAACDDCAAAA','United States','IN','La Porte County',31.000000,129.150000,0.000000,38.740000,-1182.340000,1975.000000,4.000000
+'AAAAAAAACDPDAAAA','United States','IN','La Porte County',23.000000,54.410000,282.090000,22.300000,-343.270000,1975.000000,4.000000
+'AAAAAAAADFEEAAAA','United States','IN','La Porte County',52.000000,126.010000,0.000000,41.580000,-829.920000,1975.000000,4.000000
+'AAAAAAAAEPJDAAAA','United States','IN','La Porte County',38.000000,63.130000,0.000000,46.080000,859.180000,1975.000000,4.000000
+'AAAAAAAAIEDBAAAA','United States','IN','La Porte County',13.000000,50.530000,0.000000,31.320000,-52.260000,1975.000000,4.000000
+'AAAAAAAAIOAEAAAA','United States','IN','La Porte County',10.000000,53.350000,0.000000,33.070000,122.300000,1975.000000,4.000000
+'AAAAAAAAJKMAAAAA','United States','IN','La Porte County',50.000000,66.920000,0.000000,16.730000,-749.500000,1975.000000,4.000000
+'AAAAAAAAKDBAAAAA','United States','IN','La Porte County',57.000000,123.530000,0.000000,81.520000,959.880000,1975.000000,4.000000
+'AAAAAAAAKIDBAAAA','United States','IN','La Porte County',38.000000,50.200000,0.000000,40.660000,-307.040000,1975.000000,4.000000
+'AAAAAAAALHDEAAAA','United States','IN','La Porte County',72.000000,147.380000,0.000000,26.520000,-3985.920000,1975.000000,4.000000
+'AAAAAAAALKEAAAAA','United States','IN','La Porte County',68.000000,159.120000,0.000000,77.960000,-709.920000,1975.000000,4.000000
+---- TYPES
+STRING, STRING, STRING, STRING, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL, DECIMAL
+====
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/impala/blob/35a3e186/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q19.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q19.test b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q19.test
new file mode 100644
index 0000000..ca73b60
--- /dev/null
+++ b/testdata/workloads/tpcds/queries/tpcds-decimal_v2-q19.test
@@ -0,0 +1,141 @@
+====
+---- QUERY: TPCDS-Q19
+select
+  i_brand_id brand_id,
+  i_brand brand,
+  i_manufact_id,
+  i_manufact,
+  sum(ss_ext_sales_price) ext_price
+from
+  date_dim,
+  store_sales,
+  item,
+  customer,
+  customer_address,
+  store
+where
+  d_date_sk = ss_sold_date_sk
+  and ss_item_sk = i_item_sk
+  and i_manager_id = 8
+  and d_moy = 11
+  and d_year = 1998
+  and ss_customer_sk = c_customer_sk
+  and c_current_addr_sk = ca_address_sk
+  and substr(ca_zip, 1, 5) <> substr(s_zip, 1, 5)
+  and ss_store_sk = s_store_sk
+group by
+  i_brand,
+  i_brand_id,
+  i_manufact_id,
+  i_manufact
+order by
+  ext_price desc,
+  i_brand,
+  i_brand_id,
+  i_manufact_id,
+  i_manufact
+limit 100;
+---- RESULTS
+3001001,'amalgexporti #1',358,'eingantipri',39779.20
+5002002,'importoscholar #2',503,'pribaranti',38877.55
+2002001,'importoimporto #1',229,'n stableable',38849.73
+6009001,'maxicorp #1',609,'n stbarcally',37679.02
+10012003,'importoamalgamalg #3',68,'eingcally',36856.35
+10015008,'scholaramalgamalg #8',839,'n stprieing',36664.59
+5003002,'exportischolar #2',50,'baranti',35402.74
+4002002,'importoedu pack #2',615,'antioughtcally',34673.98
+3002002,'importoexporti #2',581,'oughteinganti',34669.00
+5002001,'importoscholar #1',442,'ableeseese',34618.53
+5003001,'exportischolar #1',224,'eseableable',34541.38
+5004002,'edu packscholar #2',168,'eingcallyought',33004.86
+4001001,'amalgedu pack #1',379,'n stationpri',32777.45
+7009009,'maxibrand #9',10,'barought',32448.47
+8001009,'amalgnameless #9',21,'oughtable',32020.26
+1003001,'exportiamalg #1',162,'ablecallyought',31531.85
+10011013,'amalgamalgamalg #13',551,'oughtantianti',30259.44
+9004003,'edu packmaxi #3',191,'oughtn stought',29977.55
+7001002,'amalgbrand #2',122,'ableableought',29576.48
+10013006,'exportiamalgamalg #6',461,'oughtcallyese',29475.71
+7008009,'namelessbrand #9',540,'bareseanti',28888.95
+7013001,'exportinameless #1',18,'eingought',28720.16
+5004001,'edu packscholar #1',361,'oughtcallypri',28656.02
+5003001,'exportischolar #1',457,'ationantiese',28560.52
+5001001,'amalgscholar #1',192,'ablen stought',28136.83
+8007009,'brandnameless #9',34,'esepri',27968.38
+6010003,'univbrand #3',165,'anticallyought',27826.40
+4003001,'exportiedu pack #1',30,'barpri',27681.74
+1002002,'importoamalg #2',504,'esebaranti',27540.55
+9009011,'maximaxi #11',117,'ationoughtought',26149.58
+4002001,'importoedu pack #1',96,'callyn st',25291.42
+10012006,'importoamalgamalg #6',162,'ablecallyought',25077.80
+5002001,'importoscholar #1',202,'ablebarable',24662.36
+5004002,'edu packscholar #2',427,'ationableese',24502.14
+8009007,'maxinameless #7',146,'callyeseought',24020.70
+7002005,'importobrand #5',822,'ableableeing',23637.35
+4001001,'amalgedu pack #1',236,'callypriable',23425.22
+3002001,'importoexporti #1',889,'n steingeing',23327.10
+4001001,'amalgedu pack #1',106,'callybarought',23272.95
+9004011,'edu packmaxi #11',241,'oughteseable',23233.46
+3002002,'importoexporti #2',597,'ationn stanti',23181.94
+6011005,'amalgbrand #5',373,'priationpri',22935.30
+5004001,'edu packscholar #1',191,'oughtn stought',22767.49
+10003001,'exportiunivamalg #1',252,'ableantiable',22605.56
+2002001,'importoimporto #1',265,'anticallyable',22316.14
+2004001,'edu packimporto #1',584,'eseeinganti',22312.87
+4004002,'edu packedu pack #2',293,'prin stable',22272.04
+9011008,'amalgunivamalg #8',93,'prin st',22103.70
+1003002,'exportiamalg #2',400,'barbarese',21701.01
+8006008,'corpnameless #8',605,'antibarcally',21599.44
+7014001,'edu packnameless #1',23,'priable',21554.24
+5001002,'amalgscholar #2',124,'eseableought',21004.37
+5003002,'exportischolar #2',162,'ablecallyought',20986.26
+3002001,'importoexporti #1',176,'callyationought',20741.06
+2001001,'amalgimporto #1',219,'n stoughtable',20647.28
+2002001,'importoimporto #1',100,'barbarought',20543.92
+4004001,'edu packedu pack #1',718,'eingoughtation',20488.80
+8014009,'edu packmaxi #9',214,'eseoughtable',20379.43
+10010013,'univamalgamalg #13',656,'callyantically',20274.67
+4003001,'exportiedu pack #1',640,'baresecally',20218.12
+1001001,'amalgamalg #1',257,'ationantiable',19957.37
+2002001,'importoimporto #1',525,'antiableanti',19888.38
+8011002,'amalgmaxi #2',293,'prin stable',18991.25
+4002001,'importoedu pack #1',101,'oughtbarought',18892.36
+9012003,'importounivamalg #3',818,'eingoughteing',18832.74
+10001014,'amalgunivamalg #14',207,'ationbarable',18623.57
+4004001,'edu packedu pack #1',257,'ationantiable',18605.21
+1004001,'edu packamalg #1',675,'antiationcally',18349.99
+8012001,'importomaxi #1',277,'ationationable',18325.53
+1004001,'edu packamalg #1',380,'bareingpri',17896.97
+1002002,'importoamalg #2',50,'baranti',17737.23
+1001001,'amalgamalg #1',346,'callyesepri',17660.98
+2004002,'edu packimporto #2',912,'ableoughtn st',17422.31
+6005006,'scholarcorp #6',270,'barationable',17373.47
+8012007,'importomaxi #7',320,'barablepri',17247.22
+1004001,'edu packamalg #1',594,'esen stanti',17217.04
+10001009,'amalgunivamalg #9',414,'eseoughtese',17196.10
+1003002,'exportiamalg #2',483,'prieingese',17180.13
+10010005,'univamalgamalg #5',684,'eseeingcally',17146.97
+6004005,'edu packcorp #5',224,'eseableable',17081.31
+2002001,'importoimporto #1',134,'esepriought',16596.84
+8014007,'edu packmaxi #7',350,'barantipri',16580.66
+6007007,'brandcorp #7',47,'ationese',16413.40
+10011002,'amalgamalgamalg #2',112,'ableoughtought',16120.65
+2003001,'exportiimporto #1',288,'eingeingable',15769.87
+1002002,'importoamalg #2',489,'n steingese',15707.42
+6013003,'exportibrand #3',16,'callyought',15594.16
+10008005,'namelessunivamalg #5',813,'prioughteing',15433.53
+10004013,'edu packunivamalg #13',764,'esecallyation',15242.69
+9016003,'corpunivamalg #3',51,'oughtanti',15172.76
+10006012,'corpunivamalg #12',166,'callycallyought',15153.42
+5004001,'edu packscholar #1',595,'antin stanti',14910.27
+8003003,'exportinameless #3',85,'antieing',14890.03
+4003001,'exportiedu pack #1',239,'n stpriable',14778.52
+6006001,'corpcorp #1',258,'eingantiable',14579.72
+1004001,'edu packamalg #1',222,'ableableable',14254.25
+4003002,'exportiedu pack #2',117,'ationoughtought',14161.18
+1001001,'amalgamalg #1',89,'n steing',14133.10
+8016009,'corpmaxi #9',734,'esepriation',14055.01
+1002001,'importoamalg #1',184,'eseeingought',13719.81
+---- TYPES
+INT, STRING, INT, STRING, DECIMAL
+====
\ No newline at end of file