mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-25 22:40:44 +01:00
Updated OLake Go Iceberg Integration (markdown)
1 parent
71252b11d5
commit
4a38ee3c3d
1 file changed
+24
-2
@@ -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:
|
||||
|
||||
<img width="566" height="65" alt="image" src="https://github.com/user-attachments/assets/288e8739-78c2-44c2-8694-527204656d31" />
|
||||
|
||||
The output shows the available table names; here, the table is `sample_data`.
|
||||
|
||||
Inspect the table's columns and data types:
|
||||
|
||||
<img width="566" height="145" alt="image" src="https://github.com/user-attachments/assets/80e91889-0bc1-487b-8007-820f7285fccf" />
|
||||
|
||||
The output lists each column and its Spark data type.
|
||||
|
||||
Check the Iceberg table's storage location in SeaweedFS:
|
||||
|
||||
<img width="567" height="87" alt="image" src="https://github.com/user-attachments/assets/390c1a9c-51d6-4b2d-b828-b0daaae558c5" />
|
||||
|
||||
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:
|
||||
|
||||
<img width="564" height="119" alt="image" src="https://github.com/user-attachments/assets/a388ee90-8ab9-4ddc-9015-322f81f3ff60" />
|
||||
|
||||
<img width="592" height="611" alt="image" src="https://github.com/user-attachments/assets/12d0e88c-7607-43b6-92ff-8e5bc5c7bd9d" />
|
||||
|
||||
## See also
|
||||
|
||||
|
||||
Reference in new issue
Block a user