You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "chesnokoff (via GitHub)" <gi...@apache.org> on 2026/05/03 18:28:07 UTC
Re: [PR] IGNITE-28621 SQL: Add H2 map query details to system view and logs [ignite]
chesnokoff commented on code in PR #13091:
URL: https://github.com/apache/ignite/pull/13091#discussion_r3178565584
##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/SqlSystemViewsSelfTest.java:
##########
@@ -681,6 +681,50 @@ public void testRunningQueriesViewDuration() throws Exception {
}
}
+ /** Test map query flag in running queries system view. */
+ @Test
+ public void testMapQueryRunningQueriesView() throws Exception {
+ IgniteEx ignite = startGrids(2);
+
+ IgniteCache<Integer, String> cache = ignite.createCache(
+ new CacheConfiguration<Integer, String>(DEFAULT_CACHE_NAME)
+ .setCacheMode(CacheMode.PARTITIONED)
+ .setIndexedTypes(Integer.class, String.class)
+ );
+
+ for (int i = 0; i < 10; i++)
+ cache.put(i, Integer.toString(i));
+
+ awaitPartitionMapExchange();
+
+ String initiatorId = UUID.randomUUID().toString();
+
+ try (FieldsQueryCursor<List<?>> cursor = cache.query(new SqlFieldsQuery("SELECT * FROM String")
+ .setQueryInitiatorId(initiatorId)
+ .setPageSize(1))) {
+ cursor.iterator().next();
+
+ for (int i = 0; i < 2; i++) {
+ int nodeIdx = i;
Review Comment:
effective final variable
--
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-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org