Vladsz83 commented on code in PR #11467: URL: https://github.com/apache/ignite/pull/11467#discussion_r1734489121
########## modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/schema/IgniteSchema.java: ########## @@ -41,6 +41,9 @@ public class IgniteSchema extends AbstractSchema { /** */ private final Multimap<String, Function> funcMap = Multimaps.synchronizedMultimap(HashMultimap.create()); + /** */ + private final Map<String, String> viewMap = new ConcurrentHashMap<>(); Review Comment: For the tables and the functions we store interfaces like `Function` or `IgniteTable`. For views a string/sql/request instead. Could we similary keep something like `TableMacro`. If I'm right, function `register` would not be required in that case. -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org