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

Copy with headers is changing to order of the values columns #8282

Closed
lberrocal opened this issue Nov 8, 2019 · 1 comment
Closed

Copy with headers is changing to order of the values columns #8282

lberrocal opened this issue Nov 8, 2019 · 1 comment

Comments

@lberrocal
Copy link

Issue Type: Bug

  1. Create a temporary table for the session like #temp (1 varchar column)
  2. Insert some data on it (in my case 700 records)
  3. select * of a Left join with a 13 column table on a varchar column with the same name (not sure if indexed or not)
  4. On the results tab, select 15 records, copy with headers.
  5. Paste the result of the copy on an excel file or a notepad

While in the the results view you'll have something like this:
Col1 Col2 Col3 Col4
Val1 Val2 Val3 Val4
Val1 Val2 Val3 Val4
Pasting it will mix the order of the column values
Col1 Col2 Col3 Col4
Val1 Val4 Val2 Val3
Val1 Val4 Val2 Val3

It's also happening with regular copy, comy as csv seems to work fine.

Azure Data Studio version: azuredatastudio 1.13.0 (cacd481, 2019-11-02T00:40:05.147Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3192)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.95GB (4.40GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
azuredatastudio-postgresql Mic 0.2.2
@Charles-Gagnon
Copy link
Contributor

Duplicate of #8210

This has been fixed on the insiders build that you can install now - otherwise it'll be available in the next stable release. Sorry about the inconvenience!

@adsbot adsbot bot locked and limited conversation to collaborators Dec 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants