SaintBacchus commented on code in PR #9725:
URL: https://github.com/apache/incubator-doris/pull/9725#discussion_r878979650
##########
fe/fe-core/src/main/java/org/apache/doris/common/Pair.java:
##########
@@ -22,14 +22,15 @@
import com.google.gson.annotations.SerializedName;
+import java.io.Serializable;
import java.util.Comparator;
/**
* The equivalent of C++'s std::pair<>.
*
* Notice: When using Pair for persistence, users need to guarantee that F and
S can be serialized through Gson
*/
-public class Pair<F, S> {
+public class Pair<F, S> implements Serializable {
Review Comment:
I planned to seriable profile to bytes. And now I will remove this
--
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]