diff --git a/frontend/components/admin/dashboard/QueryEditor.tsx b/frontend/components/admin/dashboard/QueryEditor.tsx index 825330d4..671024cd 100644 --- a/frontend/components/admin/dashboard/QueryEditor.tsx +++ b/frontend/components/admin/dashboard/QueryEditor.tsx @@ -384,14 +384,14 @@ function generateSampleQueryResult(query: string): QueryResult { // rowCount: rows.length, // sampleRow: rows[0], // allRows: rows, - fieldTypes: { - month: typeof rows[0].month, - galaxy_sales: typeof rows[0].galaxy_sales, - iphone_sales: typeof rows[0].iphone_sales, - other_sales: typeof rows[0].other_sales - }, - firstFewRows: rows.slice(0, 3), - lastFewRows: rows.slice(-3) + // fieldTypes: { + // month: typeof rows[0].month, + // galaxy_sales: typeof rows[0].galaxy_sales, + // iphone_sales: typeof rows[0].iphone_sales, + // other_sales: typeof rows[0].other_sales + // }, + // firstFewRows: rows.slice(0, 3), + // lastFewRows: rows.slice(-3) // }); return { columns,