timothy65535 commented on issue #1229:
URL: 
https://github.com/apache/incubator-kyuubi/issues/1229#issuecomment-942902216


   > The error gone in my laptop if I change 
`assert(connection.isInstanceOf[KyuubiConnection])` to 
`assert(connection.getClass.name === 
"org.apache.kyuubi.jdbc.hive.KyuubiConnection")` to cut the ref of shaded 
classes, please have a try.
   
   You are right, had tried.
   ```
   assert(connection.getClass.getName === 
"org.apache.kyuubi.jdbc.hive.KyuubiConnection")
   assert(metaData.getClass.getName === 
"org.apache.kyuubi.jdbc.hive.HiveDatabaseMetaData")
   ```
   


-- 
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: dev-unsubscr...@kyuubi.apache.org

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


Reply via email to