spark-rapids icon indicating copy to clipboard operation
spark-rapids copied to clipboard

[FEA] it would be nice if we could support org.apache.spark.sql.catalyst.expressions.Bin

Open nvliyuan opened this issue 1 year ago • 2 comments

it would be nice if we could support org.apache.spark.sql.catalyst.expressions.Bin

Seq(1,2,3,4,5,6).toDF("a").repartition(1).createOrReplaceTempView("t1")
sql("select bin(a) from t1").show

! <Bin> bin(cast(a#19 as bigint)) cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.Bin

nvliyuan avatar Oct 23 '24 09:10 nvliyuan

low priority

nvliyuan avatar Oct 23 '24 09:10 nvliyuan

Would probably need a new kernel for this, but it is just taking a long and outputting the binary representation of it, which should be dead simple to do.

revans2 avatar Oct 23 '24 14:10 revans2