microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.58k stars 908 forks source link

Weird ARM64 support (for SQL Server Import) #25998

Open maxfaa opened 3 weeks ago

maxfaa commented 3 weeks ago

Type: Bug

The SQL Server Import extension doesnt support ARM64 correctly.

When installed (via the Extensions tab), it starts downloading a package at 'https://sqlopsextensions.blob.core.windows.net/extensions/import/service/0.0.12/flatfileimportservice-osx-x64.tar.gz' . (See this screenshot: https://i.imgur.com/msLCclq.png) We can notice the "x64" in the URL, while theres an ARM64 version available: 'https://sqlopsextensions.blob.core.windows.net/extensions/import/service/0.0.12/flatfileimportservice-osx-arm64.tar.gz'

Even if the following sentence is written in the terminal "Installing Flat File Import Service to (...) OSX_ARM64", as I open the Activity Monitor (task manager, in simple terms), I can clearly see that 'FlatFileImport' is an x86_64 process running on Rosetta. Take a look here: https://i.imgur.com/AOss7N8.png In the Kind colomn: "Intel" !!

Please fix this CPU architectures mess šŸ„“

Extension version: 1.6.1 Azure Data Studio version: azuredatastudio 1.49.1 (2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd, 2024-08-13T18:03:28.478Z) OS version: Darwin arm64 24.1.0 Restricted Mode: No Preview Features: Enabled Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|1, 3, 2| |Memory (System)|8.00GB (0.09GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|