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 ; 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..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", StringType) + StructField("c_last_review_date_sk", LongType) )) }