snowflake.snowpark.functions.lit¶
- snowflake.snowpark.functions.lit(literal: LiteralType) Column [source]¶
Creates a
Column
expression for a literal value. It supports basic Python data types, includingint
,float
,str
,bool
,bytes
,bytearray
,datetime.time
,datetime.date
,datetime.datetime
anddecimal.Decimal
. Also, it supports Python structured data types, includinglist
,tuple
anddict
, but this container must be JSON serializable.