Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix protocol violation error happening due to Const node under append node #2734

Conversation

Deepesh125
Copy link
Contributor

Description

Previously, certain driver was running into an protocol violation error when Const node in target list appears under Append node. This was happening because resolve_numeric_typmod_from_exp was not implemented to handle Const node properly for decimal data types. This commit fixes that issue by properly handling decimal data type for Const node under Append node.

Task: BABEL-5086
Signed-off-by: Dipesh Dhameliya [email protected]

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… node (babelfish-for-postgresql#2720)

Previously, certain driver was running into an protocol violation error when Const node in target list appears under
Append node. This was happening because resolve_numeric_typmod_from_exp was not implemented to handle Const
node properly for decimal data types. This commit fixes that issue by properly handling decimal data type for Const
node under Append node.

Task: BABEL-5086
Signed-off-by: Dipesh Dhameliya <[email protected]>
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 9885602270

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 73.035%

Totals Coverage Status
Change from base Build 9864318378: 0.01%
Covered Lines: 41912
Relevant Lines: 57386

💛 - Coveralls

@shardgupta shardgupta merged commit 2c62cf7 into babelfish-for-postgresql:BABEL_3_6_STABLE Jul 11, 2024
40 checks passed
@shardgupta shardgupta deleted the jira-babel-5086-36 branch July 11, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants