Github user srutis commented on the pull request: https://github.com/apache/spark/pull/9199#issuecomment-149978215 Sruti S <sruti.shivaku...@gmail.com> 9:29 AM (4 hours ago) to Shagun A quick look through the source of FunctionRegistry.scala seems to indicate that the function is missing from a lookup table, so it looks like a simple fix to add the entry will resolve the issue. object FunctionRegistry { type FunctionBuilder = Seq[Expression] => Expression val expressions: Map[String, (ExpressionInfo, FunctionBuilder)] = Map( ... ... // math functions expression[Acos]("acos"), expression[Asin]("asin"), expression[Atan]("atan"), expression[Atan2]("atan2"), expression[Bin]("bin"), expression[Cbrt]("cbrt"), expression[Ceil]("ceil"), expression[Ceil]("ceiling"), expression[Cos]("cos"), /* Add here ---> */ expression[Cosh]("cosh"),
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org