You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "dataageek (via GitHub)" <gi...@apache.org> on 2025/01/15 12:35:15 UTC

[I] [FEATURE] Support `testConnection` Without Catalog Name in Gravitino [gravitino]

dataageek opened a new issue, #6260:
URL: https://github.com/apache/gravitino/issues/6260

   ### Describe the feature
   
   ### Description:
   The `testConnection` method currently requires a catalog name, as it depends on Metalake, which enforces this. However, there are cases where we need to validate the connection using only `provider` and `properties` before creating a catalog. This limitation makes it difficult to test connections early in the workflow.
   
   
   
   
   ### Motivation
   
   - Enables connection testing before catalog creation.
   - Simplifies workflows and enhances flexibility. 
   
   ### Describe the solution
   
   Allow `testConnection` to work with just `provider` and `properties`, making the catalog name optional.
   
   ### Additional context
   
   _No response_


-- 
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: commits-unsubscribe@gravitino.apache.org.apache.org

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


Re: [I] [FEATURE] Support `testConnection` Without Catalog Name in Gravitino [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed issue #6260: [FEATURE] Support `testConnection` Without Catalog Name in Gravitino
URL: https://github.com/apache/gravitino/issues/6260


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [I] [FEATURE] Support `testConnection` Without Catalog Name in Gravitino [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on issue #6260:
URL: https://github.com/apache/gravitino/issues/6260#issuecomment-2638800036

   @mchades can you please take a look at this requirement?


-- 
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: commits-unsubscribe@gravitino.apache.org

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


Re: [I] [FEATURE] Support `testConnection` Without Catalog Name in Gravitino [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on issue #6260:
URL: https://github.com/apache/gravitino/issues/6260#issuecomment-2638868695

   In actuality, the original intention behind the design of the `testConnection` interface was to validate the usability of the parameters in the `createCatalog` interface, plz see #4107. 
   
   Furthermore, to my knowledge, some users have already employed it as a preliminary validation interface for creating catalogs in the UI. If we were to make the catalog name optional, it would compromise the compatibility of this interface. Therefore, I do not recommend making such a modification.
   
   I believe that utilizing a randomly generated catalog name when invoking the `testConnection` interface can still achieve the desired outcome you described, and there is no necessity for alterations to the interface.


-- 
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: commits-unsubscribe@gravitino.apache.org

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