Skip to content

Commit 8d26e8b

Browse files
committed
Rename lit2 to typedlit
1 parent ca2e07f commit 8d26e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/functions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ object functions {
112112
* @group normal_funcs
113113
* @since 2.2.0
114114
*/
115-
def lit2[T : TypeTag](literal: T): Column = {
115+
def typedLit[T : TypeTag](literal: T): Column = {
116116
literal match {
117117
case c: Column => return c
118118
case s: Symbol => return new ColumnName(literal.asInstanceOf[Symbol].name)

0 commit comments

Comments
 (0)