huaxingao commented on a change in pull request #34311:
URL: https://github.com/apache/spark/pull/34311#discussion_r732874959
##########
File path:
external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/PostgresIntegrationSuite.scala
##########
@@ -49,6 +49,8 @@ class PostgresIntegrationSuite extends
DockerJDBCIntegrationSuite with V2JDBCTes
override def sparkConf: SparkConf = super.sparkConf
.set("spark.sql.catalog.postgresql", classOf[JDBCTableCatalog].getName)
.set("spark.sql.catalog.postgresql.url", db.getJdbcUrl(dockerIp,
externalPort))
+ .set("spark.sql.catalog.postgresql.pushDownTableSample", "true")
Review comment:
Yes. It requires the underlying support. `Sample` is not part of the
ANSI SQL standard so not all data sources support it.
--
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]