mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
fix: removed console logs from logs page (#6625)
this PR removes the console logs that were added during WITH query development
This commit is contained in:
@@ -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);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user