gengliangwang commented on code in PR #48401:
URL: https://github.com/apache/spark/pull/48401#discussion_r1807026528


##########
connector/avro/src/main/scala/org/apache/spark/sql/v2/avro/AvroDataSourceV2.scala:
##########
@@ -16,8 +16,8 @@
  */
 package org.apache.spark.sql.v2.avro
 
-import org.apache.spark.sql.avro.AvroFileFormat
 import org.apache.spark.sql.connector.catalog.Table
+import org.apache.spark.sql.core.avro.AvroFileFormat

Review Comment:
   Can we use a Plugin or Service Loader Mechanism approach? we can create a 
trait in `sql/core` and implement it Avro data source.



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

Reply via email to