From 3bc3e95ec75de4cbfd89c1d4c3f949f4075d5c0c Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Wed, 18 Mar 2026 15:49:25 +0100 Subject: [PATCH 1/3] [VL] Gluten-it: s/c_last_review_date/c_last_review_date_sk/ To comply with TPC-DS v2.7's schema specification: https://www.tpc.org/tpc_documents_current_versions/pdf/tpc-ds_v2.7.0.pdf --- .../org/apache/gluten/integration/ds/TpcdsTableLayout.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala b/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala index 23fb841583e9..325010fd17c6 100644 --- a/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala +++ b/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala @@ -359,7 +359,7 @@ object TpcdsTableLayout { StructField("c_birth_country", StringType), StructField("c_login", StringType), StructField("c_email_address", StringType), - StructField("c_last_review_date", StringType) + StructField("c_last_review_date_sk", StringType) )) } From 35f00a924b7d8bb2e3144c47f4718272af0d5fd1 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Thu, 19 Mar 2026 10:38:23 +0100 Subject: [PATCH 2/3] fixup --- .../gluten-it/common/src/main/resources/tpcds-queries/q30.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gluten-it/common/src/main/resources/tpcds-queries/q30.sql b/tools/gluten-it/common/src/main/resources/tpcds-queries/q30.sql index 83d312f66162..5ddba2f7daa8 100644 --- a/tools/gluten-it/common/src/main/resources/tpcds-queries/q30.sql +++ b/tools/gluten-it/common/src/main/resources/tpcds-queries/q30.sql @@ -13,7 +13,7 @@ with customer_total_return as ,ca_state) select c_customer_id,c_salutation,c_first_name,c_last_name,c_preferred_cust_flag ,c_birth_day,c_birth_month,c_birth_year,c_birth_country,c_login,c_email_address - ,c_last_review_date,ctr_total_return + ,c_last_review_date_sk,ctr_total_return from customer_total_return ctr1 ,customer_address ,customer @@ -25,7 +25,7 @@ with customer_total_return as and ctr1.ctr_customer_sk = c_customer_sk order by c_customer_id,c_salutation,c_first_name,c_last_name,c_preferred_cust_flag ,c_birth_day,c_birth_month,c_birth_year,c_birth_country,c_login,c_email_address - ,c_last_review_date,ctr_total_return + ,c_last_review_date_sk,ctr_total_return LIMIT 100 ; From 3b817809cc9c7b1d1e15beb6ce70ff1ed3c8a718 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Fri, 20 Mar 2026 10:58:08 +0100 Subject: [PATCH 3/3] fixup --- .../org/apache/gluten/integration/ds/TpcdsTableLayout.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala b/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala index 325010fd17c6..55dd3e47e69f 100644 --- a/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala +++ b/tools/gluten-it/common/src/main/scala/org/apache/gluten/integration/ds/TpcdsTableLayout.scala @@ -359,7 +359,7 @@ object TpcdsTableLayout { StructField("c_birth_country", StringType), StructField("c_login", StringType), StructField("c_email_address", StringType), - StructField("c_last_review_date_sk", StringType) + StructField("c_last_review_date_sk", LongType) )) }