GrigorievNick opened a new issue #2902:
URL: https://github.com/apache/iceberg/issues/2902
I sue spark 3.0.3 and iceberg 0.11.1.
Here is a code snippet to reproduce the issue.
```
sparkSession.sql(s"CREATE NAMESPACE IF NOT EXISTS hdl")
sparkSession.sql(s"DROP TABLE IF EXISTS $testTable") // Does not work
Directory(Path(testPath)).deleteRecursively()
sparkSession.sql(s"""CREATE TABLE $testTable (
| id bigint,
| data string,
| ts timestamp,
| idRange String)
|USING iceberg
|PARTITIONED BY (idRange, days(ts))
|TBLPROPERTIES
(write.format.default='orc')""".stripMargin)
```
if I will delete code `Directory(Path(testPath)).deleteRecursively()`,
application fail with exception, table already exist.
--
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]