dolphindb

HOW to SELECT data basing on both a period of date and a period of time in clickhouse

女生的网名这么多〃 提交于 2021-01-28 03:29:28
问题 I want to filter some data by both yyyymmdd (date) and hhmmss (time), but clickhouse don't support time type. So I choose datetime to combine them. But how to do such things: This is code of dolphindb (which supports second type to represent hhmmss . select avg(ofr + bid) / 2.0 as avg_price from taq where date between 2007.08.05 : 2007.08.07, time between 09:30:00 : 16:00:00 group by symbol, date This is code of clickhouse , but a logical problematic code. SELECT avg(ofr + bid) / 2.0 AS avg

HOW to SELECT data basing on both a period of date and a period of time in clickhouse

☆樱花仙子☆ 提交于 2021-01-28 02:21:55
问题 I want to filter some data by both yyyymmdd (date) and hhmmss (time), but clickhouse don't support time type. So I choose datetime to combine them. But how to do such things: This is code of dolphindb (which supports second type to represent hhmmss . select avg(ofr + bid) / 2.0 as avg_price from taq where date between 2007.08.05 : 2007.08.07, time between 09:30:00 : 16:00:00 group by symbol, date This is code of clickhouse , but a logical problematic code. SELECT avg(ofr + bid) / 2.0 AS avg

Trying a quick cluster deployment with Docker:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

安稳与你 提交于 2020-02-06 11:11:26
问题 I found that DolphinDB now supports a quick cluster deployment with docker containers and I followed the guide on github: https://github.com/dolphindb/Tutorials_CN/blob/master/docker_deployment.md to deploy a cluster with DolphinDB Docker package. But I encountered a problem. I looked at any other questions but can't find my own solution. Here is the problem: xllu@xllu-OptiPlex-7060:~/DolphinDB-Docker-Compose/Dockerbuild$ docker -v Docker version 18.09.3, build 774a1f4 xllu@xllu-OptiPlex-7060