Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cannot query Iceberg table "NoSuchNamespaceException: Namespace does not exist: tables" #579

Open
@jovezhong

Description

@jovezhong

Glad to see the new version can write/read Iceberg.

I configured one on GCP using Apache Gravitino as Iceberg Rest Catalog and GCS over S3 XML API. It works with SparkSQL. The sling env.yaml is like this

GCP_ICEBERG:type:icebergcatalog_type:restcatalog_name:iceberg_catalogschema:iceberg_rest_demorest_uri:http://gravitino.demo.timeplus.com:9001/iceberg/rest_warehouse:gs3://tpice/gravitino/gcs_as_s3rest_oauth_client_id:..rest_oauth_client_secret:..s3_region:autos3_endpoint:https://storage.googleapis.com

I can discover the table via IRC

sling conns discover GCP_ICEBERG+---+----------+-------------------+------+-------+| # | DATABASE | SCHEMA            | NAME | TYPE  |+---+----------+-------------------+------+-------+| 1 | iceberg  | iceberg_rest_demo | test | table |+---+----------+-------------------+------+-------+

But I cannot query it via SQL

sling run --src-conn GCP_ICEBERG --src-stream "SELECT * FROM iceberg_catalog.iceberg_rest_demo.test" --stdout7:35PM INF Sling CLI | https://slingdata.io7:35PM INF connecting to source database (iceberg)7:35PM INF reading from source database7:35PM INF execution failedfatal:~ Failed to load table .NoSuchNamespaceException: Namespace does not exist: tables

I tried differentFROM, using the catalog_name or schema or the hardcoded iceberg, always got this "Namespace does not exist: tables"

Any clue? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp