Github user chenghao-intel commented on a diff in the pull request:
https://github.com/apache/spark/pull/7034#discussion_r34751099
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringOperations.scala
---
@@ -668,3 +673,74 @@ case class Encode(value: Expression, charset:
Expression)
}
}
+/**
+ * Formats the number X to a format like '#,###,###.##', rounded to D
decimal places,
+ * and returns the result as a string. If D is 0, the result has no
decimal point or
+ * fractional part.
+ */
+case class FormatNumber(x: Expression, d: Expression)
--- End diff --
sorry, yes, it's done, but in the end of this class code.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]