Does phoenix spark support arbitrary SELECT statement?

2015-12-15 Thread Li Gao
Hi community, Does Phoenix Spark support arbitrary SELECT statements for generating DF or RDD? >From this reading: https://phoenix.apache.org/phoenix_spark.html I am not sure how to do that. Thanks, Li

Re: Does phoenix spark support arbitrary SELECT statement?

2015-12-15 Thread Josh Mahonin
Hi Li, When using the DataFrame integration, it supports arbitrary SELECT statements. Column pruning and predicate filtering is pushed down to Phoenix, and aggregate functions are executed within Spark. When using RDDs directly, you can specify a table name, columns and an optional WHERE

Re: Does phoenix spark support arbitrary SELECT statement?

2015-12-15 Thread Li Gao
Thanks Josh, I will take a look at the link. - Li On Tue, Dec 15, 2015 at 3:07 PM, Josh Mahonin wrote: > Hi Li, > > When using the DataFrame integration, it supports arbitrary SELECT > statements. Column pruning and predicate filtering is pushed down to > Phoenix, and