[ https://issues.apache.org/jira/browse/BEAM-7844?focusedWorklogId=286107&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-286107 ]
ASF GitHub Bot logged work on BEAM-7844: ---------------------------------------- Author: ASF GitHub Bot Created on: 31/Jul/19 17:56 Start Date: 31/Jul/19 17:56 Worklog Time Spent: 10m Work Description: akedin commented on pull request #9185: [BEAM-7844] Custom MetadataHandler for RowRateWindow URL: https://github.com/apache/beam/pull/9185#discussion_r309349055 ########## File path: sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/planner/RowRateWindow.java ########## @@ -0,0 +1,51 @@ +/* + * 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.sdk.extensions.sql.impl.planner; + +/** This is a utility class to represent rowCount, rate and window. */ +public class RowRateWindow { Review comment: I think `@AutoValue` can make this class smaller ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 286107) Time Spent: 2h 50m (was: 2h 40m) > Custom MetadataHandler for RowRateWindow > ---------------------------------------- > > Key: BEAM-7844 > URL: https://issues.apache.org/jira/browse/BEAM-7844 > Project: Beam > Issue Type: New Feature > Components: dsl-sql > Reporter: Alireza Samadianzakaria > Assignee: Alireza Samadianzakaria > Priority: Major > Time Spent: 2h 50m > Remaining Estimate: 0h > > Calcite has a getRowCount method and a handler for that. However, we need > rate and window as well. This is a requirement for Beam-7777 -- This message was sent by Atlassian JIRA (v7.6.14#76016)