diff --git a/ruby/README.md b/ruby/README.md index abcee71cbd2f8..f0e380cdc8561 100644 --- a/ruby/README.md +++ b/ruby/README.md @@ -65,12 +65,12 @@ Suppose you have your data available via HTTP. Let's connect to demo ClickHouse require 'net/http' params = { - query: "SELECT WatchID as watch FROM hits_v1 LIMIT 10 FORMAT Arrow", - user: "playground", - password: "clickhouse", - database: "datasets" + query: "SELECT WatchID as watch FROM hits LIMIT 10 FORMAT Arrow", + user: "play", + password: "", + database: "default" } -uri = URI('https://play-api.clickhouse.com:8443') +uri = URI('https://play.clickhouse.com:443/') uri.query = URI.encode_www_form(params) resp = Net::HTTP.get(uri) table = Arrow::Table.load(Arrow::Buffer.new(resp))