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

Support parsing SQL Server INSERT INTO sql #29842

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

KonarzewskiP
Copy link
Contributor

@KonarzewskiP KonarzewskiP commented Jan 24, 2024

Fixes #29169

Changes proposed in this pull request:

  • added test case to cover scenario:
    INSERT INTO #Test VALUES (N'OC', N'Ounces', GETDATE())
    INSERT INTO #Test SELECT * FROM Production.UnitMeasure

  • the following case is already covered and was created in this PR
    SELECT COUNT(*) AS [Number of rows] FROM #Test


Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

# Conflicts:
#	test/it/parser/src/main/resources/case/dml/insert.xml
#	test/it/parser/src/main/resources/sql/supported/dml/insert.xml
@KonarzewskiP
Copy link
Contributor Author

Hi @strongduanmu

When you have time please add label and have a look at my PR. Thanks!

@strongduanmu strongduanmu merged commit 696f496 into apache:master Jan 25, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support parsing SQL Server INSERT INTO sql
2 participants