We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老版本的hbase count时可以用不存在的列count,结果是包含该行的。 较新版本的hbase count时用不存在的列count,结果是0。
@Test public void testCount_NonExistColumn() throws Throwable { LongColumnInterpreter columnInterpreter = new LongColumnInterpreter(); AggregationClient aggregationClient = new AggregationClient( Config.getConfiguration()); Scan scan = new Scan(); scan.addColumn(ColumnFamilyName, QName_NotExistColumn); Long count = aggregationClient.rowCount(TableNameBytes, columnInterpreter, scan); // Assert.assertTrue(count.longValue() == 4); Assert.assertTrue(count.longValue() == 0); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
老版本的hbase count时可以用不存在的列count,结果是包含该行的。
较新版本的hbase count时用不存在的列count,结果是0。
The text was updated successfully, but these errors were encountered: