FANNG1 commented on code in PR #3933:
URL: https://github.com/apache/gravitino/pull/3933#discussion_r1699858364


##########
spark-connector/v3.3/spark/build.gradle.kts:
##########
@@ -144,10 +144,14 @@ tasks.test {
 
   val skipITs = project.hasProperty("skipITs")
   val skipSparkITs = project.hasProperty("skipSparkITs")
+  val skipSparkSQLITs = project.hasProperty("skipSparkSQLITs")

Review Comment:
   I tried to define a specific task to run the test, but failed to 
`initIntegrationTest`.  So I'd like to define a `enableSparkSQLTests` flag to 
enable the test explicitly, WDYT?
   
   ```
   tasks.register("testSQL") {
     dependsOn("compileTestJava")
   
     doLast {
       javaexec {
         
mainClass.set("org.apache.gravitino.spark.connector.integration.test.sql.SparkSQLRegressionTest33")
         classpath = sourceSets["test"].runtimeClasspath
         environment("GRAVITINO_CI_HIVE_DOCKER_IMAGE", 
"datastrato/gravitino-ci-hive:0.1.13")
        // failed to init initIntegrationTest in javaexec
         val init = project.extra.get("initIntegrationTest") as (Test) -> Unit
         init(this)
       }
     }
   }
   ```



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