[
https://issues.apache.org/jira/browse/BEAM-8070?focusedWorklogId=404277&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-404277
]
ASF GitHub Bot logged work on BEAM-8070:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Mar/20 22:01
Start Date: 16/Mar/20 22:01
Worklog Time Spent: 10m
Work Description: apilloud commented on pull request #11130: [BEAM-8070]
Preserve type for empty array
URL: https://github.com/apache/beam/pull/11130#discussion_r393334075
##########
File path:
sdks/java/extensions/sql/zetasql/src/test/java/org/apache/beam/sdk/extensions/sql/zetasql/ZetaSQLDialectSpecTest.java
##########
@@ -658,7 +658,6 @@ public void testIfNullNegative() {
}
@Test
- @Ignore("Throws IndexOutOfBoundsException")
public void testConstructEmptyArrayLiteral() {
Review comment:
Done.
----------------------------------------------------------------
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: 404277)
Time Spent: 1h (was: 50m)
> Support empty array literal
> ---------------------------
>
> Key: BEAM-8070
> URL: https://issues.apache.org/jira/browse/BEAM-8070
> Project: Beam
> Issue Type: Sub-task
> Components: dsl-sql-zetasql
> Reporter: Rui Wang
> Assignee: Andrew Pilloud
> Priority: Major
> Labels: zetasql-compliance
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Currently BeamSQL throws an IndexOutOfBoundsException when given a query with
> an empty array literal. This happens because Calcite attempts to infer the
> element types [1,2] from an empty element list.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)