[ https://issues.apache.org/jira/browse/ASTERIXDB-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16850325#comment-16850325 ]
ASF subversion and git services commented on ASTERIXDB-2547: ------------------------------------------------------------ Commit f76b0f2ed6de78e222864004b638c17927c67d09 in asterixdb's branch refs/heads/master from Ali Alsuliman [ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=f76b0f2 ] [ASTERIXDB-2547][COMP] Disallow passing UNION tag to get comparator - user model changes: no - storage format changes: no - interface changes: no Details: UNION should not be allowed when getting a comparator by tag. The comparator provider returns a generic comparator with types ANY when UNION is passed as a tag. This could cause problems if the actual type is a complex type. UNION should not be allowed. Change-Id: Id8816a0dc5584f0a27410c512f3a44ccfc6c3151 Reviewed-on: https://asterix-gerrit.ics.uci.edu/3404 Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Dmitry Lychagin <dmitry.lycha...@couchbase.com> > UNION should not be allowed when getting a comparator by tag > ------------------------------------------------------------ > > Key: ASTERIXDB-2547 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2547 > Project: Apache AsterixDB > Issue Type: Bug > Components: COMP - Compiler > Affects Versions: 0.9.4 > Reporter: Ali Alsuliman > Assignee: Ali Alsuliman > Priority: Major > > Currently, the comparator provider returns a generic comparator with types > ANY when UNION is passed as a tag. This could cause problems if the actual > type is a complex type. UNION should not be allowed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)