We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CREATE TABLE
The text was updated successfully, but these errors were encountered:
Code example func New() *sql.DB { db := clickhouse.OpenDB(&clickhouse.Options{ Addr: []string{"192.168.xx.xx:9000"}, Auth: clickhouse.Auth{ Username: "xxx", Password: "xxx", }, Settings: clickhouse.Settings{ "max_execution_time": 60, "allow_experimental_object_type": 1, "format": "JSON", }, DialTimeout: 5 * time.Second, Compression: &clickhouse.Compression{ Method: clickhouse.CompressionLZ4, }, Debug: true, }) err := db.Ping() if err != nil { println(err.Error()) return nil } return db }
rows, err := db.Query("select * from table FORMAT JSON")
Sorry, something went wrong.
When to support?
@muzi939375821 I overlooked this issue since it was closed after creation.
Currently, only the native format is supported in clickhouse-go. Please see #638
No branches or pull requests
Describe the bug
Steps to reproduce
Expected behaviour
Code example
Error log
Configuration
Environment
ClickHouse server
CREATE TABLE
statements for tables involved:The text was updated successfully, but these errors were encountered: