MCPcopy Create free account
hub / github.com/activeloopai/deeplake / TEST

Function TEST

cpp/3rd_party/sql-parser/test/select_tests.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace hsql;
9
10TEST(SelectTest) {
11 TEST_PARSE_SINGLE_SQL("SELECT * FROM students;", kStmtSelect, SelectStatement, result, stmt);
12
13 ASSERT_NULL(stmt->whereClause);
14 ASSERT_NULL(stmt->groupBy);
15}
16
17TEST(SelectExprTest) {
18 TEST_PARSE_SINGLE_SQL("SELECT a, MAX(b), CUSTOM(c, F(un)) FROM students;", kStmtSelect, SelectStatement, result,

Callers

nothing calls this directly

Calls 9

ColumnTypeClass · 0.85
selectDistinctMethod · 0.80
getStatementMethod · 0.80
isValidMethod · 0.80
sizeMethod · 0.45
isTypeMethod · 0.45
atMethod · 0.45
getNameMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected