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
result::getnanodbc::string(string const& column_name),if the string type column in hive have a value of more than 255bytes,then the "result::getnanodbc::string" function will truncat to 255.
Expected behavior
"result::getnanodbc::string" function work well when more than 255 bytes.
Minimal Working Example
default
The text was updated successfully, but these errors were encountered:
mloskot
changed the title
result::get<nanodbc::string>(string const& column_name) truncat to 255bytes!!!
result::get<nanodbc::string>(string const& column_name) truncat to 255 bytes
Jul 28, 2022
What driver and its version? I've never used Hive.
ODBC connection string:default
w/ or w/o Unicode enabled?
if the string type column in hive
What type exactly? Does it happens for any text data type?
Please, try do better.
the problem has been solved , I change the hive column type from 'string' to 'varchar' , then the 'result::getnanodbc::string(string const& column_name)' function works well.
Environment
Actual behavior
result::getnanodbc::string(string const& column_name),if the string type column in hive have a value of more than 255bytes,then the "result::getnanodbc::string" function will truncat to 255.
Expected behavior
"result::getnanodbc::string" function work well when more than 255 bytes.
Minimal Working Example
default
The text was updated successfully, but these errors were encountered: