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

Write-SqlTableData doesn't clear Write-Progress bar #75

Closed
samplesty opened this issue Feb 29, 2024 · 3 comments
Closed

Write-SqlTableData doesn't clear Write-Progress bar #75

samplesty opened this issue Feb 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@samplesty
Copy link

Writing data to a table with Write-SqlTableData creates permanent Write-Progress bars that never clear. There is likely a missing call to Write-Progress with the -Complete flag in order to close out the bar. Also the bar never seems to fill to 100% despite the text status reporting 100%.

@Matteo-T Matteo-T self-assigned this Mar 5, 2024
@Matteo-T Matteo-T added the bug Something isn't working label Mar 5, 2024
@Matteo-T
Copy link
Collaborator

Matteo-T commented Mar 5, 2024

hi @samplesty - I'll try to take a look as soon as I have a chance.

@Matteo-T Matteo-T added this to the v22.3 milestone Jun 30, 2024
@Matteo-T
Copy link
Collaborator

Hi @samplesty,

It's indeed a bug (or two). Thanks for reporting it.

Now, it looks a lot better:

This is what I get (after the fix) in PS5.1:
image

This is what I get (after the fix) in PS7 (7.4.3):
image

If all goes well, this fix should roll into the upcoming v22.3.x version of the module.

@Matteo-T
Copy link
Collaborator

Matteo-T commented Jul 4, 2024

Fixed in v22.3.0 - or at least improved. Let me know what you think...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants