rok commented on code in PR #12528:
URL: https://github.com/apache/arrow/pull/12528#discussion_r867155626


##########
cpp/src/arrow/compute/kernels/scalar_temporal_test.cc:
##########
@@ -2611,6 +2611,114 @@ TEST_F(ScalarTemporalTest, TestRoundTemporal) {
   CheckScalarUnary(op, unit, times, unit, round_15_years, &round_to_15_years);
 }
 
+TEST_F(ScalarTemporalTest, TestCeilFloorRoundTemporalAmbiguous1) {
+  // Asia/Tehran switches from UTC+4:30 to UTC+3:30 on 2022-09-22 00:00:00 
UTC+4:30.
+  // This causes an hour long ambiguous period in local time.
+  auto unit = timestamp(TimeUnit::MILLI, "Asia/Tehran");
+  auto options = RoundTemporalOptions(1, CalendarUnit::HOUR, 
/*some_parameter=*/true);

Review Comment:
   Ugh. Removed - for the record it was `week_starts_monday`. I love stating 
tautologies.



-- 
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]

Reply via email to