From aa10d42e01232a6cbbf307c4128500e98b475e37 Mon Sep 17 00:00:00 2001 From: Sai Nikhil Date: Thu, 24 Apr 2025 07:12:51 +0530 Subject: [PATCH] fix: removed console logs from logs page (#6625) this PR removes the console logs that were added during WITH query development --- web/src/composables/useLogs.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/src/composables/useLogs.ts b/web/src/composables/useLogs.ts index 8c6d1e612f..572db721d3 100644 --- a/web/src/composables/useLogs.ts +++ b/web/src/composables/useLogs.ts @@ -1842,7 +1842,6 @@ const useLogs = () => { ); } else{ - console.log('here it is') resetHistogramWithError( "Histogram unavailable for CTEs, DISTINCT and LIMIT queries", -1 @@ -2098,7 +2097,6 @@ const useLogs = () => { .filter((line: string) => !line.trim().startsWith("--")) .join("\n"); - console.log(parser.astify(filteredQuery)) return parser.astify(filteredQuery); // return convertPostgreToMySql(parser.astify(filteredQuery)); @@ -4600,12 +4598,9 @@ const useLogs = () => { if (parsedSQL?.with) { let withObj = parsedSQL.with; withObj.forEach((obj: any) => { - console.log("inside withobj", obj) // Map through each "from" array in the _next object, as it can contain multiple tables if (obj?.stmt?.from) { - console.log(obj.stmt.from, "obj.stmt.from") obj?.stmt?.from.forEach((stream: { table: string }) => { - console.log(stream.table , "stream"); newSelectedStreams.push(stream.table); } );