You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/07/31 14:32:41 UTC

[GitHub] [iceberg] GrigorievNick opened a new issue #2902: Spark3 SessionCatalog DROP TABLE do not work and sparkSession.catalog.list/get do not see iceberg tables.

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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] GrigorievNick commented on issue #2902: Spark3 SessionCatalog DROP TABLE do not work and sparkSession.catalog.list/get do not see iceberg tables.

Posted by GitBox <gi...@apache.org>.
GrigorievNick commented on issue #2902:
URL: https://github.com/apache/iceberg/issues/2902#issuecomment-890389829


   May be this is same issue https://github.com/apache/iceberg/issues/2374?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org