You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/07/15 06:59:14 UTC

[GitHub] [iceberg] haormj opened a new issue #2825: JdbcCatalog createNamespace is not supported

haormj opened a new issue #2825:
URL: https://github.com/apache/iceberg/issues/2825


   when use JdbcCatalog in flink, and use flink sql client
   
   ```
   [ERROR] Could not execute SQL statement. Reason:
   java.lang.UnsupportedOperationException: Cannot create namespace default: createNamespace is not supported
   ```
   
   https://github.com/apache/iceberg/blob/b3fb81a19e9632608b2bd4cdede4bbfcbd26bc8e/core/src/main/java/org/apache/iceberg/jdbc/JdbcCatalog.java#L254-L257


-- 
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


[GitHub] [iceberg] haormj edited a comment on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
haormj edited a comment on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-880515255


   @kbendick thinks for your reply
   
   I use flink SQL client to query data from jdbc catalog, When I open SQL client with jdbc catalog, it will automate create default namespace


-- 
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


[GitHub] [iceberg] kbendick commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
kbendick commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-880484067


   What query are you running that’s generating this exception?
   
   Looking at your stack trace, it says the namespace is “default”. Usually, I thought that didn’t need to be created (but I might be thinking of Spark).


-- 
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


[GitHub] [iceberg] cassiemudan commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
cassiemudan commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-957016887


   I have the same problem with @haormj. Are we able to create jdbc catalog using flink sql client? It automatically create the namespace and throws the not supported exception.


-- 
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


[GitHub] [iceberg] haormj commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
haormj commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-880448282


   @ismailsimsek @openinx how should we fix it?


-- 
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


[GitHub] [iceberg] haormj commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
haormj commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-880515255


   @kbendick thinks for your reply
   
   I use flink SQL client to query data from jdbc catalog


-- 
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


[GitHub] [iceberg] cassiemudan commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
cassiemudan commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-957016887


   I have the same problem with @haormj. Are we able to create jdbc catalog using flink sql client? It automatically create the namespace and throws the not supported exception.


-- 
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


[GitHub] [iceberg] cassiemudan commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
cassiemudan commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-957016887


   I have the same problem with @haormj. Are we able to create jdbc catalog using flink sql client? It automatically create the namespace and throws the not supported exception.


-- 
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


[GitHub] [iceberg] nssalian commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
nssalian commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-958178806


   @cassiemudan that's being worked on #3275 


-- 
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


[GitHub] [iceberg] kbendick commented on issue #2825: JdbcCatalog createNamespace is not supported

Posted by GitBox <gi...@apache.org>.
kbendick commented on issue #2825:
URL: https://github.com/apache/iceberg/issues/2825#issuecomment-880482774


   If you look at the original PR for the JDBC catalog, there might be a reference in there as to why createNamespace is not explicitly supported.
   
   I think that namespaces are implicit, and the namespace is created by simply adding a table with a / in it (if you look at the code for dropNamespace or listNamespace, you’ll see what I mean).


-- 
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