You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "mmartell (GitHub)" <gi...@apache.org> on 2018/11/27 15:52:57 UTC
[GitHub] [geode-native] mmartell opened pull request #409:
GEODE-4346: .NET function execution example
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] pdxcodemonkey closed pull request #409:
GEODE-4346: .NET function execution example
Posted by "pdxcodemonkey (GitHub)" <gi...@apache.org>.
[ pull request closed by pdxcodemonkey ]
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
I don't think the output looks like this, anymore. Line 75 just prints the number of elements in the result set, nothing more.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
Please update README.md with the correct output:
```
C:\Program Files\nativeclient\examples\build\dotnet\FunctionExecutionCs\Debug>FunctionExecutionCs.exe
Storing id and username in the region
Getting the user info from the region
rtimmons = Robert Timmons
scharles = Sylvia Charles
Result count of: 1
```
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
I don't think the output looks like this, anymore. Line 75 in Program.cs just prints the number of elements in the result set, nothing more.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
this readme still looks like it is a copy of another example...
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
formatting here down got messed up
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
I feel that we're adding unnecessary complexity. Why are we building oddKeyFilter, if the only thing we're going to do with it is add each element to oddKeyArgs? Why not just build the latter and throw out the former?
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on issue #409: GEODE-4346:
.NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
All requested changes have made. Thanks for catching the outdated README.md and for suggestion to remove unused code .
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
The idea was to show what someone might do with the results... we don't have anywhere to send `resultList` off to for further processing and didn't add an extraneous comment about it... thought it was implied...
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
Did u run it?
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
is wrong region name, no?
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
Not sure this key removal belongs in this example... what illustrative purpose does it serve?
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
resultList is not "really" being used. I don't think it, or the following for loop should be in the example if we're just going to print the number of elements in the result set.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on issue #409: GEODE-4346:
.NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Good review guvner. All corrections made.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
formatting
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
README updated.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
Maybe we should take that line out then, so that people don't wonder why it is never printed.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on issue #409: GEODE-4346:
.NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
The Travis failure is being fixed by https://github.com/apache/geode-native/pull/421
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] igodwin commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "igodwin (GitHub)" <gi...@apache.org>.
It wouldn't be what's in the README. The print from line 75 is missing, and I don't see where lines 21 and on (in the README) would come from. `Console.WriteLine("Result count of: " + res.Count)`
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
README.md has been updated with correct output.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Agreed. Removed.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Good catch. Fixed all the C# examples.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
quite certain that was generated output and then added to the README...
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Good catch igodwin. The updated code for Program.cs now prints out the returned items as well as the count of returned items. Also, as you point out, resultList was not used and has been removed.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Good catch. Docs are key!
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] echobravopapa commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "echobravopapa (GitHub)" <gi...@apache.org>.
please update the entire README.md accordingly for this example
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Looks like the last change wasn't checked in. New commit forthcoming.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on pull request #409:
GEODE-4346: .NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
Fixed.
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org
[GitHub] [geode-native] mmartell commented on issue #409: GEODE-4346:
.NET function execution example
Posted by "mmartell (GitHub)" <gi...@apache.org>.
The Travis failure is being fixed by https://travis-ci.org/apache/geode-native/jobs/468100011
[ Full content available at: https://github.com/apache/geode-native/pull/409 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org