azure.synapse.tools icon indicating copy to clipboard operation
azure.synapse.tools copied to clipboard

Create empty blob if not exist.

Open LiquoriChris opened this issue 2 years ago • 18 comments

LiquoriChris avatar Apr 26 '24 14:04 LiquoriChris

@NowinskiK sorry for the quick pull request. Found a bug in the incremental deployment. Sorry for the inconvenience.

LiquoriChris avatar Apr 26 '24 14:04 LiquoriChris

Related to #34

NowinskiK avatar Apr 26 '24 19:04 NowinskiK

@LiquoriChris, can you make sure first you have the latest version of the code from main branch? Also, before (or now after) fixing the bug, could you cover the case with an appropriate unit test?

NowinskiK avatar Apr 26 '24 19:04 NowinskiK

@NowinskiK main now synced, tests updated, and updated changelog.

LiquoriChris avatar Apr 26 '24 19:04 LiquoriChris

Hi @LiquoriChris, could you please fix these small comments I left?

NowinskiK avatar May 18 '24 01:05 NowinskiK

Hey @NowinskiK, can you please re-check the code? I have updated when you mentioned in your first comment. Please let me know if I have missed anything.

LiquoriChris avatar May 23 '24 12:05 LiquoriChris

Hey @NowinskiK, can you please re-check the code? I have updated when you mentioned in your first comment. Please let me know if I have missed anything.

Hey @NowinskiK, sorry to bother. Can you please see comment above?

LiquoriChris avatar Jul 17 '24 13:07 LiquoriChris

There are some unexpected changes you introduced, like this one: image

NowinskiK avatar Jul 17 '24 18:07 NowinskiK

Apologies. I removed the quotes in the original pr, but added them back in. Sorry about that.

LiquoriChris avatar Jul 17 '24 18:07 LiquoriChris

That's all right, but that was one of the reasons why it was with you. There is another comment above - please scroll and check. Optionally you can check "Files changed" section (tab).

NowinskiK avatar Jul 17 '24 18:07 NowinskiK

I do not think I can see comments in the files changed. It does not show any comments in the files changed tab.

image

LiquoriChris avatar Jul 17 '24 19:07 LiquoriChris

ah... thanks! I should click "Request changes" then all my comments are moved here (see above).

NowinskiK avatar Jul 18 '24 12:07 NowinskiK

Hello @NowinskiK I have cleaned up the code (Thanks for that suggestion). I also updated the tests to make sure they pass.

LiquoriChris avatar Jul 22 '24 15:07 LiquoriChris

Hello @NowinskiK,

I know it has been a while. Can you please see if this is still ok? I've updated the code per comments.

LiquoriChris avatar Nov 26 '24 21:11 LiquoriChris

But... there are still TRY/CATCH blocks. Example: DeploymentState.class.ps1 file. Why is that? You can check this code for reference: https://github.com/Azure-Player/azure.datafactory.tools/blob/master/private/DeploymentState.class.ps1 It's ADFTools with incremental deployment with storage implemented.

NowinskiK avatar Nov 27 '24 11:11 NowinskiK

I added try/catch just in case of failure... But I can remove entirely.

LiquoriChris avatar Nov 27 '24 14:11 LiquoriChris

My point is that it does nothing. You catch potential error and rethrow it. I can't see the logic.

NowinskiK avatar Nov 28 '24 09:11 NowinskiK

I see your point. Removed.

LiquoriChris avatar Dec 05 '24 15:12 LiquoriChris