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

Snowflake: support //-style single line comments #2889

Closed
juliahayward opened this issue Jul 24, 2020 · 1 comment
Closed

Snowflake: support //-style single line comments #2889

juliahayward opened this issue Jul 24, 2020 · 1 comment

Comments

@juliahayward
Copy link
Member

juliahayward commented Jul 24, 2020

SnowflakeDB supports // as a single-line comment marker, in addition to the more standard --. Flyway's SnowflakeParser doesn't recognise it and therefore submits them to the database; Snowflake correctly sees them as comments but throws "incorrect statement count" errors.

Workround: use -- instead of //

@juliahayward juliahayward added this to the Flyway 6.5.3 milestone Jul 24, 2020
@juliahayward
Copy link
Member Author

juliahayward commented Jul 24, 2020

A fix will be in 6.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant