Closed MegaByte closed 4 years ago
It would be worth seeing if this is an issue on master after the big rewrite.
I could see this issue happening if the "column size" was returned as 256, but when we actually fetched the column, it had a length > 256 (in the example you posted, 259). That would be an annoying/bad move by the athena odbc driver, but we could perhaps find a work-around (like checking that we indeed have enough room before decoding, or re-allocating or something).
So one thing I noticed while testing the athena driver locally is that the default setting in the driver is to not allow/fetch more than 256 characters for string columns. This is adjustable in the driver configuration, so I'm going to close this for now unless someone sees another issue.
Similar to #226, but not fixed for the Amazon Athena connections. Attempting to select from varchar fields results in the following error if the returned data is larger than 256 characters: