comphead commented on code in PR #1975: URL: https://github.com/apache/datafusion-comet/pull/1975#discussion_r2298998142
########## common/src/main/scala/org/apache/spark/sql/comet/util/Utils.scala: ########## @@ -124,7 +125,10 @@ object Utils { case LongType => new ArrowType.Int(8 * 8, true) case FloatType => new ArrowType.FloatingPoint(FloatingPointPrecision.SINGLE) case DoubleType => new ArrowType.FloatingPoint(FloatingPointPrecision.DOUBLE) - case StringType => ArrowType.Utf8.INSTANCE + case _: StringType => ArrowType.Utf8.INSTANCE + case dt if isStringCollationType(dt) => + // TODO collation information is lost with this transformation Review Comment: should we have a ticket? -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org