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

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

                Author: ASF GitHub Bot
            Created on: 24/Mar/21 00:45
            Start Date: 24/Mar/21 00:45
    Worklog Time Spent: 10m 
      Work Description: ibzib merged pull request #14316:
URL: https://github.com/apache/beam/pull/14316


   


-- 
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: 570871)
    Time Spent: 20m  (was: 10m)

> TVF with no arguments causes ArrayIndexOutOfBoundsException.
> ------------------------------------------------------------
>
>                 Key: BEAM-12042
>                 URL: https://issues.apache.org/jira/browse/BEAM-12042
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql-zetasql
>            Reporter: Kyle Weaver
>            Assignee: Kyle Weaver
>            Priority: P2
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Line where exception is thrown:
> https://github.com/apache/beam/blob/0c01636fc8610414859d946cb93eabc904123fc8/sdks/java/extensions/sql/zetasql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/translation/TVFScanConverter.java#L55
> Example query:
> CREATE TABLE FUNCTION CustomerRange()
>   AS
>   SELECT 1 as id
>     UNION ALL
>     SELECT 3 as id
>     UNION ALL
>     SELECT 4 as id
>     UNION ALL
>     SELECT 5 as id;
> SELECT id FROM CustomerRange();



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

Reply via email to