You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading from elements in a dataset of variable-length type, uninitialized elements are returned as scalars. With the library API, uninitialized vlen types are considered to be length-zero arrays.
Test program in C to generate an erroneous response from HSDS using the REST VOL:
i.e. 2 elements returned. The 1st element is a zero-length array, the 2nd element also.
By contrast, if the vlen dataset had: {[0,]j, [0,]} the bytes returned would be:
Looks like it's correct when HSDS returns the variable lengths types in binary instead of JSON. Changing the VOL to use binary instead of JSON should be faster for this as well.
When reading from elements in a dataset of variable-length type, uninitialized elements are returned as scalars. With the library API, uninitialized vlen types are considered to be length-zero arrays.
Test program in C to generate an erroneous response from HSDS using the REST VOL:
Server response:
Expected response:
The text was updated successfully, but these errors were encountered: