Thanks Tobias,

I also found this: https://issues.apache.org/jira/browse/SPARK-3299

Looks like it's been working on.

Jianshi

On Mon, Sep 8, 2014 at 9:28 AM, Tobias Pfeiffer <[email protected]> wrote:

> Hi,
>
> On Sat, Sep 6, 2014 at 1:40 AM, Jianshi Huang <[email protected]>
> wrote:
>
>> Err... there's no such feature?
>>
>
> The problem is that the SQLContext's `catalog` member is protected, so you
> can't access it from outside. If you subclass SQLContext, and make sure
> that `catalog` is always a `SimpleCatalog`, you can check `catalog.tables`
> (which is a HashMap).
>
> Tobias
>



-- 
Jianshi Huang

LinkedIn: jianshi
Twitter: @jshuang
Github & Blog: http://huangjs.github.com/

Reply via email to