ddupg opened a new issue, #4308:
URL: https://github.com/apache/amoro/issues/4308

   ### Search before asking
   
   - [x] I have searched in the issues and found no similar issues.
   
   ### What would you like to be improved?
   
   `LanceDirectoryV1Catalog.listTables()` invokes `response.getTables()` in an 
`else` branch but does not use the returned value. The method invokes 
`response.getTables()` again when constructing the result.
   
   This extra call has no effect and makes the control flow unnecessarily 
verbose.
   
   ### How should we improve?
   
   Remove the redundant `else` branch and keep the existing null-response 
handling and final table-list conversion unchanged. This is a 
behavior-preserving code cleanup.
   
   ### Are you willing to submit PR?
   
   - [x] Yes, I am willing to submit a PR!
   
   ### Subtasks
   
   None.
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's Code of Conduct.


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

Reply via email to