| 136 | is_closed_(false) {} |
| 137 | |
| 138 | PreparedStatement::~PreparedStatement() { |
| 139 | if (IsClosed()) return; |
| 140 | |
| 141 | const Status status = Close(); |
| 142 | if (!status.ok()) { |
| 143 | ARROW_LOG(ERROR) << "Failed to delete PreparedStatement: " << status.ToString(); |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::Execute( |
| 148 | const FlightCallOptions& options, const std::string& query, |