You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/23 23:30:00 UTC

[jira] [Work logged] (BEAM-11798) Support COVAR_POP function in Beam ZetaSQL

     [ https://issues.apache.org/jira/browse/BEAM-11798?focusedWorklogId=556642&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556642 ]

ASF GitHub Bot logged work on BEAM-11798:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Feb/21 23:29
            Start Date: 23/Feb/21 23:29
    Worklog Time Spent: 10m 
      Work Description: ibzib commented on a change in pull request #13915:
URL: https://github.com/apache/beam/pull/13915#discussion_r581465998



##########
File path: sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlDslAggregationTest.java
##########
@@ -1010,4 +1012,39 @@ public void testCountIfFunction() throws Exception {
     PAssert.that(result).containsInAnyOrder(rowResult);
     pipeline.run().waitUntilFinish();
   }
+
+  @Test
+  public void testCovarPopFunction() throws Exception {

Review comment:
       We already have a test for covar_pop in https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlDslAggregationCovarianceTest.java.

##########
File path: sdks/java/extensions/sql/zetasql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/SupportedZetaSqlBuiltinFunctions.java
##########
@@ -443,9 +443,9 @@
           // FunctionSignatureId.FN_CORR, // corr
           // FunctionSignatureId.FN_CORR_NUMERIC, // corr
           // FunctionSignatureId.FN_CORR_BIGNUMERIC, // corr
-          // FunctionSignatureId.FN_COVAR_POP, // covar_pop
-          // FunctionSignatureId.FN_COVAR_POP_NUMERIC, // covar_pop
-          // FunctionSignatureId.FN_COVAR_POP_BIGNUMERIC, // covar_pop
+          FunctionSignatureId.FN_COVAR_POP, // covar_pop

Review comment:
       We shouldn't enable this if we know it doesn't work.




----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 556642)
    Remaining Estimate: 0h
            Time Spent: 10m

> Support COVAR_POP function in Beam ZetaSQL
> ------------------------------------------
>
>                 Key: BEAM-11798
>                 URL: https://issues.apache.org/jira/browse/BEAM-11798
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql-zetasql
>            Reporter: Sonam Ramchand
>            Priority: P2
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)