diff --git a/samples/Apache.IoTDB.Samples/SessionPoolTest.cs b/samples/Apache.IoTDB.Samples/SessionPoolTest.cs index e027e56..ed9d6d3 100644 --- a/samples/Apache.IoTDB.Samples/SessionPoolTest.cs +++ b/samples/Apache.IoTDB.Samples/SessionPoolTest.cs @@ -473,7 +473,7 @@ await session_pool.ExecuteNonQueryStatementAsync( "select status, temperature, hardware from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10"); res.ShowTableNames(); var columnNames = new List { "root.TEST_CSHARP_CLIENT_GROUP_97209.TEST_CSHARP_CLIENT_DEVICE.status", "root.TEST_CSHARP_CLIENT_GROUP_97209.TEST_CSHARP_CLIENT_DEVICE.temperature", "root.TEST_CSHARP_CLIENT_GROUP_97209.TEST_CSHARP_CLIENT_DEVICE.hardware" }; - System.Diagnostics.Debug.Assert(res.ColumnNames.SequenceEqual(columnNames), "The columnnNames are not equal"); + Console.WriteLine(res.ColumnNames); while (res.HasNext()) Console.WriteLine(res.Next()); await res.Close();