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

Function test_int_decimal_default

datafusion/sql/tests/sql_integration.rs:350–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348
349#[test]
350fn test_int_decimal_default() {
351 let plan = logical_plan("SELECT CAST(10 AS DECIMAL)").unwrap();
352 assert_snapshot!(
353 plan,
354 @r"
355 Projection: CAST(Int64(10) AS Decimal128(38, 10))
356 EmptyRelation: rows=1
357 "
358 );
359}
360
361#[test]
362fn test_int_decimal_no_scale() {

Callers

nothing calls this directly

Calls 1

logical_planFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…