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 the issue the column name is not right #2844

Conversation

forestkeeper
Copy link
Contributor

Column name is wrong when the column is followed with a direct '--' comment, this commit fix the issue by correctly set the column_start pointer during the identifier search.

Task: BABEL-5139

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.

Column name is wrong when the column is followed with a direct '--'
comment, this commit fix the issue by correctly set the column_start
pointer during the identifier search.

Task: BABEL-5139
Signed-off-by: Zhibai Song <[email protected]>
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 10325766472

Details

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

Totals Coverage Status
Change from base Build 10325622626: 0.001%
Covered Lines: 44178
Relevant Lines: 59964

💛 - Coveralls

@forestkeeper forestkeeper merged commit e02ee26 into babelfish-for-postgresql:BABEL_4_X_DEV Aug 9, 2024
43 checks passed
sharathbp pushed a commit to amazon-aurora/babelfish_extensions that referenced this pull request Aug 20, 2024
…2844)

Column name is wrong when the column is followed with a direct '--'
comment, this commit fix the issue by correctly set the column_start
pointer during the identifier search.

Task: BABEL-5139
Signed-off-by: Zhibai Song <[email protected]>
forestkeeper added a commit to amazon-aurora/babelfish_extensions that referenced this pull request Aug 22, 2024
…2844)

Column name is wrong when the column is followed with a direct '--'
comment, this commit fix the issue by correctly set the column_start
pointer during the identifier search.

Task: BABEL-5139
Signed-off-by: Zhibai Song <[email protected]>
lejaokri pushed a commit that referenced this pull request Aug 22, 2024
Column name is wrong when the column is followed with a direct '--'
comment, this commit fix the issue by correctly set the column_start
pointer during the identifier search.

Task: BABEL-5139

Signed-off-by: Zhibai Song <[email protected]>
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