-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Spark load][Fe 5/6] Fe submit spark etl job #3716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,15 +17,21 @@ | |
|
|
||
| package org.apache.doris.common; | ||
|
|
||
| import com.google.gson.annotations.SerializedName; | ||
|
|
||
| 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 static PairComparator<Pair<?, Comparable>> PAIR_VALUE_COMPARATOR = new PairComparator<>(); | ||
|
|
||
| @SerializedName(value = "first") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'am not sure this is ok, cause there is no guarantee that the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Users guarantee this when use Pair class?like Map and List.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked, this is not work
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I add a comment. |
||
| public F first; | ||
| @SerializedName(value = "second") | ||
| public S second; | ||
|
|
||
| public Pair(F first, S second) { | ||
|
|
||
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.