Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
074cc50f
Unverified
Commit
074cc50f
authored
5 years ago
by
Cam Saul
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused log-results-metadata middleware
parent
a16ed561
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/metabase/query_processor.clj
+0
-1
0 additions, 1 deletion
src/metabase/query_processor.clj
src/metabase/query_processor/middleware/log.clj
+0
-13
0 additions, 13 deletions
src/metabase/query_processor/middleware/log.clj
with
0 additions
and
14 deletions
src/metabase/query_processor.clj
+
0
−
1
View file @
074cc50f
...
...
@@ -135,7 +135,6 @@
log-query/log-initial-query
;; TODO - bind `*query*` here ?
cache/maybe-return-cached-results
log-query/log-results-metadata
validate/validate-query
normalize/normalize
catch-exceptions/catch-exceptions
...
...
This diff is collapsed.
Click to expand it.
src/metabase/query_processor/middleware/log.clj
+
0
−
13
View file @
074cc50f
...
...
@@ -16,16 +16,3 @@
"Middleware for logging a query when it is very first encountered, before it is expanded."
[
qp
]
(
comp
qp
log-initial-query*
))
(
defn-
log-results-metadata*
[
results
]
(
u/prog1
results
(
when-not
i/*disable-qp-logging*
(
log/debug
"Result Metadata:\n"
(
u/pprint-to-str
'blue
(
for
[
col
(
get-in
<>
[
:data
:cols
])]
(
m/filter-vals
(
complement
nil?
)
col
)))))))
(
defn
log-results-metadata
"Middleware that logs the column metadata that comes back with the results."
[
qp
]
(
comp
log-results-metadata*
qp
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment