[teiid-issues] [JBoss JIRA] (TEIID-2919) BigInteger and BigDecimal datatypes are converted into string in MongoDB translator

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed May 7 13:54:57 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966258#comment-12966258 ] 

RH Bugzilla Integration commented on TEIID-2919:
------------------------------------------------

Van Halbert <vhalbert at redhat.com> changed the Status of [bug 1084373|https://bugzilla.redhat.com/show_bug.cgi?id=1084373] from NEW to MODIFIED

>  BigInteger and BigDecimal datatypes are converted into string in MongoDB translator 
> -------------------------------------------------------------------------------------
>
>                 Key: TEIID-2919
>                 URL: https://issues.jboss.org/browse/TEIID-2919
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.4
>            Reporter: Filip Elias
>            Assignee: Steven Hawkins
>             Fix For: 8.7.1, 8.8
>
>
> Description of problem:
> BigInteger and BigDecimal datatypes are converted into string in MongoDB translator (MongoDBExecutionFactory.java). User can't use these datatypes in the WHERE clause.
> For example
> The query:
>  
> SELECT IntKey FROM SmallA where BIGINTEGERVALUE > 1 
> returns no results because BIGINTEGERVALUE > 1 is converted into
>  { "BIGINTEGERVALUE" : { "$gt" : "1"}}
> but is should be 
>  { "BIGINTEGERVALUE" : { "$gt" : 1}}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the teiid-issues mailing list