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

Error creating edge table #26174

Closed
discotechnica opened this issue Jan 29, 2025 · 3 comments
Closed

Error creating edge table #26174

discotechnica opened this issue Jan 29, 2025 · 3 comments

Comments

@discotechnica
Copy link

  • Azure Data Studio Version:
    Version: 1.50.0 (system setup)
    Commit: 49c73a8
    Date: 2024-11-17T22:41:05.327Z
    VS Code: 1.82.0
    Electron: 30.5.1
    Chromium: 124.0.6367.243
    Node.js: 20.16.0
    V8: 12.4.254.20-electron.0
    OS: Windows_NT x64 10.0.22631

  • OS Version: 1.50.0
    Windows 11
    CPUs | 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 3302)
    -- | --
    GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off
    Load (avg) |  
    Memory (System) | 31.84GB (8.32GB free)
    Process Argv |  
    Screen Reader | no
    VM | 0%

Extensions:

Extension Author (truncated) Version
import Mic 1.6.1

Steps to Reproduce:

I am trying to create a new edge table on a Azure SQL database using Azure Data Studio.

  1. Connect to DB
  2. Expand tables tab on the left pane
  3. Press + to create new table
  4. Select "Type" to be "Edge"
  5. Error message pops up in bottom left of screen saying "Cannot read properties of undefiened (reading 'forEach')"
  6. Change to different tab in the application to get info about another table
  7. Change back to new table tab.
  8. Application shows error "The editor could not be opened due to an unexpected error: Cannot read properties of undefined (reading 'forEach')"

Does this issue occur when all extensions are disabled?: Yes

Image

Image
@discotechnica
Copy link
Author

To get around this I used the normal table editor to frame out the structure of the new table, copied the generated SQL to a new sql tab and added "AS EDGE;" to the end of the create statement.

Perhaps Azure Date Studio would allow me to edit this table now that it was created, I thought. Sadly it doesn't. The same error as described in the original post occurs when I try to open an edge table.

@caohai
Copy link
Member

caohai commented Jan 29, 2025

@discotechnica
This issue should've been fixed in 1.51.0 which came out a few hours ago. Can you give it a try and let me know if it works for you?
See #26068 for more details.

@discotechnica
Copy link
Author

Update installed.
Attempted same steps.
Success.
--> Issue Fixed

Thank you for your prompt reply, I really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants