You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Geoffrey Jacoby (Jira)" <ji...@apache.org> on 2022/01/25 18:53:00 UTC
[jira] [Created] (PHOENIX-6631) Generic RandomDataSupplier for PhoenixTestBuilder
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)