You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "zeroshade (via GitHub)" <gi...@apache.org> on 2024/02/14 16:31:05 UTC

[I] Config File Handling [iceberg-go]

zeroshade opened a new issue, #62:
URL: https://github.com/apache/iceberg-go/issues/62

   ### Feature Request / Improvement
   
   Similar to `pyiceberg`'s [config file](https://py.iceberg.apache.org/configuration/) we should add handling for a config file to make it easier to manipulate the available options for the CLI and library usage.


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Config File Handling [iceberg-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on issue #62:
URL: https://github.com/apache/iceberg-go/issues/62#issuecomment-2361859099

   Something similar or nearly identical to `pyiceberg`'s config is pretty much what I was thinking, that way it makes it easier to utilize and swap between them.
   
   As far as the path, we should follow `pyiceberg`'s lead and make it a "dot file" by using a preceding . to hide it
   
   e.g. `~/.iceberg-go.yaml`
   
   We could also potentially try to coordinate with pyiceberg / other iceberg implementations to standardize a config file name?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Config File Handling [iceberg-go]

Posted by "alex-kar (via GitHub)" <gi...@apache.org>.
alex-kar commented on issue #62:
URL: https://github.com/apache/iceberg-go/issues/62#issuecomment-2359890609

   @zeroshade What's the initial structure for configuration file would look like?
   Something similar to `pyiceberg`'s config:
   ```
   catalog:
     default:
       catalog: rest
       uri: http://localhost:8181/
       output: text
       credential: client-id:client-secret
       warehouse: catalog_name
   
     custom-catalog:
       catalog: rest
       uri: http://localhost:8181/
       output: text
       credential: client-id:client-secret
       warehouse: catalog_name
   ```
   
   What about path? `~/iceberg-go.yaml`?
   
   I'd like to work on this, but I need a bit more clarity on the expected config structure.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Config File Handling [iceberg-go]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra closed issue #62: Config File Handling
URL: https://github.com/apache/iceberg-go/issues/62


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org