gavinchou commented on code in PR #37535:
URL: https://github.com/apache/doris/pull/37535#discussion_r1670052767


##########
cloud/src/recycler/azure_obj_client.cpp:
##########
@@ -91,12 +92,15 @@ class AzureListIterator final : public ObjectListIterator {
             DCHECK(!(has_more_ && resp.Blobs.empty())) << has_more_ << ' ' << 
resp.Blobs.empty();
             req_.ContinuationToken = std::move(resp.NextPageToken);
             results_.reserve(resp.Blobs.size());
+            const auto unix_epoch = Azure::DateTime(1970, 1, 1);

Review Comment:
   ```
     /**
      * @brief Construct an instance of `%DateTime` from 
`std::chrono::system_clock::time_point`.
      * @param systemTime A value of `std::chrono::system_clock::time_point`.
      *
      */
     DateTime(std::chrono::system_clock::time_point const& systemTime)
         : DateTime(
             SystemClockEpoch + 
std::chrono::duration_cast<duration>(systemTime.time_since_epoch()))
     {
     }
   ``



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to