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



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/externalize/RelJsonReader.java
##########
@@ -142,8 +144,17 @@ public RelTraitSet getTraitSet() {
         /** {@inheritDoc} */
         @Override
         public RelOptTable getTable(String table) {
-            List<String> list = getStringList(table);
-            return relOptSchema.getTableForMember(list);
+            throw new AssertionError();

Review comment:
       ```suggestion
               throw new AssertionError("Unexpected method was called.");
   ```
   I understand that no additional info is appeared, but it`s just a little bit 
pretty, but it`s up to you.




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