Skip to content

Commit

Permalink
Update SessionPoolTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou authored Nov 14, 2024
1 parent e6b7165 commit 3f884a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/Apache.IoTDB.Samples/SessionPoolTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> { "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();
Expand Down

0 comments on commit 3f884a1

Please sign in to comment.