Skip to content

SnowDDL - Possibility to short circuit the run of snowddl if no changes to the files/database? #174

Answered by littleK0i
AndreiTapai asked this question in Q&A
Discussion options

You must be logged in to vote

I did some tests and now I see what is going on.

Apparently, Snowflake Python driver has a line of code to strip spaces, tabs and newlines from the beginning and the end of each statement. It does not happen in Web interface.

SnowDDL did not normalise anything, but driver did.

I think it me reasonable to add some normalisation to SnowDDL itself. Here is the patch: b7a090c

It will go live with next major update.

Thank you for pointing this out.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@AndreiTapai
Comment options

@littleK0i
Comment options

@AndreiTapai
Comment options

@littleK0i
Comment options

Answer selected by AndreiTapai
@littleK0i
Comment options

@AndreiTapai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants