Update compare.sh

This commit is contained in:
Alexander Kuzmenkov 2020-11-05 23:45:58 +03:00 committed by GitHub
parent 9e2d7aa274
commit ac487ab26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1096,7 +1096,7 @@ function upload_results
--database perftest \ --database perftest \
--date_time_input_format=best_effort \ --date_time_input_format=best_effort \
--query " --query "
insert into query_metrics_tmp insert into query_metrics_v1
select select
toDate(event_time) event_date, toDate(event_time) event_date,
toDateTime('$(cd right/ch && git show -s --format=%ci "$SHA_TO_TEST" | cut -d' ' -f-2)') event_time, toDateTime('$(cd right/ch && git show -s --format=%ci "$SHA_TO_TEST" | cut -d' ' -f-2)') event_time,