OIiveirra commented on code in PR #69032:
URL: https://github.com/apache/doris/pull/69032#discussion_r4344542356


##########
be/src/exprs/function/geo/functions_geo.cpp:
##########
@@ -382,16 +798,25 @@ struct StAreaSquareMeters {
         auto return_type = block.get_data_type(result);
 
         auto col = 
block.get_by_position(arguments[0]).column->convert_to_full_column_if_const();
+        const auto& input_type = block.get_data_type(arguments[0]);
+        RETURN_IF_ERROR(validate_geography_semantics(input_type, NAME));

Review Comment:
   Fixed in 
[b6197ea6955](https://github.com/apache/doris/commit/b6197ea6955007568cf0b80d59621e67dc5c7450).
 Both area functions preserve spatial metadata in FE and use the existing 
spatial BE wrapper for mixed NULL rows. Added actual Iceberg-column, NULL, unit 
and boundary regressions. FE UT 63/63, BE UT 127/127 and Iceberg 
generation/verification passed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to