[ https://issues.apache.org/jira/browse/BEAM-9984?focusedWorklogId=434638&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-434638 ]
ASF GitHub Bot logged work on BEAM-9984: ---------------------------------------- Author: ASF GitHub Bot Created on: 18/May/20 22:06 Start Date: 18/May/20 22:06 Worklog Time Spent: 10m Work Description: omarismail94 commented on a change in pull request #11737: URL: https://github.com/apache/beam/pull/11737#discussion_r426918300 ########## File path: sdks/java/extensions/sql/zetasql/src/test/java/org/apache/beam/sdk/extensions/sql/zetasql/ZetaSQLDialectSpecTest.java ########## @@ -4500,6 +4499,23 @@ public void testIsNullTrueFalse() { pipeline.run().waitUntilFinish(Duration.standardMinutes(PIPELINE_EXECUTION_WAITTIME_MINUTES)); } + @Test + public void testZetaSQLBitOr() { Review comment: Zeta was surprisingly easier than Calcite! ---------------------------------------------------------------- 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: 434638) Time Spent: 1h 50m (was: 1h 40m) > Support BIT_OR aggregation function in Beam SQL > ----------------------------------------------- > > Key: BEAM-9984 > URL: https://issues.apache.org/jira/browse/BEAM-9984 > Project: Beam > Issue Type: Task > Components: dsl-sql, dsl-sql-zetasql > Reporter: Kenneth Knowles > Assignee: Omar Ismail > Priority: P2 > Labels: starter > Time Spent: 1h 50m > Remaining Estimate: 0h > > Performs a bitwise OR operation on expression and returns the result. > Supported Argument Types: INT64 > Returned Data Types: INT64 > Examples > {code:sql} > SELECT BIT_OR(c) as bit_and FROM UNNEST([0xF001, 0x00A1]) as c; > +---------+ > | bit_and | > +---------+ > | 1 | > +---------+ > {code} > What is expected: should include both Calcite and ZetaSQL dialects. > How to test: unit tests > Reference: > https://cloud.google.com/bigquery/docs/reference/standard-sql/aggregate_functions#bit_or -- This message was sent by Atlassian Jira (v8.3.4#803005)