fix bigquery support for #407
This commit is contained in:
parent
1d6ae7b376
commit
bf1517a60e
1 changed files with 8 additions and 1 deletions
|
|
@ -409,7 +409,7 @@
|
|||
|
||||
(defn- format-bigquery-*-except-replace
|
||||
"Format BigQuery * except/replace phrases #281."
|
||||
[star-cols & x]
|
||||
[[star-cols & x]]
|
||||
(let [[sql & params] (format-expr star-cols)
|
||||
[sql' & params']
|
||||
(reduce (fn [[sql & params] [k arg]]
|
||||
|
|
@ -435,6 +435,13 @@
|
|||
(into params)
|
||||
(into params'))))
|
||||
|
||||
(comment
|
||||
(bigquery-*-except-replace? [:* :except [:a :b :c]])
|
||||
(format-bigquery-*-except-replace [:* :except [:a :b :c]])
|
||||
(format-expr :*)
|
||||
(partition-all 2 [:except [:a :b :c]])
|
||||
)
|
||||
|
||||
(defn- split-alias-temporal
|
||||
"Given a general selectable item, split it into the subject selectable,
|
||||
an optional alias, and any temporal clauses present."
|
||||
|
|
|
|||
Loading…
Reference in a new issue