Geoffrey Jacoby created PHOENIX-6631:
----------------------------------------
Summary: Generic RandomDataSupplier for PhoenixTestBuilder
Key: PHOENIX-6631
URL: https://issues.apache.org/jira/browse/PHOENIX-6631
Project: Phoenix
Issue Type: New Feature
Reporter: Geoffrey Jacoby
Assignee: Geoffrey Jacoby
The PhoenixTestBuilder gives a code-based way of generating tables and
populating them for integration tests. However it currently requires each test
to generate a hard-coded list of values to be upserted.
While working on an external project (eventually intended for contribution to
phoenix-connectors) using the PhoenixTestBuilder, I wanted a generic data
supplier that generated random data each time, and I needed to be able to grab
the values and row keys created to compare against later.
The result seems generally useful enough to go into Phoenix itself for other
tests to use.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)