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

Jared Stewart updated GEODE-1907:
---------------------------------
    Comment: was deleted

(was: I was unable to reproduce:

{code}
gfsh>query --region=regionA --query="select * from /regionA"

Result     : true
startCount : 0
endCount   : 20
Rows       : 3

Result
------
3
2
1

NEXT_STEP_NAME : END

gfsh>query --region=regionA --query="select * from /regionA limit 2"

Result     : true
startCount : 0
endCount   : 20
Rows       : 2

Result
------
3
1

NEXT_STEP_NAME : END

gfsh>query --region=regionA --query="select * from/regionA limit 2"

Result     : true
startCount : 0
endCount   : 20
Rows       : 2

Result
------
3
1

NEXT_STEP_NAME : END
{code}

The query without a space after FROM also worked properly in pulse as well.)

> QueryDataFunction does not add LIMIT clause if space is missing after FROM 
> clause
> ---------------------------------------------------------------------------------
>
>                 Key: GEODE-1907
>                 URL: https://issues.apache.org/jira/browse/GEODE-1907
>             Project: Geode
>          Issue Type: Bug
>          Components: management, querying
>            Reporter: Kirk Lund
>            Assignee: Jared Stewart
>            Priority: Minor
>             Fix For: 1.0.0-incubating
>
>
> Apparently "SELECT * FROM/MyRegion" is a valid query in Geode, however if 
> this query is used from GFSH or Pulse, then QueryDataFunction will fail to 
> add a LIMIT clause because there is no space between FROM and the region name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to