typed Lit
inline fun <DsType, U> typedLit(literal: U): <Error class: unknown class><DsType, U>
Content copied to clipboard
Creates a Column of literal value.
The passed in object is returned directly if it is already a Column. If the object is a Scala Symbol, it is converted into a Column also. Otherwise, a new Column is created to represent the literal value. The difference between this function and lit is that this function can handle types and parameterized scala types e.g.: List, Seq and Map.