Skip to content

Commit fbbff3b

Browse files
table schema columns and 1st 10 rows debug logging cleanup (#61)
1 parent 05bb254 commit fbbff3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/tableView.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export class TableView {
227227

228228
// infer table shema
229229
this._tableSchema = await table.infer(this._inferDataSize);
230-
console.log('tabular.data.view:tableInfo:', this._tableSchema);
230+
console.log('tabular.data.view:tableSchema: columns:', this._tableSchema.fields);
231231
statusBar.showColumns(this._tableSchema.fields);
232232

233233
// create readable CSV data file stream
@@ -269,7 +269,7 @@ export class TableView {
269269
const endReadTime: Date = new Date();
270270
this._loadTime = (endReadTime.getTime() - startReadTime.getTime());
271271
statusBar.loadTime = this._loadTime;
272-
this.logTableData(tableRows, table.headers);
272+
this.logTableData(tableRows); //, table.headers);
273273

274274
// udpate table view state
275275
this._tableData = tableRows;
@@ -411,8 +411,8 @@ export class TableView {
411411
console.log('tabular.data.view:loadedRows:', tableData.length.toLocaleString());
412412
if (columns) {
413413
console.log('\tcolumns:', columns );
414+
console.log('1st 10 rows:', tableData.slice(0, 10));
414415
}
415-
console.log('1st 10 rows:', tableData.slice(0, 10));
416416
}
417417

418418
/**

0 commit comments

Comments
 (0)