You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "jinchengchenghh (via GitHub)" <gi...@apache.org> on 2025/11/28 10:54:09 UTC

[I] [VL] Exception in GlutenParquetV1QuerySuite decimal read schema evolusion [incubator-gluten]

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

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   Read decimal(2, 1) as decimal(3, 2)
   ```
   10:51:35.289 ERROR org.apache.spark.task.TaskResources: Task 643 failed by error: 
   org.apache.gluten.exception.GlutenException: Exception: VeloxRuntimeError
   Error Source: RUNTIME
   Error Code: INVALID_STATE
   Reason: Converted type DECIMAL(2, 1) is not allowed for requested type DECIMAL(3, 2)
   Retriable: False
   Expression: isCompatible( requestedType, isRepeated, [&](const TypePtr& type) { return type->isShortDecimal() && type->asShortDecimal().precision() >= schemaElementPrecision && type->asShortDecimal().scale() == schemaElementScale; })
   Context: Split [Hive: file:///private/var/folders/63/845y6pk53dx_83hpw8ztdchw0000gn/T/spark-d7f8cf57-bac8-4ed7-a1b3-0f5fef463077/part-00000-21ecad37-29b1-49f0-8028-a6f32211c9e3.snappy.parquet 0 - 1055] Task Gluten_Stage_401_TID_643_VTID_401
   Additional Context: Operator: TableScan[0] 0
   10:51:35.291 ERROR org.apache.spark.executor.Executor: Exception in task 0.0 in stage 401.0 (TID 643)
   org.apache.gluten.exception.GlutenException: Exception: VeloxRuntimeError
   Error Source: RUNTIME
   Error Code: INVALID_STATE
   Reason: Converted type DECIMAL(2, 1) is not allowed for requested type DECIMAL(3, 2)
   Retriable: False
   Expression: isCompatible( requestedType, isRepeated, [&](const TypePtr& type) { return type->isShortDecimal() && type->asShortDecimal().precision() >= schemaElementPrecision && type->asShortDecimal().scale() == schemaElementScale; })
   Context: Split [Hive: file:///private/var/folders/63/845y6pk53dx_83hpw8ztdchw0000gn/T/spark-d7f8cf57-bac8-4ed7-a1b3-0f5fef463077/part-00000-21ecad37-29b1-49f0-8028-a6f32211c9e3.snappy.parquet 0 - 1055] Task Gluten_Stage_401_TID_643_VTID_401
   Additional Context: Operator: TableScan[0] 0
   ```
   
   ### Gluten version
   
   _No response_
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
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: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org