jinchengchenghh commented on issue #9932: URL: https://github.com/apache/incubator-gluten/issues/9932#issuecomment-2965705154
For Q7, the year type returns integer while presto returns int64_t and cudf returns smallint, but I don't find a operator to cast column to int32, there is only CAST_TO_INT64, we may need to add CAST_TO_INT32 like this one?https://github.com/rapidsai/cudf/pull/9379/files, or cast the function result. ``` -- Project[16][expressions: (n16_7:VARCHAR, "n15_11"), (n16_8:VARCHAR, "n15_13"), (n16_9:INTEGER, year("n15_9")), (n16_10:DOUBLE, multiply("n15_7",subtract(1,"n15_8")))] -> n16_7:VARCHAR, n16_8:VARCHAR, n16_9:INTEGER, n16_10:DOUBLE Cannot change vector type from ROW<"0":VARCHAR,"1":VARCHAR,"2":SMALLINT,"3":DOUBLE> to ROW<n16_7:VARCHAR,n16_8:VARCHAR,n16_9:INTEGER,n17_3:DOUBLE>. The old and new types can be different logical types, but the underlying physical types must match. ``` -- 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]
