try 
> import org.apache.spark.sql.{ functions => sparkSqlFunctions }

Mohit Jaggi
Founder,
Data Orchard LLC
www.dataorchardllc.com




> On Oct 21, 2016, at 6:18 AM, Яровой Андрей Викторович <yaro...@iqmen.ru> 
> wrote:
> 
> Hi all!
> I faced a problem trying to use deep learning algorithms from H2O library in 
> Zeppelin
> The problem is following:
> When I try to import class
> import hex.deeplearning.DeepLearning
> I get an error:
> Unapplied methods are only converted to functions when a function type is 
> expected.
> You can make this conversion explicit by writing `hex _` or `hex(_)` instead 
> of `hex`.
>        import hex.deeplearning.DeepLearning
>  
> As I see the error happens because the function "hex" already exists in 
> Zeppelin namespace, it comes implicitly from the package 
> "org.apache.spark.sql.functions", 
> Thus it conflicts with package name, so I have to "unimport" it, but I don’t 
> know how.
> Any ideas?
>  
> Thanks in advance, 
> Andrew Yarovoy

Reply via email to