[infinispan-issues] [JBoss JIRA] (ISPN-8482) Projection of enum field returns number instead of constant

Gustavo Fernandes (JIRA) issues at jboss.org
Fri Nov 3 05:37:00 EDT 2017


Gustavo Fernandes created ISPN-8482:
---------------------------------------

             Summary: Projection of enum field returns number instead of constant
                 Key: ISPN-8482
                 URL: https://issues.jboss.org/browse/ISPN-8482
             Project: Infinispan
          Issue Type: Bug
          Components: Remote Querying
    Affects Versions: 9.2.0.Alpha2
            Reporter: Gustavo Fernandes
            Assignee: Adrian Nistor


Consider the query below where Gender is mapped in protobuf as an {{enum}}:

{code:sql}
select p.gender, count(p.name) from Person p group by p.gender
{code}

The returned projection is numeric rather than MALE/FEMALE.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list