Skip to content

Commit 114da36

Browse files
committed
increasing CommandTimeout on Tabular unused columns report to infinite
1 parent 79d245e commit 114da36

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SSAS/UnusedColumnsPlugin.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public override void Exec()
139139
conn.Open();
140140
System.Data.Common.DbCommand cmd = conn.CreateCommand();
141141
cmd.CommandText = sandbox.GetSourceQueryDefinition(table.Id);
142+
cmd.CommandTimeout = 0;
142143
cmd.Prepare();
143144
System.Data.Common.DbDataReader reader = cmd.ExecuteReader(CommandBehavior.SchemaOnly);
144145
DataTable tbl = reader.GetSchemaTable();

0 commit comments

Comments
 (0)