Generating column statistics for Iceberg tables - Amazon Glue
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Generating column statistics for Iceberg tables

Follow these steps to configure a schedule for generating statistics in the Data Catalog using Amazon Glue console or Amazon CLI or the or run the StartColumnStatisticsTaskRun operation.

To generate column statistics
  1. Sign in to the Amazon Glue console at https://console.amazonaws.cn/glue/.

  2. Choose Tables under Data Catalog .

  3. Choose an Iceberg table from the list.

  4. Choose Column statistics, Generate on demand,under Actions menu.

    You can also choose Generate statistics button under Column statistics tab in the lower section of the Tables page.

  5. On the Generate statistics page, provide the statistics generation details. Follow steps 5-7 in the Generating column statistics section to configure statistics generation for Iceberg tables.

    Note

    Sampling option is not available for Iceberg tables.

    Amazon Glue calculates the number of distinct values for each column of the Iceberg table to a new Puffin file committed to the specified snapshot ID in your Amazon S3 location.