You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by sk skk <sp...@gmail.com> on 2017/10/18 21:24:09 UTC

Sparkcontext on udf

I have registered a udf with sqlcontext , I am trying to read another
parquet using sqlcontext under same udf it’s throwing null pointer
exception .

Any help how to access sqlcontext inside a udf ?

Regards,
Sk