• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

babelfish-for-postgresql / babelfish_extensions / 12645776971
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 07 Jan 2025 05:47AM UTC
Jobs 1
Files 114
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jan 2025 05:29AM UTC coverage: 73.817% (+0.01%) from 73.804%
12645776971

push

github

web-flow
Fix behaviour of DATEDIFF() and DATEDIFF_BIG() functions for week and quarter dateparts (#3364)

1. Issues
DATEDIFF() and DATEDIFF_BIG() functions return incorrect results when using 'week' and 'quarter' as datepart unit.
DATEDIFF_BIG() function gives wrong error message in case of overflow.
2. Changes made to fix the issues
Fix calculation logic for considering a week if a Saturday-Sunday boundaries crossed.
Fix calculation logic for considering a quarter if a quarter boundary crossed.
1. March-April
2. June-July
3. September-October
4. December-January
Fix error message for DATEDIFF_BIG() function in case of overflow.

cherry-picked: #3357
Task: BABEL- 5461, BABEL-5503
Authored-by: Anikait Agrawal agraani@amazon.com
Signed-off-by: Anikait Agrawal agraani@amazon.com

43 of 43 new or added lines in 1 file covered. (100.0%)

43202 of 58526 relevant lines covered (73.82%)

146241.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12645776971.1 07 Jan 2025 05:47AM UTC 114
73.82
GitHub Action Run
Source Files on build 12645776971
  • Tree
  • List 114
  • Changed 71
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12645776971
  • 1c03544d on github
  • Prev Build on BABEL_3_X_DEV (#12645694712)
  • Next Build on BABEL_3_X_DEV (#12679587857)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc