Skip to content

Commit 9776399

Browse files
authored
Optimize test case and add sql script for multi-namespace test (#101)
* add DepentdentFilter and SingleColumnValueExcludeFilter * add singleColumnValueExcludeFilter and DependentColumnFilter; add test cases and optimize bufferedMutator test cases * merge obkv branch-1.3 and correct test case for the mulfi-cf bug * optimize test case and add sql to create self-defined database
1 parent 3520de0 commit 9776399

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/java/com/alipay/oceanbase/hbase/OHConnectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ public void testBufferedMutatorUseNameSpaceWithFlush() throws Exception {
414414

415415
// test Delete
416416
Delete del = new Delete(toBytes(key));
417-
// test without setting family, delete all
417+
del.deleteFamily(toBytes(family));
418418
bufferMutator.mutate(del);
419419
bufferMutator.flush();
420420

src/test/java/unit_test_db.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ CREATE TABLE `test_multi_cf$family_with_group3` (
204204
PRIMARY KEY (`K`, `Q`, `T`)
205205
) TABLEGROUP = test_multi_cf PARTITION BY KEY(`K`) PARTITIONS 3;
206206

207+
CREATE DATABASE IF NOT EXISTS `n1`;
207208
USE `n1`;
208209
CREATE TABLE `n1:test$family1` (
209210
`K` varbinary(1024) NOT NULL,

0 commit comments

Comments
 (0)