-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add coalesce node support for computed columns #3552
Add coalesce node support for computed columns #3552
Conversation
Pull Request Test Coverage Report for Build 13941061821Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
7f2ca64
to
01ae3f3
Compare
There is no SQLValueFunction node handling as the description mentions. Is SQLValueFunction a valid node for Babelfish computed columns or default constraints? |
SQLValueFunction is not valid node type for Bablefish. I have updated the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need DDL export test cases ?
ad1d762
into
babelfish-for-postgresql:BABEL_5_X_DEV
…sql#3552) We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression. Adding support for Coalesce node types for computed column expressions. Task: Babel-5460 Signed-off-by: Sharath BP <[email protected]> (cherry picked from commit ad1d762)
…sql#3552) We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression. Adding support for Coalesce node types for computed column expressions. Task: Babel-5460 Signed-off-by: Sharath BP <[email protected]> (cherry picked from commit ad1d762)
…sql#3552) We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression. Adding support for Coalesce node types for computed column expressions. Task: Babel-5460 Signed-off-by: Sharath BP <[email protected]> (cherry picked from commit ad1d762)
…sql#3552) We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression.Adding support for Coalesce node types for computed column expressions. Task: Babel-5460 Signed-off-by: Sharath BP <[email protected]> (cherry picked from commit ad1d762)
We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression.Adding support for Coalesce node types for computed column expressions. Task: Babel-5460 Signed-off-by: Sharath BP <[email protected]> (cherry picked from commit ad1d762)
We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression. Adding support for Coalesce node types for computed column expressions. Task: Babel-5460 Signed-off-by: Sharath BP <[email protected]> (cherry picked from commit ad1d762)
Description
We invoke sys.tsql_get_expr function for getting the column definition in sys.computed_columns. At present tsql_get_expr function doesn't support Coalesce type in computed columns and return null when we try to obtain computed column expression containing Coalesce expression. Adding support for Coalesce node types for computed column expressions.
Issues Resolved
babel-5460
Test Scenarios Covered
Use case based -
Yes
Boundary conditions -
Yes
Arbitrary inputs -
Yes
Negative test cases -
Yes
Minor version upgrade tests -
NA
Major version upgrade tests -
NA
Performance tests -
NA
Tooling impact -
NA
Client tests -
NA
Check List
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.