danny0405 commented on code in PR #13291:
URL: https://github.com/apache/hudi/pull/13291#discussion_r2093811977


##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/HoodieDataTypeUtils.scala:
##########
@@ -39,7 +39,9 @@ object HoodieDataTypeUtils {
     StructType.fromString(jsonSchema)
 
   def canUseRowWriter(schema: Schema, conf: Configuration): Boolean = {
-    if (conf.getBoolean(AvroWriteSupport.WRITE_OLD_LIST_STRUCTURE, true)) {
+    if (HoodieAvroUtils.hasTimestampMillisField(schema)) {

Review Comment:
   Hmm, then I think we should support timestamp(3) for Spark, @jonvex do you 
think it is feasible?



-- 
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]

Reply via email to