wuchunfu commented on a change in pull request #1410:
URL:
https://github.com/apache/incubator-seatunnel/pull/1410#discussion_r822263704
##########
File path:
seatunnel-connectors/seatunnel-connector-spark-jdbc/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc2/DefaultSource.scala
##########
@@ -102,6 +102,6 @@ class DefaultSource extends CreatableRelationProvider with
RelationProvider
conn.close()
}
- createRelation(sqlContext, parameters)
+ JDBCRelation(Array.empty, new
JDBCOptions(parameters))(sqlContext.sparkSession)
}
Review comment:
@zhaomin1423 It doesn't seem like this needs to be changed.
--
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]