You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2019/03/05 07:16:06 UTC
[ignite] branch master updated: IGNITE-11446: SQL: Renamed
CACHE_GROUPS_IO to LOCAL_CACHE_GROUPS_IO. This closes #6221.
This is an automated email from the ASF dual-hosted git repository.
vozerov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 285be9a IGNITE-11446: SQL: Renamed CACHE_GROUPS_IO to LOCAL_CACHE_GROUPS_IO. This closes #6221.
285be9a is described below
commit 285be9a06a71825e67113b9e2fb79d8feb6f4a75
Author: Yuriy Gerzhedovich <yg...@gridgain.com>
AuthorDate: Tue Mar 5 10:15:59 2019 +0300
IGNITE-11446: SQL: Renamed CACHE_GROUPS_IO to LOCAL_CACHE_GROUPS_IO. This closes #6221.
---
.../query/h2/sys/view/SqlSystemViewCacheGroupsIOStatistics.java | 2 +-
.../ignite/internal/processors/query/SqlSystemViewsSelfTest.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewCacheGroupsIOStatistics.java b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewCacheGroupsIOStatistics.java
index 5dfe957..a2e0cfb 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewCacheGroupsIOStatistics.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewCacheGroupsIOStatistics.java
@@ -40,7 +40,7 @@ public class SqlSystemViewCacheGroupsIOStatistics extends SqlAbstractLocalSystem
* @param ctx Grid context.
*/
public SqlSystemViewCacheGroupsIOStatistics(GridKernalContext ctx) {
- super("CACHE_GROUPS_IO", "IO statistics for cache groups", ctx, "GROUP_NAME",
+ super("LOCAL_CACHE_GROUPS_IO", "Local node IO statistics for cache groups", ctx, "GROUP_NAME",
newColumn("GROUP_ID", Value.INT),
newColumn("GROUP_NAME"),
newColumn("PHYSICAL_READS", Value.LONG),
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/SqlSystemViewsSelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/SqlSystemViewsSelfTest.java
index a34a3ea..456838c 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/SqlSystemViewsSelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/SqlSystemViewsSelfTest.java
@@ -761,7 +761,7 @@ public class SqlSystemViewsSelfTest extends AbstractIndexingCommonTest {
for (int i = 0; i < 500; i++)
execSql("INSERT INTO DEFAULT.TST(id, name, age) VALUES (" + i + ",'name-" + i + "'," + i + 1 + ")");
- String sql1 = "SELECT GROUP_ID, GROUP_NAME, PHYSICAL_READS, LOGICAL_READS FROM IGNITE.CACHE_GROUPS_IO";
+ String sql1 = "SELECT GROUP_ID, GROUP_NAME, PHYSICAL_READS, LOGICAL_READS FROM IGNITE.LOCAL_CACHE_GROUPS_IO";
List<List<?>> res1 = execSql(sql1);
@@ -775,7 +775,7 @@ public class SqlSystemViewsSelfTest extends AbstractIndexingCommonTest {
assertTrue(map.containsKey(DEFAULT_CACHE_NAME));
- sql1 = "SELECT GROUP_ID, GROUP_NAME, PHYSICAL_READS, LOGICAL_READS FROM IGNITE.CACHE_GROUPS_IO WHERE " +
+ sql1 = "SELECT GROUP_ID, GROUP_NAME, PHYSICAL_READS, LOGICAL_READS FROM IGNITE.LOCAL_CACHE_GROUPS_IO WHERE " +
"GROUP_NAME='SQL_default_TST'";
assertEquals(1, execSql(sql1).size());