Skip to main content

Iceberg Diagnostics Tool

Overview

The Iceberg Table Analysis CLI Tool evaluates Iceberg tables to identify how Upsolver optimizations can enhance efficiency.
It presents a side-by-side comparison of current metrics against potential improvements in scan durations, file counts, and file sizes, providing a straightforward assessment of optimization opportunities.

Installation

iceberg-diag can be installed using either Brew or PIP, as detailed below:

Using PIP

Prerequisites

  • Python 3.8 or higher: Verify Python's installation:
    python3 --version
    

To install iceberg-diag using PIP, ensure you have the latest version of pip:

pip install --upgrade pip

Then, install the package with pip

pip install iceberg-diag

Using Brew

Execute the following commands to install iceberg-diag via Brew:

brew tap upsolver/iceberg-diag
brew install iceberg-diag

Usage Instructions

iceberg-diag [options]

Command-Line Options

  • -h, --help: Display the help message and exit.
  • --profile PROFILE: Set the AWS credentials profile for the session, defaults to the environment's current settings.
  • --region REGION: Set the AWS region for operations, defaults to the specified profile's default region.
  • --database DATABASE: Set the database name, will list all available iceberg tables if no --table-name provided.
  • --table-name TABLE_NAME: Enter the table name or a glob pattern (e.g., '*', 'tbl_*').
  • --remote: Enable remote diagnostics by sending data to the Upsolver API for processing.
    Provides more detailed analytics and includes information about file size reducations.
  • -v, --verbose: Enable verbose logging

Usage

  1. Displaying help information:

     iceberg-diag --help
    
  2. Listing all available databases in profile:

    iceberg-diag --profile <profile>
    
  3. Listing all available iceberg tables in a given database:

    iceberg-diag --profile <profile> --database <database>
    
  4. Running diagnostics on a specific table in a specific AWS profile and region (completely locally):

     iceberg-diag --profile <profile> --region <region> --database <database> --table-name '*'
    
  5. Running diagnostics using remote option

    iceberg-diag --profile <profile> --database <database> --table-name 'prod_*' --remote
    

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iceberg_diag-0.1.5.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iceberg_diag-0.1.5-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file iceberg_diag-0.1.5.tar.gz.

File metadata

  • Download URL: iceberg_diag-0.1.5.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.6 Darwin/24.1.0

File hashes

Hashes for iceberg_diag-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fd736e90b165ef3093d818244f92a6b38a418de31cd57846d7d97915fb934663
MD5 a6f91ed46f95d77562838fb116f0d1d8
BLAKE2b-256 2a44ad8f9bc590f521ceb4b520b1431f324441fb24547c1f3999216c90511205

See more details on using hashes here.

File details

Details for the file iceberg_diag-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: iceberg_diag-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.6 Darwin/24.1.0

File hashes

Hashes for iceberg_diag-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cd289244ab7493d290808cd20a67b0434fd730b17fa2700931e51b6d723fcdd3
MD5 cf7503b6ecb1958b940e95a64c2076df
BLAKE2b-256 3065beeeb321faaa2a060703e2ab7d849c6c2fdab750e3b53264296fe94ab6ff

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page