liuchunhua opened a new issue, #7932:
URL: https://github.com/apache/incubator-gluten/issues/7932

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   # write 
   使用spark 3.2.4 原生版本生成文件
   ``` sql
   create table bigdata.tmp_decimal_col(
   amt_int int,
   amt_bigint long,
   amt_decimal8 decimal(8, 2),
   amt_decimal16 decimal(16, 2),
   amt_decimal24 decimal(24,2),
   amt_decimal27 decimal(27, 2),
   amt_decimal32 decimal(32, 2),
   amt_decimal38 decimal(38, 2)
   );
   
   insert into bigdata.tmp_decimal_col values(2322, 223243243224, 
   2343.33, 343423423333.12, 
   3242343243243232423.00,
   3242343243243232423.00,
   3242343243243232423.00,
   3242343243243232423.00);
   ```
   
   # read 
   spark3.4.4 + gluten+ velox:
   
spark.read.parquet("/user/hive/warehouse/bigdata.db/tmp_decimal_col/part-00000-b1079bc2-7027-4b3b-99cb-83a187c30883-c000.snappy.parquet").show()
   
   
+-------+------------+------------+---------------+--------------------+--------------------+--------------------+--------------------+
   |amt_int|  amt_bigint|amt_decimal8|  amt_decimal16|       amt_decimal24|     
  **amt_decimal27**|       amt_decimal32|       amt_decimal38|
   
+-------+------------+------------+---------------+--------------------+--------------------+--------------------+--------------------+
   |   2322|223243243224|     
2343.33|343423423333.12|32423432432432324...|**90700136833857145...**|32423432432432324...|32423432432432324...|
   
+-------+------------+------------+---------------+--------------------+--------------------+--------------------+--------------------+
   
   gluten version 
   
   Backend: Velox
   Backend Branch: HEAD
   Backend Revision: 88856e6b139c761e7876b1cd3b29e8dad236d8c7
   Backend Revision Time: 2024-08-20 16:45:45 +0800
   GCC Version: gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
   Gluten Branch: branch-1.2
   Gluten Build Time: 2024-08-21T13:12:51Z
   Gluten Repo URL: https://github.com/apache/incubator-gluten
   Gluten Revision: c82af60a635fb52bf1314cd831f5915dd37d910d
   Gluten Revision Time: 2024-08-21 16:12:39 +0800
   Gluten Version: 1.2.0
   Hadoop Version: 2.7.4
   Java Version: 1.8
   Scala Version: 2.12.15
   Spark Version: 3.4.2
   
   
   ### Spark version
   
   Spark-3.4.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to