                         (take 10)
                         (apply str))))
 
-(defn dollar-quote
-  [v]
-  (let [tag (random-tag)]
-    (format "$%s$%s$%s$" tag v tag)))
-
 (defn parse-number [s]
   (try
-    (dollar-quote (Double/parseDouble s))
+    (Double/parseDouble s)
     (catch NumberFormatException e
       (invalid-filter "Not a number" {:string s}))))
 

(ns akvo.lumen.lib.aggregation.filter
  (:require [clojure.string :as str])
  (:import [java.sql.Timestamp]))

(defn invalid-filter [msg map]

      "text" (format "coalesce(%1$s, '') %2$s %3$s"
                     column-name
                     op
                     (engine/pg-escape-string value))
      (invalid-filter "Type not supported" {:type column-type}))))

(defmethod filter-sql "isEmpty"
