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 working with an array of VARCHAR the two-byte length indicator seems to be working in some other way than a regular VARCHAR buffer works via the XSQLVAR structure. The first two bytes of the data are taken as part of the string and there doesn't seem to be a way to indicate the length of the string within the buffer. It is also necessary to allocate the 2 additional bytes, I just cannot figure out how they are to be worked with. The array_desc_dtype comes back as blr_varying or blr_varying2.
Perhaps I am just not understanding how this is supposed to work?
The text was updated successfully, but these errors were encountered:
I am trying to get my support for Array columns PERFECTED. I would very much appreciate this issue getting some time and attention. Also, I'm willing to go into the sources myself and look things over if someone will point me in the right direction.
Submitted by: @jasonwharton
When working with an array of VARCHAR the two-byte length indicator seems to be working in some other way than a regular VARCHAR buffer works via the XSQLVAR structure. The first two bytes of the data are taken as part of the string and there doesn't seem to be a way to indicate the length of the string within the buffer. It is also necessary to allocate the 2 additional bytes, I just cannot figure out how they are to be worked with. The array_desc_dtype comes back as blr_varying or blr_varying2.
Perhaps I am just not understanding how this is supposed to work?
The text was updated successfully, but these errors were encountered: