[
https://issues.apache.org/jira/browse/BEAM-10027?focusedWorklogId=439098&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-439098
]
ASF GitHub Bot logged work on BEAM-10027:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/May/20 15:08
Start Date: 30/May/20 15:08
Worklog Time Spent: 10m
Work Description: henryken commented on a change in pull request #11761:
URL: https://github.com/apache/beam/pull/11761#discussion_r432845943
##########
File path: learning/katas/kotlin/Core
Transforms/Combine/CombineFn/src/org/apache/beam/learning/katas/coretransforms/combine/combinefn/Task.kt
##########
@@ -0,0 +1,81 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.learning.katas.coretransforms.combine.combinefn
+
+import
org.apache.beam.learning.katas.coretransforms.combine.combinefn.Task.AverageFn.Accum
+import org.apache.beam.learning.katas.util.Log
+import org.apache.beam.sdk.Pipeline
+import org.apache.beam.sdk.options.PipelineOptionsFactory
+import org.apache.beam.sdk.transforms.Combine
+import org.apache.beam.sdk.transforms.Combine.CombineFn
+import org.apache.beam.sdk.transforms.Create
+import org.apache.beam.sdk.values.PCollection
+import java.io.Serializable
+import java.util.*
Review comment:
Seems this import hasn't been removed.
##########
File path: learning/katas/kotlin/Windowing/Fixed Time Window/Fixed Time
Window/test/org/apache/beam/learning/katas/windowing/fixedwindow/WindowedEvent.kt
##########
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.learning.katas.windowing.fixedwindow
+
+import java.io.Serializable
+import java.util.*
Review comment:
Remove unused import.
##########
File path: learning/katas/kotlin/Core
Transforms/Combine/CombineFn/task-info.yaml
##########
@@ -0,0 +1,10 @@
+type: edu
+files:
+- name:
src/org/apache/beam/learning/katas/coretransforms/combine/combinefn/Task.kt
+ visible: true
+ placeholders:
+ - offset: 1951
Review comment:
Can you help to fix the placement of the TODO?

##########
File path: learning/katas/kotlin/Core Transforms/Map/MapElements/task-info.yaml
##########
@@ -0,0 +1,13 @@
+type: edu
+files:
+- name:
src/org/apache/beam/learning/katas/coretransforms/map/mapelements/Task.kt
+ visible: true
+ placeholders:
Review comment:
There are overlapping answer placeholders here.
Please remove one of it.

##########
File path: learning/katas/kotlin/Windowing/Adding
Timestamp/WithTimestamps/task.md
##########
@@ -0,0 +1,39 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+Adding Timestamp - WithTimestamps
+---------------------------------
+
+Bounded sources (such as a file from TextIO) do not provide timestamps for
elements. If you need
+timestamps, you must add them to your PCollection’s elements.
+
+You can assign new timestamps to the elements of a PCollection by applying a
ParDo transform that
+outputs new elements with timestamps that you set.
+
+**Kata:** Please assign each element a timestamp based on the the
`Event.getDate()`.
Review comment:
Please to change the description to `Event.date`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 439098)
Time Spent: 11h 40m (was: 11.5h)
> Support for Kotlin-based Beam Katas
> -----------------------------------
>
> Key: BEAM-10027
> URL: https://issues.apache.org/jira/browse/BEAM-10027
> Project: Beam
> Issue Type: Improvement
> Components: katas
> Reporter: Rion Williams
> Assignee: Rion Williams
> Priority: P2
> Original Estimate: 8h
> Time Spent: 11h 40m
> Remaining Estimate: 0h
>
> Currently, there are a series of examples available demonstrating the use of
> Apache Beam with Kotlin. It would be nice to have support for the same Beam
> Katas that exist for Python, Go, and Java to also support Kotlin.
> The port itself shouldn't be that involved since it can still target the JVM,
> so it would likely just require the inclusion for Kotlin dependencies and a
> conversion for all of the existing Java examples.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)