[ https://issues.apache.org/jira/browse/ASTERIXDB-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15488993#comment-15488993 ]
ASF subversion and git services commented on ASTERIXDB-1629: ------------------------------------------------------------ Commit f798175f238d1646d474e717ddded33c4432e880 in asterixdb's branch refs/heads/master from [~buyingyi] [ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=f798175 ] ASTERIXDB-1629: fix the open record constructor type computer. Change-Id: I1a6ad39a889a774d6e448b2efe90134b5490f7c8 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1167 Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Till Westmann <ti...@apache.org> > Union All with global aggregates fails > -------------------------------------- > > Key: ASTERIXDB-1629 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1629 > Project: Apache AsterixDB > Issue Type: Bug > Components: Optimizer > Reporter: Yingyi Bu > Assignee: Yingyi Bu > > query: > {noformat} > SELECT COUNT(1) AS one FROM items > UNION ALL > SELECT COUNT(1) AS one FROM items; > {noformat} > A runtime error is thrown: > {noformat} > Invalid types for casting, required type generalized-record-type: closed { > one: UNION(INT64, NULL, MISSING) > } > , input type null: closed { > one: UNION(INT64, NULL, MISSING) > } > [IllegalStateException] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)