Shekharrajak opened a new pull request, #2122:
URL: https://github.com/apache/iceberg-rust/pull/2122

   ## Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Closes https://github.com/apache/iceberg-rust/issues/1159
   
   ## What changes are included in this PR?
   
    Added SqlCatalogBuilder
   
   ## Are these changes tested?
   
   unit tests   
   and local testing : 
   
   ```
    cat ~/.icebergrc 
   
     # SQLite (file-based - persistent)
     [[catalogs]]
     name = "local"
     type = "sql"
     [catalogs.config]
     uri = "sqlite:/tmp/iceberg-catalog.db"
     warehouse = "/tmp/iceberg-warehouse"
   
     Other database examples:
   
     # PostgreSQL
     [[catalogs]]
     name = "pg_catalog"
     type = "sql"
     [catalogs.config]
     uri = "postgresql://user:pass@localhost:5432/iceberg"
     warehouse = "s3://my-bucket/warehouse"
   
     # MySQL
     [[catalogs]]
     name = "mysql_catalog"
     type = "sql"
     [catalogs.config]
     uri = "mysql://user:pass@localhost:3306/iceberg"
     warehouse = "/data/warehouse"
   
   
   # run playground : 
   
   $ ./target/release/iceberg-playground
   
   to build the release : 
   
   cargo build -p iceberg-playground --release
   
   create db : sqlite3 /tmp/iceberg-catalog.db "SELECT 1;" 
   
   create config : 
   
     cat > ~/.icebergrc << 'EOF'
     [[catalogs]]
     name = "local"
     type = "sql"
     [catalogs.config]
     uri = "sqlite:/tmp/iceberg-catalog.db"
     warehouse = "/tmp/iceberg-warehouse"
     EOF
   
   Run in playground: 
   
   ./target/release/iceberg-playground
   
   ```
   <img width="959" height="433" alt="Screenshot 2026-02-07 at 1 01 32 PM" 
src="https://github.com/user-attachments/assets/bfc1e593-9671-4c1c-a1f6-3df5c05d2fb1";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to