phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Rodionov <vladrodio...@gmail.com>
Subject Can't load .csv file in 3.0 (At least one column must be provided for upserts)
Date Fri, 16 May 2014 17:48:27 GMT
This worked in 2.x. It seems not working in 3.0

./psql.py -t ods.events localhost ods_flow_events.csv
csv columns from database.
java.lang.IllegalArgumentException: At least one column must be provided
for upserts
    at
org.apache.phoenix.util.QueryUtil.constructUpsertStatement(QueryUtil.java:67)
    at
org.apache.phoenix.util.csv.CsvUpsertExecutor.create(CsvUpsertExecutor.java:91)
    at
org.apache.phoenix.util.CSVCommonsLoader.upsert(CSVCommonsLoader.java:227)
    at
org.apache.phoenix.util.CSVCommonsLoader.upsert(CSVCommonsLoader.java:196)
    at org.apache.phoenix.util.PhoenixRuntime.main(PhoenixRuntime.java:208)

.csv file does not have any column info, of course.

-Vladimir

Mime
View raw message