Skip navigation links

Package org.apache.drill.test.rowSet

Provides a set of tools to work with row sets when creating operator and "sub-operator" unit tests.

See: Description

Package org.apache.drill.test.rowSet Description

Provides a set of tools to work with row sets when creating operator and "sub-operator" unit tests. A row set is a batch of Drill vectors, often called a "record batch." However, a record batch, in Drill, means not just the data, but also an operator on that data. The classes here work with the data itself, and can be used to test implementations of things such as code generated classes and so on.

Drill defines a variety of record batch semantics, modeled here as distinct row set classes:

RowSetComparison
Used in tests to compare an "actual" row set against an "expected" row set. Does a complete check of row counts, types and values. If values are arrays (repeated), does a check of the entire array. Uses JUnit assertions to report comparison failures.
Skip navigation links

Copyright © 2021 The Apache Software Foundation. All rights reserved.