Views are not supported yet.  Its not currently on the near term roadmap,
but that can change if there is sufficient demand or someone in the
community is interested in implementing them.  I do not think it would be
very hard.

Michael

On Sun, Sep 28, 2014 at 11:59 AM, Du Li <l...@yahoo-inc.com.invalid> wrote:

>
>  Can anybody confirm whether or not view is currently supported in spark?
> I found “create view translate” in the blacklist of
> HiveCompatibilitySuite.scala and also the following scenario threw
> NullPointerException on beeline/thriftserver (1.1.0). Any plan to support
> it soon?
>
>  > create table src(k string, v string);
>
> > load data local inpath
> '/home/y/share/yspark/examples/src/main/resources/kv1.txt' into table src;
>
> > create view kv as select k, v from src;
>
> > select * from kv;
>
> Error: java.lang.NullPointerException (state=,code=0)
>

Reply via email to