yiguolei commented on code in PR #66204:
URL: https://github.com/apache/doris/pull/66204#discussion_r3727921259
##########
be/src/exprs/function/function_variant_type.cpp:
##########
@@ -29,6 +34,113 @@ class FunctionContext;
namespace doris {
+namespace {
+
+using TypeInfo = std::map<std::string, std::string>;
+
+std::string_view encoded_variant_type_word(VariantRef value) {
+ switch (value.basic_type()) {
+ case VariantBasicType::SHORT_STRING:
Review Comment:
我现在在想,我们是否有必要引入新的primitive type了。
可能我们始终需要把我们的格式写入 parquet 的时候做一个primitive的转换。
或者我们从parquet 里读取完的时候,做一个转换是不是就ok了?
--
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]