{"id":17112910,"url":"https://github.com/rschwarz/sql-clickhouse","last_synced_at":"2025-02-22T19:30:49.822Z","repository":{"id":136800596,"uuid":"122106934","full_name":"rschwarz/sql-clickhouse","owner":"rschwarz","description":"Support for Clickhouse databases in sql-mode for Emacs.","archived":false,"fork":false,"pushed_at":"2023-05-09T22:04:02.000Z","size":15,"stargazers_count":4,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T11:56:32.463Z","etag":null,"topics":["clickhouse","emacs","sql"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rschwarz.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-19T19:00:03.000Z","updated_at":"2023-05-09T16:31:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"c612fc21-a361-4b4e-ab89-8c5ec43b9886","html_url":"https://github.com/rschwarz/sql-clickhouse","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"8403a4a5d332dbb6459b7fbce6ea95c36d390a5b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rschwarz%2Fsql-clickhouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rschwarz%2Fsql-clickhouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rschwarz%2Fsql-clickhouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rschwarz%2Fsql-clickhouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rschwarz","download_url":"https://codeload.github.com/rschwarz/sql-clickhouse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240022807,"owners_count":19735554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clickhouse","emacs","sql"],"created_at":"2024-10-14T17:01:15.578Z","updated_at":"2025-02-22T19:30:49.815Z","avatar_url":"https://github.com/rschwarz.png","language":"Emacs Lisp","readme":"[[https://melpa.org/#/sql-clickhouse][file:https://melpa.org/packages/sql-clickhouse-badge.svg]]\n\nWe add [[https://clickhouse.yandex/][ClickHouse]] as a new product type to the builtin [[http://repo.or.cz/w/emacs.git/blob/HEAD:/lisp/progmodes/sql.el][sql-mode]] in Emacs. That\nway, we get syntax highlighting and can communicate with the DB using the CLI\n=clickhouse-client=.\n\nNote that the client assumes being run in a fully-functional terminal. While\nrunning a query, it will print updated statistics every 100ms. Inside Emacs,\nwith the =comint= interface, these messages accumulate rather than update in\nplace, which is kind of messy (including some coloring). I failed to disable\nthis behavior so far, but there is a parameter to control the frequency of these\nupdates in microseconds. I use the following query to increase it to 10 seconds:\n\n#+BEGIN_SRC\n-- 10 seconds in microseconds\nSET interactive_delay = 10000000;\n#+END_SRC\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frschwarz%2Fsql-clickhouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frschwarz%2Fsql-clickhouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frschwarz%2Fsql-clickhouse/lists"}