I am working with Apache Phoenix and I am trying to generate a bunch of test data so I can measure performance. I was wondering if there is a way to insert multiple rows using one UPSERT statement.
I want a Phoenix equivalent to this Oracle SQL statement:
insert into test_table (col_a,col_b)
select dbms_random.value(1,10), dbms_random.value(1,10)
from dual
connect by level <= 10;
If not I have a few more options like using a csv file or creating a program to do multiple UPSERTs for me.