pan3793 commented on PR #4219:
URL: https://github.com/apache/kyuubi/pull/4219#issuecomment-1411386931

   After second thought, I think we can totally remove the current workaround, 
and just invert the pattern match' branch order in 
`CatalogShim_v3_0#getColumnsByCatalog`
   
   ```patch
   - catalog match {
   -   case builtin if builtin.name() == SESSION_CATALOG =>
   -     super.getColumnsByCatalog(...)
   -   case tc: TableCatalog =>
   -     ...
   - }
   
   + catalog match {
   +   case tc: TableCatalog =>
   +     ...
   +   case builtin if builtin.name() == SESSION_CATALOG =>
   +     super.getColumnsByCatalog(...)
   + }
   ```
   
   Would you please try this way? @nousot-cloud-guy 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to