You are viewing documentation about an older version (1.1.0). View latest version

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, including int, float, str, bool, bytes, bytearray, datetime.time, datetime.date, datetime.datetime and decimal.Decimal. Also, it supports Python structured data types, including list, tuple and dict, but this container must be JSON serializable.