Skip to content

Commit 5db30c2

Browse files
committed
Add lower limit for full fields processing
1 parent be7bb80 commit 5db30c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/helpers/metadataProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export async function processAllMetadata(forceRefresh = false) : Promise<Metadat
264264

265265
console.log('[minusx] Filtering fields for', validTableNames.size, 'valid tables...')
266266

267-
const filteredFields = cards.length < 100 ? allFields : allFields.filter((field: any) => {
267+
const filteredFields = cards.length < 100 || allFields.length < 20000 ? allFields : allFields.filter((field: any) => {
268268
const tableName = get(field, 'table_name')
269269
const tableSchema = get(field, 'schema')
270270
const fullTableName = tableSchema ? `${tableSchema}.${tableName}` : tableName

0 commit comments

Comments
 (0)