You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Masaki Yamakawa (JIRA)" <ji...@apache.org> on 2018/02/25 12:20:00 UTC

[jira] [Updated] (GEODE-4744) Allow java.util.Map#get in OQL when security is enabled

     [ https://issues.apache.org/jira/browse/GEODE-4744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masaki Yamakawa updated GEODE-4744:
-----------------------------------
    Description: 
I am migrating from GemFire 7.x to Geode. After migration, An exception is now thrown in OQL when security is enabled.
The OQL in which the exception occurs is as follows:

{code:sql}
select * from /RegionA a where a['intData']=1 and a['strData1']='ABC' and a.get(1)=98 and a.get('strData2')='DEF'
{code}
{code:sql}
select * from /RegionB where mapField.get('mapData1')='ZZZ' and mapField.get(0)=123
{code}
* The value of Region A is java.util.Map, the value of Region B is its domain object, and it holds the public field of java.util.Map called mapField.

I would like to allow java.util.Map#get in OQL.

  was:
I am migrating from GemFire 7.x to Geode. After migration, An exception is now thrown in OQL when security is enabled.
The OQL in which the exception occurs is as follows:

```SQL
select * from /RegionA a where a['intData']=1 and a['strData1']='ABC' and a.get(1)=98 and a.get('strData2')='DEF'
```
```SQL
select * from /RegionB where mapField.get('mapData1')='ZZZ' and mapField.get(0)=123
```
> The value of Region A is java.util.Map, the value of Region B is its domain object, and it holds the public field of java.util.Map called mapField.

I would like to allow java.util.Map#get in OQL.


> Allow java.util.Map#get in OQL when security is enabled
> -------------------------------------------------------
>
>                 Key: GEODE-4744
>                 URL: https://issues.apache.org/jira/browse/GEODE-4744
>             Project: Geode
>          Issue Type: Improvement
>          Components: querying
>            Reporter: Masaki Yamakawa
>            Priority: Major
>
> I am migrating from GemFire 7.x to Geode. After migration, An exception is now thrown in OQL when security is enabled.
> The OQL in which the exception occurs is as follows:
> {code:sql}
> select * from /RegionA a where a['intData']=1 and a['strData1']='ABC' and a.get(1)=98 and a.get('strData2')='DEF'
> {code}
> {code:sql}
> select * from /RegionB where mapField.get('mapData1')='ZZZ' and mapField.get(0)=123
> {code}
> * The value of Region A is java.util.Map, the value of Region B is its domain object, and it holds the public field of java.util.Map called mapField.
> I would like to allow java.util.Map#get in OQL.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)