Skip to content

Instantly share code, notes, and snippets.

View scottjacobsen's full-sized avatar

Scott Jacobsen scottjacobsen

View GitHub Profile
@sanchezzzhak
sanchezzzhak / clickhouse-get-tables-size.sql
Created January 18, 2018 13:43
clickhouse get tables size
SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
FROM system.parts
WHERE active
GROUP BY table
#!/bin/bash
# See https://github.com/codeclimate/test-reporter/issues/226
# And https://github.com/codeclimate/test-reporter/pull/305
export CI_NAME="heroku"
export GIT_COMMITTED_AT="$(date +%s)"
# Run the ruby test suite
bundle exec rake