Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoPhilipse committed Jun 5, 2020
1 parent cb21d5d commit 726371c
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ class StreamingInnerJoinSuite extends StreamTest with StateStoreMetricsTest with
.withWatermark("leftTime", "10 seconds")

val df2 = rightInput.toDF.toDF("rightKey", "time")
.select('rightKey, timestamp_seconds($"time") as "rightTime", ('rightKey * 3) as "rightValue")
.select('rightKey, timestamp_seconds($"time") as "rightTime",
('rightKey * 3) as "rightValue")
.withWatermark("rightTime", "10 seconds")

val joined =
Expand Down Expand Up @@ -241,7 +242,8 @@ class StreamingInnerJoinSuite extends StreamTest with StateStoreMetricsTest with
.withWatermark("leftTime", "20 seconds")

val df2 = rightInput.toDF.toDF("rightKey", "time")
.select('rightKey, timestamp_seconds($"time") as "rightTime", ('rightKey * 3) as "rightValue")
.select('rightKey, timestamp_seconds($"time") as "rightTime",
('rightKey * 3) as "rightValue")
.withWatermark("rightTime", "30 seconds")

val condition = expr(
Expand Down Expand Up @@ -688,7 +690,8 @@ class StreamingOuterJoinSuite extends StreamTest with StateStoreMetricsTest with
.withWatermark("leftTime", "10 seconds")

val df2 = rightInput.toDF.toDF("rightKey", "time")
.select('rightKey, timestamp_seconds($"time") as "rightTime", ('rightKey * 3) as "rightValue")
.select('rightKey, timestamp_seconds($"time") as "rightTime",
('rightKey * 3) as "rightValue")
.withWatermark("rightTime", "10 seconds")

val joined =
Expand Down

0 comments on commit 726371c

Please sign in to comment.