HappenLee commented on code in PR #48956:
URL: https://github.com/apache/doris/pull/48956#discussion_r1997672942
##########
be/src/vec/functions/functions_geo.cpp:
##########
@@ -904,6 +906,74 @@ struct StAsBinary {
}
};
+struct StGeomFromKML {
+ static constexpr auto NEED_CONTEXT = true;
+ static constexpr auto NAME = "st_geomfromkml";
+ static const size_t NUM_ARGS = 1;
+ using Type = DataTypeString;
+
+ static Status execute(FunctionContext* context, Block& block, const
ColumnNumbers& arguments,
+ size_t result) {
+ DCHECK_EQ(arguments.size(), 1);
+ auto return_type = block.get_data_type(result);
Review Comment:
useless variables?delete
--
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]