See http://apache-spark-developers-list.1001551.n3.nabble.com/Exception-when-using-cosh-td14724.html
It is missing from https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
[Github] Pull Request #9199 (shagunsodhani)