Skip to content
Snippets Groups Projects
Unverified Commit 38a9eb3a authored by Oleksandr Yakushev's avatar Oleksandr Yakushev Committed by GitHub
Browse files

[qp] Convert timestamps to strings as the last post-processing step (#49209)

parent 6f7a54ad
No related branches found
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
xfn #(nth % x-position)] xfn #(nth % x-position)]
(fingerprinters/with-error-handling (fingerprinters/with-error-handling
((map (fn [row] ((map (fn [row]
;; Convert string datetime into days-from-epoch early. ;; Convert string datetimes or Instants into into days-from-epoch early.
(update (vec row) x-position #(some-> % (update (vec row) x-position #(some-> %
fingerprinters/->temporal fingerprinters/->temporal
->millis-from-epoch ->millis-from-epoch
......
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
Where `rff` has the form Where `rff` has the form
(f metadata) -> rf" (f metadata) -> rf"
[#'results-metadata/record-and-return-metadata! [#'format-rows/format-rows
#'results-metadata/record-and-return-metadata!
#'limit/limit-result-rows #'limit/limit-result-rows
#'qp.middleware.enterprise/limit-download-result-rows #'qp.middleware.enterprise/limit-download-result-rows
#'qp.add-rows-truncated/add-rows-truncated #'qp.add-rows-truncated/add-rows-truncated
...@@ -36,7 +37,6 @@ ...@@ -36,7 +37,6 @@
#'qp.middleware.enterprise/merge-sandboxing-metadata #'qp.middleware.enterprise/merge-sandboxing-metadata
#'qp.add-dimension-projections/remap-results #'qp.add-dimension-projections/remap-results
#'pivot-export/add-data-for-pivot-export #'pivot-export/add-data-for-pivot-export
#'format-rows/format-rows
#'large-int-id/convert-id-to-string #'large-int-id/convert-id-to-string
#'viz-settings/update-viz-settings #'viz-settings/update-viz-settings
#'qp.cumulative-aggregations/sum-cumulative-aggregation-columns #'qp.cumulative-aggregations/sum-cumulative-aggregation-columns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment