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
scala>Seq("infinity ", "Infinity ", "+Inf ").toDF.coalesce(1).selectExpr("cast(value as float)").collect()
24/05/1012:02:57WARNGpuOverrides:*Exec <ProjectExec> will run on GPU*Expression <Alias> cast(value#1 as float) AS value#5 will run on GPU*Expression <Cast> cast(value#1 as float) will run on GPU*Exec <CoalesceExec> will run on GPU! <LocalTableScanExec> cannot run on GPU because GPU does not currently support the operator classorg.apache.spark.sql.execution.LocalTableScanExec@Expression <AttributeReference> value#1 could run on GPU
res0:Array[org.apache.spark.sql.Row] =Array([null], [null], [null])
gerashegalov
changed the title
cast( infinity as float), actual: null, expected: Infinity
[BUG] cast( infinity as float), actual: null, expected: Infinity
May 10, 2024
gerashegalov
changed the title
[BUG] cast( infinity as float), actual: null, expected: Infinity
[BUG] Incorrect cast of string columns containing various infinity notations with trailing spaces
May 10, 2024
The actual value that the UT caught is
infinity
but it boils down to the trailing spaceRepro:
GPU:
CPU:
The text was updated successfully, but these errors were encountered: