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
7d409b7f
Commit
7d409b7f
authored
7 years ago
by
Simon Belak
Browse files
Options
Downloads
Patches
Plain Diff
Remove extraneous dependencies.
parent
c2266350
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
project.clj
+7
-3
7 additions, 3 deletions
project.clj
src/metabase/fingerprinting/fingerprinters.clj
+5
-2
5 additions, 2 deletions
src/metabase/fingerprinting/fingerprinters.clj
with
12 additions
and
5 deletions
project.clj
+
7
−
3
View file @
7d409b7f
...
...
@@ -59,7 +59,8 @@
[
environ
"1.1.0"
]
; easy environment management
[
hiccup
"1.0.5"
]
; HTML templating
[
honeysql
"0.8.2"
]
; Transform Clojure data structures to SQL
[
kixi/stats
"0.3.8"
]
; Various statistic measures implemented as transducers
[
kixi/stats
"0.3.8"
; Various statistic measures implemented as transducers
:exclusions
[
org.clojure/test.check
]]
[
log4j/log4j
"1.2.17"
; logging framework
:exclusions
[
javax.mail/mail
javax.jms/jms
...
...
@@ -71,7 +72,8 @@
[
net.sf.cssbox/cssbox
"4.12"
; HTML / CSS rendering
:exclusions
[
org.slf4j/slf4j-api
]]
[
net.sourceforge.jtds/jtds
"1.3.1"
]
; Open Source SQL Server driver
[
com.clearspring.analytics/stream
"2.9.5"
]
; Various sketching algorithms
[
com.clearspring.analytics/stream
"2.9.5"
; Various sketching algorithms
:exclusions
[
org.slf4j/slf4j-api
]]
[
org.clojars.pntblnk/clj-ldap
"0.0.12"
]
; LDAP client
[
org.liquibase/liquibase-core
"3.5.3"
]
; migration management (Java lib)
[
org.slf4j/slf4j-log4j12
"1.7.25"
]
; abstraction for logging frameworks -- allows end user to plug in desired logging framework at deployment time
...
...
@@ -85,7 +87,9 @@
[
ring/ring-jetty-adapter
"1.6.0"
]
; Ring adapter using Jetty webserver (used to run a Ring server for unit tests)
[
ring/ring-json
"0.4.0"
]
; Ring middleware for reading/writing JSON automatically
[
stencil
"0.5.0"
]
; Mustache templates for Clojure
[
tide
"0.1.0-SNAPSHOT"
]
; Various algorithms for working with timeseries
[
tide
"0.3.0-SNAPSHOT"
; Various algorithms for working with timeseries
:exclusions
[
com.github.davidmoten/fastdtw
org.slf4j/slf4j-simple
]]
[
toucan
"1.0.3"
; Model layer, hydration, and DB utilities
:exclusions
[
honeysql
]]]
:repositories
[[
"bintray"
"https://dl.bintray.com/crate/crate"
]]
; Repo for Crate JDBC driver
...
...
This diff is collapsed.
Click to expand it.
src/metabase/fingerprinting/fingerprinters.clj
+
5
−
2
View file @
7d409b7f
...
...
@@ -16,7 +16,7 @@
[
costs
:as
costs
]]
[
metabase.util
:as
u
]
;;;; temp!
[
redux.core
:as
redux
]
[
tide.
core
:as
tide
])
[
tide.
stl
:as
stl
])
(
:import
com.clearspring.analytics.stream.cardinality.HyperLogLogPlus
))
(
def
^
:private
^
:const
percentiles
(
range
0
1
0.1
))
...
...
@@ -329,7 +329,10 @@
:week
52
:day
365
)]
(
when
(
>=
(
count
ts
)
(
*
2
period
))
(
select-keys
(
tide/decompose
period
ts
)
[
:trend
:seasonal
:reminder
]))))
(
select-keys
(
stl/decompose
period
{
:periodic?
true
:robust?
true
}
ts
)
[
:trend
:seasonal
:residual
]))))
(
defmethod
fingerprinter
[
DateTime
Num
]
[{
:keys
[
max-cost
resolution
query
]}
field
]
...
...
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