Skip to content

Commit b4b476e

Browse files
committed
Removed debug logs
1 parent da367e2 commit b4b476e

File tree

1 file changed

+0
-10
lines changed
  • internal-packages/clickhouse/src/client

1 file changed

+0
-10
lines changed

internal-packages/clickhouse/src/client/tsql.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ export async function executeTSQL<TOut extends z.ZodSchema>(
116116
fieldMappings: options.fieldMappings,
117117
});
118118

119-
// DEBUG: Log the generated SQL and params
120-
console.log("[TSQL DEBUG] Input query:", options.query);
121-
console.log("[TSQL DEBUG] Generated SQL:", sql);
122-
console.log("[TSQL DEBUG] Params:", JSON.stringify(params, null, 2));
123-
124119
// 2. Execute the query with stats
125120
const queryFn = reader.queryWithStats({
126121
name: options.name,
@@ -132,11 +127,6 @@ export async function executeTSQL<TOut extends z.ZodSchema>(
132127

133128
const [error, result] = await queryFn(params);
134129

135-
// DEBUG: Log query result
136-
console.log("[TSQL DEBUG] Query error:", error);
137-
console.log("[TSQL DEBUG] Raw rows count:", result?.rows?.length ?? 0);
138-
console.log("[TSQL DEBUG] Raw rows:", JSON.stringify(result?.rows?.slice(0, 5), null, 2));
139-
140130
if (error) {
141131
return [error, null];
142132
}

0 commit comments

Comments
 (0)