diff --git a/OLake-Go-Iceberg-Integration.md b/OLake-Go-Iceberg-Integration.md index da1785d..9b91e81 100644 --- a/OLake-Go-Iceberg-Integration.md +++ b/OLake-Go-Iceberg-Integration.md @@ -147,9 +147,31 @@ On subsequent runs, pass the saved state file to continue syncing changes from t ## Query your data -See below how to query the data in Iceberg using Apache Spark. +Verify that your data is accessible using a query engine that supports Apache Iceberg tables, such as Apache Spark. + +List the tables in the `postgres_main_public` namespace: + +image + +The output shows the available table names; here, the table is `sample_data`. + +Inspect the table's columns and data types: + +image + +The output lists each column and its Spark data type. + +Check the Iceberg table's storage location in SeaweedFS: + +image + +The `Location` row shows where the table's Iceberg data is stored: +`s3://warehouse/postgres_main_public/sample_data`. + +Read a few records from the table: + +image -image ## See also