This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/arrow-flight-sql-postgresql.git
The following commit(s) were added to refs/heads/main by this push:
new d82353f Add ADBC PostgreSQL client to benchmark (#36)
d82353f is described below
commit d82353f8721c95c5ab7fff4ca7288bcacb0470ec
Author: Sutou Kouhei <[email protected]>
AuthorDate: Fri Apr 21 00:12:23 2023 +0900
Add ADBC PostgreSQL client to benchmark (#36)
Closes GH-35
---
benchmark/integer/{select-adbc.rb => select-adbc-flight-sql.rb} | 0
benchmark/integer/{select-adbc.rb => select-adbc-postgresql.rb} | 5 ++---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/benchmark/integer/select-adbc.rb
b/benchmark/integer/select-adbc-flight-sql.rb
similarity index 100%
copy from benchmark/integer/select-adbc.rb
copy to benchmark/integer/select-adbc-flight-sql.rb
diff --git a/benchmark/integer/select-adbc.rb
b/benchmark/integer/select-adbc-postgresql.rb
similarity index 88%
rename from benchmark/integer/select-adbc.rb
rename to benchmark/integer/select-adbc-postgresql.rb
index 6155ca2..1fba137 100755
--- a/benchmark/integer/select-adbc.rb
+++ b/benchmark/integer/select-adbc-postgresql.rb
@@ -22,9 +22,8 @@ require "time"
require "adbc"
options = {
- "driver" => "adbc_driver_flightsql",
- "uri" => "grpc://127.0.0.1:15432",
- "adbc.flight.sql.rpc.call_header.x-flight-sql-database" => "afs_benchmark",
+ driver: "adbc_driver_postgresql",
+ uri: "postgresql://127.0.0.1:5432/afs_benchmark",
}
ADBC::Database.open(**options) do |database|
database.connect do |connection|