[
https://issues.apache.org/jira/browse/HUDI-4334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sagar Sumit closed HUDI-4334.
-----------------------------
Fix Version/s: 0.12.0
Resolution: Fixed
> Hudi Spark SQL commands won't exist if SparkRDDWriteClient not close
> --------------------------------------------------------------------
>
> Key: HUDI-4334
> URL: https://issues.apache.org/jira/browse/HUDI-4334
> Project: Apache Hudi
> Issue Type: Bug
> Components: spark-sql
> Reporter: Teng Huo
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.12.0
>
>
> In
> CreateSavepointsProcedure.scala/DeleteSavepointsProcedure.scala/RollbackSavepointsProcedure.scala,
> there is a SparkRDDWriteClient was created in method call but never close,
> it won't cause issue in Spark-SQL command line, but if we run commands like
> examples showing below in a Spark application, it won't exist
> {code:scala}
> spark.sql(s"""call create_savepoints('$tableName', '$commitTime')""")
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)