Git Product home page Git Product logo

Comments (14)

BohuTANG avatar BohuTANG commented on May 24, 2024 1

Add off to makefile:
https://github.com/vectorengine/vectorsql/blob/master/makefile#L1

from vectorsql.

BohuTANG avatar BohuTANG commented on May 24, 2024

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.

tlightsky avatar tlightsky commented on May 24, 2024

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.

BohuTANG avatar BohuTANG commented on May 24, 2024

It's your docker network issue.
You can run the http request in docker container.

from vectorsql.

tlightsky avatar tlightsky commented on May 24, 2024

sure, i'll try it on my mac later

from vectorsql.

tlightsky avatar tlightsky commented on May 24, 2024

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.

BohuTANG avatar BohuTANG commented on May 24, 2024

What's the go env output?

from vectorsql.

BohuTANG avatar BohuTANG commented on May 24, 2024

I have add the MacOS to github action, it works well and the log is:
https://github.com/vectorengine/vectorsql/runs/476606029

from vectorsql.

tlightsky avatar tlightsky commented on May 24, 2024

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.

tlightsky avatar tlightsky commented on May 24, 2024

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.

tlightsky avatar tlightsky commented on May 24, 2024

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.

tlightsky avatar tlightsky commented on May 24, 2024

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.

tlightsky avatar tlightsky commented on May 24, 2024

it seems auto is a better way

export GO111MODULE=auto

from vectorsql.

BohuTANG avatar BohuTANG commented on May 24, 2024

@tlightsky

GO111MODULE default is auto.
But we can add it to do the reset.

from vectorsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.