Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/Ydb.Sdk/tests/Ado/YdbSchemaTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public async Task GetSchema_WhenTablesWithStatsCollection_ReturnAllTables()
{
tableNames.Remove(row["table_name"].ToString()!);

Assert.Equal(0UL, row["rows_estimate"]);
Assert.NotNull(row["creation_time"]);
Assert.Equal(DBNull.Value, row["modification_time"]);
}
Expand All @@ -97,15 +96,13 @@ public async Task GetSchema_WhenTablesWithStatsCollection_ReturnAllTables()
Assert.Equal(1, singleTable1.Rows.Count);
Assert.Equal(table1, singleTable1.Rows[0]["table_name"].ToString());
Assert.Equal("TABLE", singleTable1.Rows[0]["table_type"].ToString());
Assert.Equal(0UL, singleTable1.Rows[0]["rows_estimate"]);
Assert.NotNull(singleTable1.Rows[0]["creation_time"]);
Assert.Equal(DBNull.Value, singleTable1.Rows[0]["modification_time"]);

var singleTable2 = await ydbConnection.GetSchemaAsync("TablesWithStats", new[] { table2, null });
Assert.Equal(1, singleTable2.Rows.Count);
Assert.Equal(table2, singleTable2.Rows[0]["table_name"].ToString());
Assert.Equal("TABLE", singleTable2.Rows[0]["table_type"].ToString());
Assert.Equal(0UL, singleTable2.Rows[0]["rows_estimate"]);
Assert.NotNull(singleTable2.Rows[0]["creation_time"]);
Assert.Equal(DBNull.Value, singleTable2.Rows[0]["modification_time"]);

Expand Down
Loading