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

babelfish-for-postgresql / babelfish_extensions / 15895220318
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: 5577-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 26 Jun 2025 07:38AM UTC
Jobs 1
Files 120
Run time 32min
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

26 Jun 2025 07:03AM UTC coverage: 75.748% (+0.02%) from 75.732%
15895220318

push

github

web-flow
Support empty string handling for date and time datatypes (#3881)

Add TSQL-compatible handling of empty string ('') for date and time types, defaulting to '1900-01-01' for date and time, similar to datetime, datetime2, datetimeoffset, smalldatetime.

Changes:
1. Add helper functions to initialize the default date and time variables
   and to check for strings with whitespaces.
2. Modify varchar2date() and varchar2time() to handle empty/whitespace
   casts from varchar types to date and time types.
3. Update tsql_coerce_string_literal_hook to handle empty/whitespace
   casts from string literals to date and time datatypes.
4. Default empty/whitespace strings to '1900-01-01' for date and
   '00:00:00.0000000' for time.
5. Updated existing date-time related test cases. Added more tests cases
   for wider test coverage.

Task: BABEL-3433

(cherry picked from commit 7840f56ff)

Signed-off-by: Manisha Deshpande <mmdeshp@amazon.com>

41 of 42 new or added lines in 7 files covered. (97.62%)

49224 of 64984 relevant lines covered (75.75%)

324171.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.34
0.04% contrib/babelfishpg_common/src/datetime.c
Jobs
ID Job ID Ran Files Coverage
1 15895220318.1 26 Jun 2025 07:38AM UTC 120
75.75
GitHub Action Run
Source Files on build 15895220318
  • Tree
  • List 120
  • Changed 8
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15895220318
  • d313b400 on github
  • Prev Build on BABEL_4_X_DEV (#15882328286)
  • Next Build on BABEL_4_X_DEV (#15896572623)
  • 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

© 2026 Coveralls, Inc