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

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

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 07 Oct 2025 09:44AM UTC
Jobs 1
Files 121
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 Oct 2025 09:19AM UTC coverage: 76.308% (-0.003%) from 76.311%
18308008223

push

github

web-flow
Fix precision/scale of numeric columns in SELECT INTO with GROUP BY. (#4121) (#4154)

1. Issues
If a GROUP BY clause is used in a SELECT statement, the target list during initialisation of TupleDesc will contains

all target columns mentioned in SELECT statement
columns from the GROUP BY clause (In this case column "id")
The columns from GROUP BY clause which is not there in target columns are marked as junk column, which will be filtered out later. During initialisation of TupleDesc we are computing and storing the correct typmod information for all the columns in target list
Later after TupleDesc is initialised, if any of the column is marked as junk, Junk filtration is done which recomputes the entire TupleDesc which leads to losing the typmod information of avgValue column.

2. Changes made to fix the issues
Earlier we used to return typmod as -1 if plan was NULL for T_var node whereas correct typmod was preserved in var->vartypmod. So we fixed that portion in thi PR.

Issues Resolved
Task: BABEL-6081

cherry-picked from #4121

Signed-off-by: yashneet vinayak 
yashneet@amazon.com

Signed-off-by: yashneet vinayak

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

2 existing lines in 1 file now uncovered.

51434 of 67403 relevant lines covered (76.31%)

380756.09 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.16
-0.62% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 18308008223.1 07 Oct 2025 09:44AM UTC 121
76.31
GitHub Action Run
Source Files on build 18308008223
  • Tree
  • List 121
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18308008223
  • 470b7fc3 on github
  • Prev Build on BABEL_5_4_STABLE (#18158723654)
  • Next Build on BABEL_5_4_STABLE (#18334412330)
  • 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