Skip to content

Conversation

@jose-torres
Copy link
Contributor

What changes were proposed in this pull request?

Propagate metadata in attribute replacement during streaming execution. This is necessary for EventTimeWatermarks consuming replaced attributes.

How was this patch tested?

new unit test, which was verified to fail before the fix

@zsxwing
Copy link
Member

zsxwing commented Aug 4, 2017

ok to test

Copy link
Member

@zsxwing zsxwing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except one nit

.outputMode("append")
.format("console")
.start()
q.processAllAvailable()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: q.processAllAvailable() ->

try {
  q.processAllAvailable()
} finally {
  q.stop()
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@SparkQA
Copy link

SparkQA commented Aug 4, 2017

Test build #80233 has finished for PR 18840 at commit e54d812.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zsxwing
Copy link
Member

zsxwing commented Aug 7, 2017

LGTM pending tests.

@zsxwing
Copy link
Member

zsxwing commented Aug 7, 2017

@Joseph-Torres could you change the PR title to "[SPARK-21565][SS] Propagate metadata in attribute replacement"? We usually put the module name in the PR title.

@jose-torres jose-torres changed the title [SPARK-21565] Propagate metadata in attribute replacement. [SPARK-21565][SS] Propagate metadata in attribute replacement. Aug 7, 2017
@SparkQA
Copy link

SparkQA commented Aug 7, 2017

Test build #80356 has finished for PR 18840 at commit 578e26d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zsxwing
Copy link
Member

zsxwing commented Aug 7, 2017

Thanks! Merging to master and branch-2.2.

asfgit pushed a commit that referenced this pull request Aug 7, 2017
## What changes were proposed in this pull request?

Propagate metadata in attribute replacement during streaming execution. This is necessary for EventTimeWatermarks consuming replaced attributes.

## How was this patch tested?
new unit test, which was verified to fail before the fix

Author: Jose Torres <[email protected]>

Closes #18840 from joseph-torres/SPARK-21565.

(cherry picked from commit cce25b3)
Signed-off-by: Shixiong Zhu <[email protected]>
@asfgit asfgit closed this in cce25b3 Aug 7, 2017
@jose-torres jose-torres deleted the SPARK-21565 branch September 15, 2017 08:10
MatthewRBruce pushed a commit to Shopify/spark that referenced this pull request Jul 31, 2018
## What changes were proposed in this pull request?

Propagate metadata in attribute replacement during streaming execution. This is necessary for EventTimeWatermarks consuming replaced attributes.

## How was this patch tested?
new unit test, which was verified to fail before the fix

Author: Jose Torres <[email protected]>

Closes apache#18840 from joseph-torres/SPARK-21565.

(cherry picked from commit cce25b3)
Signed-off-by: Shixiong Zhu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants