Skip to content

Commit

Permalink
Convert torchbench_userbenchmark_query_metrics to CH (#6122)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 authored Dec 31, 2024
1 parent ca303db commit 382d7d4
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
-- !!! Query is not converted to CH syntax yet. Delete this line when it gets converted
SELECT * FROM torchbench."torchbench-userbenchmark"
WHERE name = :userbenchmark
AND REGEXP_LIKE("torchbench-userbenchmark".environ.pytorch_git_version, :commit);
SELECT
*
FROM
benchmark.torchbench_userbenchmark
WHERE
name = {userbenchmark: String }
AND match(
JSONExtractString(environ, 'pytorch_git_version') as pytorch_git_version,
{commit: String }
)

0 comments on commit 382d7d4

Please sign in to comment.