rdblue commented on code in PR #4908:
URL: https://github.com/apache/iceberg/pull/4908#discussion_r885101804
##########
python/tests/test_transforms.py:
##########
@@ -129,6 +131,52 @@ def test_string_with_surrogate_pair():
assert bucket_transform.hash(string_with_surrogate_pair) ==
mmh3.hash(as_bytes)
[email protected](
+ "type_var,value,expected",
+ [
+ (LongType(), None, "null"),
+ (DateType(), 17501, "2017-12-01"),
+ (TimeType(), 36775038194, "10:12:55.038194"),
+ (TimestamptzType(), 1512151975038194, "2017-12-01T18:12:55.038194Z"),
Review Comment:
Timestamptz literals must always include a valid zone offset that matches
this regex: `[+-]\d\d:\d\d$`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]