You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2021/06/04 08:12:19 UTC
[iotdb] 04/04: Fix bug in disable align it (#3333)
This is an automated email from the ASF dual-hosted git repository.
xiangweiwei pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e597ab91bb8a31b19b4886dbacd83d2a396ad4ba
Author: Haimei Guo <68...@users.noreply.github.com>
AuthorDate: Fri Jun 4 15:59:40 2021 +0800
Fix bug in disable align it (#3333)
(cherry picked from commit 22d8e0d5d19e87431d6bc41f66dbe7572ef09719)
---
.../test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java
index f96648d..d953d04 100644
--- a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java
+++ b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBDisableAlignIT.java
@@ -410,7 +410,7 @@ public class IoTDBDisableAlignIT {
String columnName = resultSetMetaData.getColumnName(i);
Integer typeIndex = expectedHeaderToTypeIndexMap.get(columnName);
if (typeIndex != null) {
- Assert.assertEquals(expectedTypes[typeIndex], resultSetMetaData.getColumnType(1 + i / 2));
+ Assert.assertEquals(expectedTypes[typeIndex], resultSetMetaData.getColumnType(i));
}
actualIndexToExpectedIndexList.add(expectedHeaderToColumnIndexMap.get(columnName));
}