Comments (14)
Add off to makefile:
https://github.com/vectorengine/vectorsql/blob/master/makefile#L1
from vectorsql.
You can try the command:
curl http://192.168.0.106:8123 -d "select * from rangetable(rows->10, c1->'UInt32')"
I guess it's network issue.
from vectorsql.
seems ok when using curl
leo@LEO MINGW64 ~/Desktop
$ curl http://192.168.0.106:8123 -d "select * from rangetable(rows->10, c1->'UInt32')"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 68 100 20 100 48 10000 24000 --:--:-- --:--:-- --:--:-- 680000
1
2
3
4
5
6
7
8
9
from vectorsql.
It's your docker network issue.
You can run the http request in docker container.
from vectorsql.
sure, i'll try it on my mac later
from vectorsql.
got this on my osx:
➜ vectorsql git:(master) make build
--> Building...
go build -v -o bin/vectorsql-server src/cmd/server.go
build command-line-arguments: cannot load base/humanize: malformed module path "base/humanize": missing dot in first path element
make: *** [build] Error 1
from vectorsql.
What's the go env output?
from vectorsql.
I have add the MacOS to github action, it works well and the log is:
https://github.com/vectorengine/vectorsql/runs/476606029
from vectorsql.
here it is:
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/me/Library/Caches/go-build"
GOENV="/Users/me/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/me/source/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/Cellar/go/1.13.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/q9/wc6vjb195k93s4h2j6v2w1j80000gn/T/go-build269224716=/tmp/go-build -gno-record-gcc-switches -fno-common"
from vectorsql.
by the way,
when build in goland, it gives:
go build: cannot write multiple packages to non-directory C:\Users\leo\AppData\Local\Temp\___go_build_cmd.exe
from vectorsql.
ok, solved
➜ vectorsql git:(master) GO111MODULE=off make
--> Building...
go build -v -o bin/vectorsql-server src/cmd/server.go
vendor/github.com/segmentio/fasthash/fnv1a
sessions
parsers/sqlparser/dependency/bytes2
vendor/github.com/gammazero/deque
base/collections
base/lru
parsers/sqlparser/dependency/hack
base/binary
vendor/github.com/valyala/fastrand
vendor/github.com/naoina/toml/ast
vendor/github.com/gammazero/workerpool
processors
base/humanize
vendor/github.com/naoina/go-stringutil
base/errors
base/docs
base/xlog
vendor/github.com/golang/protobuf/proto
base/metric
datavalues
servers/protocol
vendor/github.com/naoina/toml
datatypes
expressions
columns
config
servers/debug
parsers/sqlparser/dependency/query
parsers/sqlparser/dependency/sqltypes
parsers/sqlparser
parsers
planners
optimizers
datablocks
dataformats
datastreams
storages/memory
storages/system
transforms
storages
databases
executors
servers/http
servers/tcp
servers
command-line-arguments
from vectorsql.
ok, the clickhouse client connect to vectorsql successfully on my mac
ClickHouse client version 19.17.1.1555 (official build).
Connecting to database hera at 127.0.0.1:9000 as user default.
Connected to VectorSQL server version 19.17.1 revision 54428.
VectorSQL :) select 1;
from vectorsql.
it seems auto is a better way
export GO111MODULE=auto
from vectorsql.
GO111MODULE default is auto.
But we can add it to do the reset.
from vectorsql.
Related Issues (20)
- [feature] implement float64 datatype
- [feature] Implement the http client insert
- [feature] Implement the clickhouse client insert
- [feature] more checks in groupby/where clause
- [feature] implement window functions
- [feature] implement JOIN
- [feature] implement distributed query engine HOT 2
- [feature] implement ClickHouse cancel protocol
- Why not using go module to manage dependencies? HOT 2
- [improve] re-write the datavaues to reduce the memory usage
- [feature] add Cost interface to measure the transformer performance
- [feature] implement WITH (Common Table Expressions) HOT 2
- why not use go mod HOT 2
- src\base\xlog\xlog.go:52:12: undefined: syslog.New HOT 3
- [feature] implement ClickHouse send progress protocol
- [feature] implement CASE expression
- [feature] implement timestamp data type
- [feature] implement time series storage TimeStore
- I tried vectorsql and this is what happened. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vectorsql.