MCPcopy Create free account
hub / github.com/apache/arrow / CreateUnicodeTable

Method CreateUnicodeTable

cpp/src/arrow/flight/sql/odbc/tests/odbc_test_suite.cc:427–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void ODBCMockTestBase::CreateUnicodeTable() {
428 std::string unicode_sql = arrow::util::WideStringToUTF8(
429 LR"(
430 CREATE TABLE 数据(
431 资料 varchar(100));
432
433 INSERT INTO 数据 (资料) VALUES ('第一行');
434 INSERT INTO 数据 (资料) VALUES ('二行');
435 INSERT INTO 数据 (资料) VALUES ('3rd Row');
436 )")
437 .ValueOr("");
438 ASSERT_OK(mock_server->ExecuteSql(unicode_sql));
439}
440
441void ODBCMockTestBase::DropUnicodeTable() {
442 std::string unicode_sql =

Callers

nothing calls this directly

Calls 2

ValueOrMethod · 0.80
ExecuteSqlMethod · 0.45

Tested by

no test coverage detected