Skip to content

Difficult to track/debug export info #1824

Closed

Description

@DimensionWieldr

It is difficult to debug issues with exports because information is scattered across various system tables and storage locations.

For example, to see parquet files for a certain table on S3, I need to know its storage location and use something like the following to list them (applies to metadata.json files as well where **.parquet needs to be changed to **.metadata.json:

SELECT _path
FROM s3('s3://protvjoe-1lfyj7kp-iceberg/default/destination12**.parquet', One)
ORDER BY _path ASC

And for information about each written iceberg snapshot, I query system.iceberg_history:

SELECT *
FROM system.iceberg_history
WHERE `table` = 'default.destination12'
ORDER BY made_current_at ASC

For per-partition info (export status, source replica, etc.):

SELECT *
FROM system.replicated_partition_exports
WHERE (source_database = 'default') AND (source_table = 'source14') AND (destination_database = 'export-test') AND (destination_table = 'default.destination14')
ORDER BY partition_id ASC

And there's also system.part_log.

The point is, it is confusing for users to debug anything related to exports. It feels a bit like a scavenger hunt for information. I'm not sure what the best solution would be for this, but it would be nice to expose table, parquet, and metadata file locations in some way that doesn't flood system tables with too much info, but also doesn't involve guessing if there was an issue with storage setup, ice version, or something else by counting parquet files.

Maybe someone has an idea about how to better organize information?

Activity

  1. changed the title [-]Difficult to track/debug exports[/-] [+]Difficult to track/debug export info[/+] on May 21, 2026
  2. added
    roadmap
    on Jun 7, 2026
  3. DimensionWieldr commented on Jul 17, 2026

    @DimensionWieldr
    CollaboratorAuthor

    Partly addressed by #1832.

    Would be nice to have the paths display full endpoint URIs so it becomes easy to spot different replicas writing to different disk locations, which is a real issue we ran into on ACM.

    Will need a followup PR.

  4. arthurpassos commented on Nov 9, 2026

    @arthurpassos
    Collaborator

    This has been addressed, except for the follow up on:

    Would be nice to have the paths display full endpoint URIs so it becomes easy to spot different replicas writing to different disk locations, which is a real issue we ran into on ACM.

    I think we can close this issue until this becomes a priority / customer request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

antalyaantalya-26.3enhancementroadmap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions