microsoft/azuredatastudio-postgresql

Export to excel more than 26 columns error "string index out of range Code: 0"

creangasergiu opened this issue · 0 comments

Dear Community,

I want to report a bug when using Azure Data Studio with Postgres extension installed.
If we want to export in excel a result of query that is containing more than 26 columns, for example 27 columns we are receiving a error.

[Error - 10:18:57 AM] Request query/saveExcel failed.
Message: Failed to save Results.xlsx: string index out of range
Code: 0

With les columns there is no issue.
With export to CSV no issue of any number of columns.

Error:

image

  • Azure Data Studio Version:
    Version: 1.48.0 (system setup)
    Commit: 4970733324ef8254b7c22a5dc55af7f8a1dea93f
    Date: 2024-02-27T00:05:08.293Z
    VS Code: 1.82.0
    Electron: 25.9.8
    Chromium: 114.0.5735.289
    Node.js: 18.15.0
    V8: 11.4.183.29-electron.0
    OS: Windows_NT x64 10.0.19045

  • OS Version:
    Windows 10 Enterprise x64
    Version: 22H2

Azure Postgres Flexible server:
Version: 13.13

Steps to Reproduce:

  1. Query 27 columns
  2. Export to excel,
  3. Error: string index out of range Code: 0

Can you please support to investigate this bug?

Thank you,