-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
42952: pgdate: fix parsing of dates before unix epoch r=otan a=otan Resolves #42937. Previously, pgdate handling dates before the unix epoch with time attached to it rounded up instead of rounding down, meaning times such as '1969-12-30 01:00:00' rounded up to days = `-1`, when it should be days = `-2`. This PR addresses that change. I will probably look at backporting this. Release note (bug fix): We did not previously handled date casts from timestamp/timestamptz with time attached to it for times before the unix epoch correctly. For example, '1969-12-30 01:00:00'::timestamp would round to '1969-12-31' instead of '1969-12-30'. This PR addresses that change. 43006: ccl/changefeedccl: respect filesystem walk errors in cloudFeed r=nvanbenschoten a=nvanbenschoten Closes #42979. This commit properly handles errors in `cloudFeed`'s `filepath.WalkFunc` implementation. The documentation says: > If there was a problem walking to the file or directory named by > path, the incoming error will describe the problem and the function > can decide how to handle that error (and Walk will not descend into > that directory). If an error is returned, processing stops. I stressed the test for 10,000 iterations and never saw anything, so it's possible that this was a fluke. It's not clear what filesystem error this was throwing so we might still see this pop up again, but at least we'll now correctly propagate the error and surface it instead of hitting an NPE. Because of that, I'm closing the issue for now. Release note: None 43009: row: move cfetcher initialization validation steps outside of loop r=yuzefovich a=rohany Some initialization checks that the cfetcher performed were occuring in a loop for no reason. This PR moves them out of the loop. Release note: None 43010: cmd/roachtest: only log sqlsmith on non-errors r=mjibson a=mjibson Release note: None Co-authored-by: Oliver Tan <otan@cockroachlabs.com> Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com> Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu> Co-authored-by: Matt Jibson <matt.jibson@gmail.com>
- Loading branch information
Showing
6 changed files
with
108 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters