Re: How to upsert data into dynamic columns in phoniex.

2015-06-23 Thread Thomas D'Silva
ct lastGCTime from eventlog fails with undefined column error. > > is there a bug? > > > > -- Original -- > From: "Thomas D'Silva";; > Send time: Tuesday, Jun 23, 2015 5:44 AM > To: "user"; > Subject: Re: How to u

Re: How to upsert data into dynamic columns in phoniex.

2015-06-23 Thread guxiaobo1982
fined column error. is there a bug? -- Original -- From: "Thomas D'Silva";; Send time: Tuesday, Jun 23, 2015 5:44 AM To: "user"; Subject: Re: How to upsert data into dynamic columns in phoniex. You can upsert rows by sepecifying

Re: How to upsert data into dynamic columns in phoniex.

2015-06-22 Thread Thomas D'Silva
You can upsert rows by sepecifying the column name and data type along with the table in the select. For the example in http://phoenix.apache.org/dynamic_columns.html UPSERT INTO TABLE (eventId, eventTime, lastGCTime INTEGER) VALUES(1, CURRENT_TIME(), 1234); On Sun, Jun 21, 2015 at 6:51 PM, guxia

How to upsert data into dynamic columns in phoniex.

2015-06-21 Thread guxiaobo1982
Hi, The official doc only gives an example for querying dynamic columns which are not defined at table creating time, but how can create the dynamic columns in the schema and get data upsert through the phoniex API? Thanks