MCPcopy Create free account
hub / github.com/apache/datafusion / test_roundtrip_expr_4

Function test_roundtrip_expr_4

datafusion/sql/tests/cases/plan_to_sql.rs:93–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92#[test]
93fn test_roundtrip_expr_4() {
94 let expr = roundtrip_expr(TableReference::bare("person"), "sum((age * 2))").unwrap();
95 assert_snapshot!(expr, @"sum((age * 2))");
96}
97
98fn roundtrip_expr(table: TableReference, sql: &str) -> Result<String> {
99 let dialect = GenericDialect {};

Callers

nothing calls this directly

Calls 1

roundtrip_exprFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…