diff --git a/src/snowflake/snowpark/types.py b/src/snowflake/snowpark/types.py index ec98d8da1f1..dc63cab1ebe 100644 --- a/src/snowflake/snowpark/types.py +++ b/src/snowflake/snowpark/types.py @@ -145,7 +145,7 @@ def __init__(self, timezone: TimestampTimeZone = TimestampTimeZone.DEFAULT) -> N self.tz = timezone #: Timestamp variations def __repr__(self) -> str: - tzinfo = f"tz={self.tz}" if self.tz != TimestampTimeZone.DEFAULT else "" + tzinfo = f"timezone=TimestampTimeZone('{self.tz}')" if self.tz != TimestampTimeZone.DEFAULT else "" return f"TimestampType({tzinfo})"