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

Queries/Procedures with DECOMPRESS frequently return defaulted result erroneously #26120

Open
LouisGordon opened this issue Dec 19, 2024 · 0 comments

Comments

@LouisGordon
Copy link

Type: Bug

  1. Create a table with a [Content] VARBINARY(MAX) NULL column
  2. Insert data into the table and using the built in COMPRESS function for the [Content] column
  3. Query the value using the DECOMPRESS function ex: SELECT DECOMPRESS(Content) FROM dbo.MyTable
  4. Witness that sometimes this works, and frequently it does not with a value of 0x (empty varbinary). Interestingly not null, which might be a clue.

If you add additional columns to the table with data for the query, those are also returned as NULL incorrectly when this happens, even though the data is there.

Azure Data Studio version: azuredatastudio 1.50.0 (49c73a8, 2024-11-17T22:25:36.863Z)
OS version: Darwin arm64 24.1.0
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info
Item Value
CPUs Apple M4 Pro (14 x 2400)
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 3, 4, 5
Memory (System) 48.00GB (0.06GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
profiler Mic 0.14.0
schema-compare Mic 1.21.0
sql-database-projects Mic 1.4.3
powershell ms- 2024.3.2
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

1 participant