Specifying a cells version

2016-09-09 Thread Paul Jones
I see that when I create a table using phoenix I can specify how many versions of a cell I want to keep. Is it possible to specify a version value when I perform an upsert? I am receiving data in order from the customer but would like to be able to process it out of order but specify the version

Re: Phoenix spark and dynamic columns

2016-07-27 Thread Paul Jones
/blob/master/phoenix-spark/src/main/scala/org/apache/phoenix/spark/ConfigurationUtil.scala#L25-L38 [4] https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/util/PhoenixConfigurationUtil.java#L259 Thanks, Josh On Mon, Jul 25, 2016 at 5:49 PM, Paul J

Phoenix spark and dynamic columns

2016-07-25 Thread Paul Jones
Is it possible to save a dataframe into a table where the columns are dynamic? For instance, I have a loaded a CSV file with header (key, cat1, cat2) into a dataframe. All values are strings. I created a table like this: create table mytable ("KEY" varchar not null primary key); The code is as f