[
https://issues.apache.org/jira/browse/BEAM-7777?focusedWorklogId=288274&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-288274
]
ASF GitHub Bot logged work on BEAM-7777:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Aug/19 21:29
Start Date: 02/Aug/19 21:29
Worklog Time Spent: 10m
Work Description: akedin commented on pull request #9217: [BEAM-7777]
Beam cost model
URL: https://github.com/apache/beam/pull/9217#discussion_r310303783
##########
File path:
sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/impl/planner/BeamCostModelTest.java
##########
@@ -0,0 +1,104 @@
+/*
+ * 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;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+/** Tests the behavior of BeamCostModel. */
+public class BeamCostModelTest {
+
+ // We should activate it when all the nodes are implementing the cost model.
+ // @Test
Review comment:
What's left to implement?
----------------------------------------------------------------
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: 288274)
Time Spent: 50m (was: 40m)
> Stream Cost Model and RelNode Cost Estimation
> ---------------------------------------------
>
> Key: BEAM-7777
> URL: https://issues.apache.org/jira/browse/BEAM-7777
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql
> Reporter: Alireza Samadianzakaria
> Assignee: Alireza Samadianzakaria
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Currently the cost model is not suitable for streaming jobs. (it uses row
> count and for estimating the output row count of each node it is using
> calcite estimations that are only applicable to bounded data.)
> We need to implement a new cost model and implement cost estimation for all
> of our physical nodes.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)