@@ -500,15 +500,8 @@ impl NullTypeTag {
500500 PrimitiveType :: Timestamp => ( Self :: Timestamp , 0 , 0 ) ,
501501 PrimitiveType :: TimestampNtz => ( Self :: TimestampNtz , 0 , 0 ) ,
502502 PrimitiveType :: Decimal ( dt) => ( Self :: Decimal , dt. precision ( ) , dt. scale ( ) ) ,
503- // Geometry/Geography carry an SRID string (and for Geography, an edge
504- // algorithm) that cannot fit in the (tag, u8, u8) payload this function
505- // returns. We route them through NullTypeTag::Binary to stay consistent
506- // with the FFI schema visitor (which routes geo columns through
507- // visit_binary): consumers see a uniformly binary view of geo across
508- // schema and expressions in this PR. CRS is lost at the FFI boundary
509- // either way -- there is no side channel for it here. Once real FFI geo
510- // support lands, new NullTypeTag::Geometry / ::Geography variants will
511- // replace this arm.
503+ // TODO: Once real FFI geo support lands, new NullTypeTag::Geometry / ::Geography variants
504+ // willreplace this arm.
512505 PrimitiveType :: Geometry ( _) | PrimitiveType :: Geography ( _) => ( Self :: Binary , 0 , 0 ) ,
513506 } ,
514507 _ => ( Self :: NonPrimitive , 0 , 0 ) ,
0 commit comments