zstan commented on a change in pull request #672:
URL: https://github.com/apache/ignite-3/pull/672#discussion_r840432235



##########
File path: 
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/schema/SqlSchemaManagerImpl.java
##########
@@ -106,6 +111,18 @@ public IgniteTable tableById(UUID id) {
         return table;
     }
 
+    /** {@inheritDoc} */
+    @Override
+    public InternalSortedIndex indexById(UUID id, String idxName) {
+        InternalSortedIndex idx = indexManager.getIndexById(id);
+
+        if (idx == null) {
+            throw new IndexNotFoundException(idxName, id);

Review comment:
       refactored here.




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