Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21010#discussion_r180310931
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala
---
@@ -2022,6 +2022,8 @@ case class Encode(value: Expression, charset:
Expression)
Examples:
> SELECT _FUNC_(12332.123456, 4);
12,332.1235
+ > SELECT _FUNC_(12332.123456, '##################.###');
--- End diff --
We need to update `ExpressionDescription` too.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]