Code Monkey home page Code Monkey logo

Comments (6)

penghuo avatar penghuo commented on August 23, 2024

Known Issue of Spark 3.4.1 upgrade

from opensearch-spark.

penghuo avatar penghuo commented on August 23, 2024

Issues with Spark 3.4.1

from opensearch-spark.

penghuo avatar penghuo commented on August 23, 2024

Issue with Spark 3.4.1 + Iceberg 1.5.2

  • DROP TABLE does works, env: Spark 3.4.1 + Iceberg 1.5.2
./bin/spark-sql --packages org.apache.iceberg:iceberg-spark-runtime-3.4_2.12:1.5.2\
    --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions \
    --conf spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog \
    --conf spark.sql.catalog.spark_catalog.type=hadoop \
    --conf spark.sql.catalog.spark_catalog.warehouse=$PWD/warehouse

spark-sql (default)> CREATE TABLE spark_catalog.default.t1 (age INT) USING iceberg;
Time taken: 1.288 seconds
spark-sql (default)> SELECT * FROM spark_catalog.default.t1;
Time taken: 0.704 seconds
spark-sql (default)> DROP TABLE spark_catalog.default.t1;
[TABLE_OR_VIEW_NOT_FOUND] The table or view `spark_catalog`.`default`.`t1` cannot be found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a schema, verify the current_schema() output, or qualify the name with the correct schema and catalog.
To tolerate the error on drop use DROP VIEW IF EXISTS or DROP TABLE IF EXISTS.

from opensearch-spark.

asuresh8 avatar asuresh8 commented on August 23, 2024

If you run DESCRIBE EXTENDED after creating the table, what shows up? I'm curious what the issue is here if there is some permission issue or the table is getting created in an unexpected catalog?

from opensearch-spark.

asuresh8 avatar asuresh8 commented on August 23, 2024

I tried to reproduce and wasn't able to. The table dropped just fine. Maybe you don't have permissions in directory you created the table in?

from opensearch-spark.

dai-chen avatar dai-chen commented on August 23, 2024

Will track in new issue #352.

from opensearch-spark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.