You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2019/04/05 11:28:41 UTC

[ignite] branch ignite-11525 updated (ab3b08d -> 61ef906)

This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a change to branch ignite-11525
in repository https://gitbox.apache.org/repos/asf/ignite.git.


    from ab3b08d  Fixing examples
     new 1dc84bd  Fixing examples
     new 61ef906  Fixing examples

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


[ignite] 01/02: Fixing examples

Posted by pt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-11525
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 1dc84bdfe6a77bd419a02ed5698f3dd17ea3a721
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Fri Apr 5 14:26:51 2019 +0300

    Fixing examples
---
 .../examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
index 40b0fa0..ed02e44 100644
--- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
+++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
@@ -176,8 +176,7 @@ namespace Apache.Ignite.Examples.Datagrid
             const string orgName = "Apache";
 
             var qry = cache.Query(new SqlFieldsQuery(
-                PersonType,
-                "select Person.* from Person, Company where Person.CompanyId = Company.Id and Company.Name = ?",
+                "select pers.* from Person as pers, Company as comp where pers.CompanyId = comp.Id and comp.Name = ?",
                 orgName)
             {
                 EnableDistributedJoins = true,
@@ -188,7 +187,7 @@ namespace Apache.Ignite.Examples.Datagrid
             Console.WriteLine(">>> Persons working for " + orgName + ":");
 
             foreach (var entry in qry)
-                Console.WriteLine(">>>     " + entry.Value);
+                Console.WriteLine(">>>     " + entry);
         }
 
         /// <summary>


[ignite] 02/02: Fixing examples

Posted by pt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-11525
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 61ef90646be3f23dbce9eead649a0ee8a13f5f11
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Fri Apr 5 14:28:31 2019 +0300

    Fixing examples
---
 .../examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
index ed02e44..f4a5cfa 100644
--- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
+++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
@@ -187,7 +187,7 @@ namespace Apache.Ignite.Examples.Datagrid
             Console.WriteLine(">>> Persons working for " + orgName + ":");
 
             foreach (var entry in qry)
-                Console.WriteLine(">>>     " + entry);
+                Console.WriteLine(">>>     " + entry); // TODO: What do we print?
         }
 
         /// <summary>