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

babelfish-for-postgresql / babelfish_extensions / 15889588684
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 26 Jun 2025 12:26AM UTC
Jobs 1
Files 120
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

25 Jun 2025 11:51PM UTC coverage: 75.83% (+0.02%) from 75.814%
15889588684

push

github

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


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
Signed-off-by: Manisha Deshpande <mmdeshp@amazon.com>

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

49427 of 65181 relevant lines covered (75.83%)

316536.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.37
0.04% contrib/babelfishpg_common/src/datetime.c
Jobs
ID Job ID Ran Files Coverage
1 15889588684.1 26 Jun 2025 12:26AM UTC 120
75.83
GitHub Action Run
Source Files on build 15889588684
  • 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 #15889588684
  • 7840f56f on github
  • Prev Build on BABEL_5_X_DEV (#15882321584)
  • Next Build on BABEL_5_X_DEV (#15995074467)
  • 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