Open asfimport opened 3 years ago
Wes McKinney / @wesm: This code hasn't been maintained since I originally migrated it from cloudera/hs2client, but I would like to see a database connector library develop in the Arrow project and for this code to be supported at some point
when connecting to hiveserver2 using the thrift c++
following code returns :: "Failed to open session: no data to read"
// Open a session. std::string user = "user"; hs2::HS2ClientConfig config; std::unique_ptr session;
status = service->OpenSession(user, config, &session);
if (!status.ok()) {
std::cout << "Failed to open session: " << status.ToString();
ABORT_NOT_OK(session->Close());
ABORT_NOT_OK(service->Close());
return 1;
}
The connection is success though.
do we need to pass any other arguments in the config to open session.
Environment: RHEL 7.6, g++ 9 apache thrift 0.13 Reporter: vivek kumar
Note: This issue was originally created as ARROW-10418. Please see the migration documentation for further details.