-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BEAM-5392] group by key non merging window optimalization #49
base: beamMaster
Are you sure you want to change the base?
[BEAM-5392] group by key non merging window optimalization #49
Conversation
w, | ||
windowingStrategy.getWindowFn().getOutputTime(windowedValue.getTimestamp(), w)); | ||
WindowedValue<K> keyWinValue = | ||
WindowedValue.of(key, timestamp, w, windowedValue.getPane()); //todo predavat pane |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo??
|
||
@Override | ||
public int compare(CompositeKey o1, CompositeKey o2) { | ||
int keyCompare = SignedBytes.lexicographicalComparator().compare(o1.getKey(), o2.getKey()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unsigned
* @param <K> type of key iterator emits | ||
* @param <V> type of value iterator emits | ||
*/ | ||
static class ReduceByKeyIterator<K, V, W extends BoundedWindow> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GroupByKeyIteratoror
Iterators.transform(itr, t2 -> t2._1.withValue(KV.of(t2._1().getValue(), t2._2()))); | ||
} | ||
|
||
public static class CompositeKeyComparator implements Comparator<CompositeKey>, Serializable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private
33ef415
to
41d4b8f
Compare
ab8e5e9
to
997caf4
Compare
ceaee54
to
b95a484
Compare
d66cbeb
to
5189810
Compare
…ynthetic data to Kafka topic
This prints a warning when checkpointing is disabled and pipelines are run with the FlinkRunner which contain UnboundedSources. Most UnboundedSources rely on checkpoint acknowledgement, e.g. PubSubIO.
This prints a warning when checkpointing is disabled and pipelines are run with the FlinkRunner which contain UnboundedSources. Most UnboundedSources rely on checkpoint acknowledgement, e.g. PubSubIO.
…ython connector Write
…ogle-api-core 1.7.0
…of null constructor in ByteArrayShufflePosition
- MetricKey - MetricName - MetricQueryResults - MetricsContainerStepMap
… support for Java SDK
Generic types are de-facto @nullable so this annotation is redundant and probably only existed to make FindBugs happy.
…zed side inputs between Spark tasks
835132f
to
5a7e8fa
Compare
…n encoding Key columns.
Adds withKmsKey() methods to reads and writes. Affects tables created tables by: streaming writes, batched writes, query temporary tables, table copies (for very large batched writes).
[BEAM-5667] Use BeamDeprecationWarning in BQ client code.
[BEAM-6636] Remove --kmsKey usage
…y3 limitations. (apache#7773) * Restrict pyvcf dependency to Python 2 and link Jira issues tracking Py3 limitations. * Skip all VCF IO tests so that we don't need to install pyvcf on Python 3. * Don't import VCF on Python 2.
…get()" This reverts commit 72627eb.
…for kryo registration in Spark runner
[BEAM-5959] KMS support for BigQuery
…transforms (apache#7709) Multi-language support in DefaultJobBundleFactory
…f manual classpath
…r interval >= 25 DAY [BEAM-6632] Fixes integer overflow for interval >= 25 DAY
5a7e8fa
to
023f31d
Compare
Follow this checklist to help us incorporate your contribution quickly and easily:
[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.It will help us expedite review of your Pull Request if you tag someone (e.g.
@username
) to look at it.Post-Commit Tests Status (on master branch)