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


The following commit(s) were added to refs/heads/ignite-11525 by this push:
     new ba9ceef  Fixing examples - sql
ba9ceef is described below

commit ba9ceefaa2dd46ab47cae84c13610260f86a85c7
Author: Pavel Tupitsyn <ptupit...@apache.org>
AuthorDate: Fri Apr 5 17:09:00 2019 +0300

    Fixing examples - sql
---
 .../dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs 
b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs
index 680c469..20de310 100644
--- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs
+++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlExample.cs
@@ -115,7 +115,7 @@ namespace Apache.Ignite.Examples.Sql
             const string orgName = "Apache";
 
             var qry = cache.Query(new SqlFieldsQuery(
-                "select name from from Employee, 
\"dotnet_cache_query_organization\".Organization " +
+                "select Employee.name from Employee, 
\"dotnet_cache_query_organization\".Organization " +
                 "where Employee.organizationId = Organization._key and 
Organization.name = ?", orgName));
 
             Console.WriteLine();
@@ -134,7 +134,7 @@ namespace Apache.Ignite.Examples.Sql
             const string orgName = "Apache";
 
             var qry = cache.Query(new SqlFieldsQuery(
-                "select name from from Employee, 
\"dotnet_cache_query_organization\".Organization " +
+                "select Employee.name from Employee, 
\"dotnet_cache_query_organization\".Organization " +
                 "where Employee.organizationId = Organization._key and 
Organization.name = ?", orgName)
             {
                 EnableDistributedJoins = true,
@@ -142,7 +142,7 @@ namespace Apache.Ignite.Examples.Sql
             });
 
             Console.WriteLine();
-            Console.WriteLine(">>> Employees working for " + orgName + ":");
+            Console.WriteLine(">>> Employees working for " + orgName + " 
(distributed joins enabled):");
 
             foreach (var entry in qry)
                 Console.WriteLine(">>>     " + entry[0]);

Reply via email to