Hi Taotao,

Spark SQL doesn’t support index :).




On Aug 14, 2016, at 10:03 AM, Taotao.Li <charles.upboy@gmail.com> wrote:


hi, guys, does Spark SQL support indexes?  if so, how can I create an index on my temp table? if not, how can I handle some specific queries on a very large table? it would iterate all the table even though all I want is just a small piece of that table.

great thanks, 


___________________
Quant | Engineer | Boy
___________________