Skip to content

Conversation

git-hulk
Copy link
Member

@git-hulk git-hulk commented May 8, 2025

This closes #134.

@git-hulk git-hulk requested review from Copilot and Lance726 May 8, 2025 04:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request addresses the issue of the missing visitor call for the table name in both CREATE and ALTER table AST nodes.

  • Added a visitor call for a.TableIdentifier in the AlterTable Accept method.
  • Added a visitor call for c.Name in the CreateTable Accept method.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 14898400583

Details

  • 2 of 6 (33.33%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 62.73%

Changes Missing Coverage Covered Lines Changed/Added Lines %
parser/ast.go 2 6 33.33%
Totals Coverage Status
Change from base Build 14897009431: -0.02%
Covered Lines: 6931
Relevant Lines: 11049

💛 - Coveralls

@git-hulk git-hulk merged commit 6c8af70 into AfterShip:master May 8, 2025
1 check passed
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.

DefaultASTVisitor.{VisitAlterTable,VisitCreateTable} should visit table identifier
3 participants