You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Cast falls back on CPU even if data types are not related to time
!Expression <Cast> cast(a#2 as double) cannot run on GPU because Only UTC zone id is supported. Actual default zone id: GMT-01:00; Only UTC zone id is supported. Actual session local zone id: GMT-01:00
>>>spark.createDataFrame([(1,)], 'a int').selectExpr('CAST(a AS DOUBLE)').collect()
22/07/2816:12:30WARNGpuOverrides:
!Exec<ProjectExec>cannotrunonGPUbecausenotallexpressionscanbereplaced
@Expression<Alias>cast(a#2 as double) AS a#4 could run on GPU
!Expression<Cast>cast(a#2 as double) cannot run on GPU because Only UTC zone id is supported. Actual default zone id: GMT-01:00; Only UTC zone id is supported. Actual session local zone id: GMT-01:00
@Expression<AttributeReference>a#2 could run on GPU
! <RDDScanExec>cannotrunonGPUbecauseGPUdoesnotcurrentlysupporttheoperatorclassorg.apache.spark.sql.execution.RDDScanExec
@Expression<AttributeReference>a#2 could run on GPU
[Row(a=1.0)]
Expected behavior
should be able to run cast such as int to double on GPU regardless of the timezone
Environment details (please complete the following information)
Environment location: Any
Spark configuration settings related to the issue: N/A
Describe the bug
Cast falls back on CPU even if data types are not related to time
Steps/Code to reproduce bug
Start Spark in a non-UTC timezone
Execute:
Expected behavior
should be able to run cast such as int to double on GPU regardless of the timezone
Environment details (please complete the following information)
Additional context
#6103
The text was updated successfully, but these errors were encountered: