Skip to content

Commit

Permalink
Replace quantile with PERCENTILE_CONT in SQL (#949)
Browse files Browse the repository at this point in the history
Replaced the quantile function from
https://github.com/tvondra/quantile.git
with the postgresql built-in PERCENTILE_CONT.
  • Loading branch information
lalver1 authored Aug 25, 2023
1 parent cbe3c83 commit f0a9a86
Show file tree
Hide file tree
Showing 2 changed files with 701 additions and 705 deletions.
6 changes: 1 addition & 5 deletions src/analysis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,11 @@ RUN set -xe && \
osm2pgsql" && \
apt-get update && apt-get install -y ${BUILD_DEPS} ${DEPS} --no-install-recommends && \
\
mkdir /tmp/build/ && cd /tmp/build && \
git clone --branch master https://github.com/tvondra/quantile.git && \
(cd quantile && make install) && \
\
pip3 install --upgrade pip setuptools && \
hash -r && \
pip3 install -r /opt/pfb/django/requirements.txt && \
\
cd /tmp/ && rm -rf /tmp/build/ /var/lib/apt/lists/* && \
cd /tmp/ && rm -rf /var/lib/apt/lists/* && \
apt-get purge -y --auto-remove ${BUILD_DEPS}

RUN set -xe && \
Expand Down
Loading

0 comments on commit f0a9a86

Please sign in to comment.