maropu commented on a change in pull request #31408:
URL: https://github.com/apache/spark/pull/31408#discussion_r567583045



##########
File path: sql/core/src/main/scala/org/apache/spark/sql/functions.scala
##########
@@ -113,6 +113,16 @@ object functions {
    */
   def lit(literal: Any): Column = typedLit(literal)
 
+  /**
+   * Creates a [[Column]] of literal value.
+   *
+   * An alias of `typedlit`, and it is encouraged to use `typedlit` directly.
+   *
+   * @group normal_funcs

Review comment:
       Could we use `@deprecated` for these aliases?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to