From a122296701c5ec1243ef8ca654d741549d78bfdb Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Fri, 9 Jun 2023 18:58:28 +0200 Subject: [PATCH] Update main.cc Signed-off-by: Lorenzo Mangani --- examples/c++/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/c++/main.cc b/examples/c++/main.cc index 8fa28df..82eb4b1 100644 --- a/examples/c++/main.cc +++ b/examples/c++/main.cc @@ -22,8 +22,8 @@ const char* mydatabase = std::getenv("DATABASE_NAME"); DEFINE_string(host, myhost , "The host of the Flight SQL server."); DEFINE_string(token, mytoken, "The token for InfluxDB"); DEFINE_string(database, mydatabase, "The database to query from"); -DEFINE_int32(port, 443, "The port of the Flight SQL server."); -DEFINE_string(query, "SELECT * FROM 'measurementName'", "The query to execute."); +DEFINE_int32(port, 8082, "The port of the Flight SQL server."); +DEFINE_string(query, "SELECT * FROM cpu LIMIT 1", "The query to execute."); arrow::Status Main() {