spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akhil Das <ak...@sigmoidanalytics.com>
Subject Re: supported sql functions
Date Sun, 09 Nov 2014 17:21:07 GMT
These are the feature list
<http://spark.apache.org/docs/1.1.0/sql-programming-guide.html#compatibility-with-apache-hive>
available i believe. You can create a custom udf for the contains. A
similar example is explained on this StackOverflow
<http://stackoverflow.com/questions/25031129/creating-user-defined-function-in-spark-sql>
post

Thanks
Best Regards

On Sun, Nov 9, 2014 at 7:27 PM, Srinivas Chamarthi <
srinivas.chamarthi@gmail.com> wrote:

> can anyone point me to a documentation on supported sql functions ? I am
> trying to do a contians operation on sql array type. But I don't know how
> to type the  sql.
>
> // like hive function array_contains
> select * from business where array_contains(type, "insurance")
>
>
>
> appreciate any help.
>
>

Mime
View raw message