You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "yaooqinn (via GitHub)" <gi...@apache.org> on 2023/03/15 08:03:29 UTC

[GitHub] [kyuubi] yaooqinn opened a new issue, #4522: [Bug] The `use:catalog` and `use:database` execution order seems not guaranteed

yaooqinn opened a new issue, #4522:
URL: https://github.com/apache/kyuubi/issues/4522

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   ```
       normalizedConf.foreach {
         case ("use:catalog", catalog) =>
           try {
             SparkCatalogShim().setCurrentCatalog(spark, catalog)
           } catch {
             case e if e.getMessage.contains("Cannot find catalog plugin class for catalog") =>
               warn(e.getMessage())
           }
         case ("use:database", database) =>
           try {
             SparkCatalogShim().setCurrentDatabase(spark, database)
           } catch {
             case e
                 if database == "default" && e.getMessage != null &&
                   e.getMessage.contains("not found") =>
           }
         case (key, value) => setModifiableConfig(key, value)
       }
   ```
   
   as normalizedConf does not preserve the insertion order
   
   ### Affects Version(s)
   
   1.7.0
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
   - [ ] No. I cannot submit a PR at this time.


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [kyuubi] pan3793 closed issue #4522: [Bug] The `use:catalog` and `use:database` execution order seems not guaranteed

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed issue #4522: [Bug] The `use:catalog` and `use:database` execution order seems not guaranteed
URL: https://github.com/apache/kyuubi/issues/4522


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [kyuubi] cxzl25 commented on issue #4522: [Bug] The `use:catalog` and `use:database` execution order seems not guaranteed

Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 commented on issue #4522:
URL: https://github.com/apache/kyuubi/issues/4522#issuecomment-1490228623

   Can you help fix this? @lsm1 


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [kyuubi] lsm1 commented on issue #4522: [Bug] The `use:catalog` and `use:database` execution order seems not guaranteed

Posted by "lsm1 (via GitHub)" <gi...@apache.org>.
lsm1 commented on issue #4522:
URL: https://github.com/apache/kyuubi/issues/4522#issuecomment-1491178398

   Sure, I can try 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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org