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

Function test_int_decimal_no_scale

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

Source from the content-addressed store, hash-verified

360
361#[test]
362fn test_int_decimal_no_scale() {
363 let plan = logical_plan("SELECT CAST(10 AS DECIMAL(5))").unwrap();
364 assert_snapshot!(
365 plan,
366 @r"
367 Projection: CAST(Int64(10) AS Decimal128(5, 0))
368 EmptyRelation: rows=1
369 "
370 );
371}
372
373#[test]
374fn test_tinyint() {

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…