From 3ef92f03ef66ac620b47a0dac489dd58f5f11a06 Mon Sep 17 00:00:00 2001 From: Haonan Date: Fri, 15 Nov 2024 07:22:27 +0800 Subject: [PATCH] Update SessionPoolTest.cs --- samples/Apache.IoTDB.Samples/SessionPoolTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/Apache.IoTDB.Samples/SessionPoolTest.cs b/samples/Apache.IoTDB.Samples/SessionPoolTest.cs index 438395f..302a840 100644 --- a/samples/Apache.IoTDB.Samples/SessionPoolTest.cs +++ b/samples/Apache.IoTDB.Samples/SessionPoolTest.cs @@ -461,7 +461,7 @@ await session_pool.ExecuteNonQueryStatementAsync( while (res.HasNext()) Console.WriteLine(res.Next()); await res.Close(); - Console.WriteLine("SELECT * sql Passed"); + Console.WriteLine("SELECT sql Passed"); res = await session_pool.ExecuteQueryStatementAsync( "select * from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10"); res.ShowTableNames(); @@ -470,7 +470,7 @@ await session_pool.ExecuteNonQueryStatementAsync( await res.Close(); Console.WriteLine("SELECT sql Passed"); res = await session_pool.ExecuteQueryStatementAsync( - "select timestamp, status, temperature, hardware from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10"); + "select status, temperature, hardware from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10"); res.ShowTableNames(); while (res.HasNext()) Console.WriteLine(res.Next());