You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alinaliBQ (via GitHub)" <gi...@apache.org> on 2026/04/08 21:40:37 UTC
[PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
alinaliBQ opened a new pull request, #49695:
URL: https://github.com/apache/arrow/pull/49695
### Rationale for this change
GH-48068
The goal is to run remote tests against the Dremio instance. Dremio docker instances are only available on Linux, they are not supported on macOS/Windows.
### What changes are included in this PR?
- Added docker-compose.yml.
- Added logic for setting up dremio account and creating a table.
- Add ODBC remote test connection variable.
- set up Dremio remote instance in CI
Note: Enabling Linux tests in CI will be in a separate PR. This PR prepares the Dremio instance for remote testing, which will be used when ODBC Linux tests are supported in CI.
### Are these changes tested?
Tested in CI at local repository.
### Are there any user-facing changes?
N/A
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3203489445
##########
.github/workflows/cpp_extra.yml:
##########
@@ -372,6 +372,12 @@ jobs:
persist-credentials: false
fetch-depth: 0
submodules: recursive
+ - name: Create Docker Test Network
+ run: docker network create odbc_net
Review Comment:
@justing-bq let's remove these 2 lines as well
```suggestion
```
##########
compose.yaml:
##########
@@ -204,6 +205,11 @@ volumes:
ubuntu-ccache:
name: ${ARCH}-ubuntu-${UBUNTU}-ccache
+networks:
+ # GH-48068 for Flight SQL ODBC Testing
+ odbc_net:
+ external: true
+
Review Comment:
Justin has removed `networks:`
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
+done
Review Comment:
Justin has tried to remove this and it caused CI failure:
https://github.com/apache/arrow/actions/runs/25237847545/job/74007730614#step:4:203
So we think this check is needed.
##########
compose.yaml:
##########
@@ -517,6 +542,8 @@ services:
ARROW_S3: "OFF"
ARROW_SUBSTRAIT: "OFF"
# Register ODBC before running tests
+ networks:
+ - odbc_net
Review Comment:
yes Justin has tested and it works
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3290773041
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
Review Comment:
done.
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
+done
+
+echo ""
+echo 'Creating admin user...'
+
+# Create new admin account.
+curl -X PUT "$NEW_USER_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }"
+
+echo ""
+echo "Created admin user."
+
+# Use admin account to login and acquire a token.
+TOKEN=$(curl -s -X POST "$LOGIN_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }" \
+ | grep -oP '(?<="token":")[^"]+')
+
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4215786943
@lidavidm @kou This PR is ready for review, please have a look
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3061280963
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/docker-compose.yml:
##########
Review Comment:
Is there a reason we can't keep this in the same compose file as everything else?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3203494752
##########
compose.yaml:
##########
@@ -517,6 +542,8 @@ services:
ARROW_S3: "OFF"
ARROW_SUBSTRAIT: "OFF"
# Register ODBC before running tests
+ networks:
+ - odbc_net
Review Comment:
yes Justin has tested and it works. `networks:` removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4209858693
:warning: GitHub issue #48068 **has been automatically assigned in GitHub** to PR creator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3290764432
##########
.github/workflows/cpp_extra.yml:
##########
@@ -372,6 +372,10 @@ jobs:
persist-credentials: false
fetch-depth: 0
submodules: recursive
+ - name: Set Up Dremio Instance
+ run: |
+ docker compose up -d dremio
+ cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh
- name: Cache Docker Volumes
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3150361527
##########
compose.yaml:
##########
@@ -204,6 +205,11 @@ volumes:
ubuntu-ccache:
name: ${ARCH}-ubuntu-${UBUNTU}-ccache
+networks:
+ # GH-48068 for Flight SQL ODBC Testing
+ odbc_net:
+ external: true
+
Review Comment:
Can we use the default network instead of creating an external network explicitly?
I think that `docker compose up` creates the default network automatically.
If we use `depends_on:`, I think that we can use `docker compose run` without `networks:`.
##########
compose.yaml:
##########
@@ -517,6 +542,8 @@ services:
ARROW_S3: "OFF"
ARROW_SUBSTRAIT: "OFF"
# Register ODBC before running tests
+ networks:
+ - odbc_net
Review Comment:
Does this work without all `networks:`?
```suggestion
depends_on:
- dremio
```
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
+done
Review Comment:
Do we need this?
`dremio:` in `compose.yaml` has `healthcheck:`.
##########
compose.yaml:
##########
@@ -139,6 +139,7 @@ x-hierarchy:
- fedora-python
- fedora-r-clang
- python-sdist
+ - dremio
Review Comment:
Could you keep this list in alphabetical order?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3290766092
##########
compose.yaml:
##########
@@ -509,6 +526,7 @@ services:
ARROW_DEPENDENCY_SOURCE: BUNDLED
ARROW_DEPENDENCY_USE_SHARED: "OFF"
ARROW_FLIGHT_SQL_ODBC: "ON"
+ ARROW_FLIGHT_SQL_ODBC_CONN: "driver={Apache Arrow Flight SQL ODBC Driver};HOST=dremio_container;port=32010;pwd=admin2025;uid=admin;useEncryption=false;UseWideChar=true;"
Review Comment:
done.
##########
compose.yaml:
##########
@@ -517,6 +535,8 @@ services:
ARROW_S3: "OFF"
ARROW_SUBSTRAIT: "OFF"
# Register ODBC before running tests
+ depends_on:
+ - dremio
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4721486754
Yes, that's right. Since enabling tests against the Dremio instance doubles the number of test cases being run, we can *perhaps* check by the amount of time it takes to run the `arrow-flight-sql-odbc-test`, which now takes longer as the ODBC driver establishes connection to the Dremio instance.
Before Dremio instance is enabled:
https://github.com/apache/arrow/actions/runs/27562488300/job/81477934843#step:6:15521
```
Start 51: arrow-flight-sql-odbc-test
48/58 Test #51: arrow-flight-sql-odbc-test ............ Passed 0.29 sec
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3290767082
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4523003829
@kou @lidavidm
Comments addressed. Please review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3155901419
##########
compose.yaml:
##########
@@ -139,6 +139,7 @@ x-hierarchy:
- fedora-python
- fedora-r-clang
- python-sdist
+ - dremio
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4512661860
@lidavidm @kou
Comments addressed. Please review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4716239747
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit cb625c54f0541d5929a9463694d8cd4addf4bd0b.
There were no benchmark performance regressions. 🎉
The [full Conbench report](https://github.com/apache/arrow/runs/81608010045) has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3061511206
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/docker-compose.yml:
##########
Review Comment:
Could you `compose.yaml` because it's the preferred file name?
See also: #47806
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,64 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#!/bin/bash
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
+done
+
+echo ""
+echo 'Creating admin user...'
+
+# Create new admin account.
+curl -X PUT "$NEW_USER_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }"
+
+echo ""
+echo "Created admin user."
+
+# Use admin account to login and acquire a token.
+TOKEN=$(curl -s -X POST "$LOGIN_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }" \
+ | grep -oP '(?<="token":")[^"]+')
+
+SQL_QUERY="Create Table \$scratch.ODBCTest As SELECT CAST(2147483647 AS INTEGER) AS sinteger_max, CAST(9223372036854775807 AS BIGINT) AS sbigint_max, CAST(999999999 AS DECIMAL(38,0)) AS decimal_positive, CAST(3.40282347E38 AS FLOAT) AS float_max, CAST(1.7976931348623157E308 AS DOUBLE) AS double_max, CAST(true AS BOOLEAN) AS bit_true, CAST(DATE '9999-12-31' AS DATE) AS date_max, CAST(TIME '23:59:59' AS TIME) AS time_max, CAST(TIMESTAMP '9999-12-31 23:59:59' AS TIMESTAMP) AS timestamp_max;"
Review Comment:
How about format this for easy to read?
```suggestion
SQL_QUERY="
Create Table \$scratch.ODBCTest As
SELECT CAST(2147483647 AS INTEGER) AS sinteger_max,
CAST(9223372036854775807 AS BIGINT) AS sbigint_max,
CAST(999999999 AS DECIMAL(38,0)) AS decimal_positive,
CAST(3.40282347E38 AS FLOAT) AS float_max,
CAST(1.7976931348623157E308 AS DOUBLE) AS double_max,
CAST(true AS BOOLEAN) AS bit_true,
CAST(DATE '9999-12-31' AS DATE) AS date_max,
CAST(TIME '23:59:59' AS TIME) AS time_max,
CAST(TIMESTAMP '9999-12-31 23:59:59' AS TIMESTAMP) AS timestamp_max;
"
```
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,64 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#!/bin/bash
Review Comment:
Could you move the shebang to the first line?
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
Review Comment:
Could you enable pre-commit hooks for this file?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3290768540
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
Review Comment:
Now using 26.0.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3167595573
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
+ environment:
+ - DREMIO_JAVA_SERVER_EXTRA_OPTS=-Dsaffron.default.charset=UTF-8 -Dsaffron.default.nationalcharset=UTF-8 -Dsaffron.default.collation.name=UTF-8$$en_US
+ healthcheck:
+ test: curl --fail http://localhost:9047 || exit 1
Review Comment:
Why do we need `|| exit 1` here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4298379019
@kou @lidavidm All comments are addressed, please have another look
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4492522307
@lidavidm @kou
Please take a look when you have time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3285560272
##########
compose.yaml:
##########
@@ -517,6 +535,8 @@ services:
ARROW_S3: "OFF"
ARROW_SUBSTRAIT: "OFF"
# Register ODBC before running tests
+ depends_on:
+ - dremio
Review Comment:
`depends_on: - dremio` doesn’t wait for the Dremio healthcheck to pass; it only ensures start order. For reliability, use the `depends_on: dremio: { condition: service_healthy }` form (Compose v2) or add an explicit wait/retry in the test container before attempting to connect.
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
+done
+
+echo ""
+echo 'Creating admin user...'
+
+# Create new admin account.
+curl -X PUT "$NEW_USER_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }"
+
+echo ""
+echo "Created admin user."
+
+# Use admin account to login and acquire a token.
+TOKEN=$(curl -s -X POST "$LOGIN_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }" \
+ | grep -oP '(?<="token":")[^"]+')
+
Review Comment:
User creation/login calls don’t fail the script on HTTP error codes (curl exits 0 on 4xx/5xx unless `--fail` is used), and token extraction relies on `grep -P` plus doesn’t validate that a token was found. This can lead to sending an empty/invalid Authorization header and continuing as if setup succeeded. Consider adding `--fail` to the curl requests and parsing/validating the JSON token using the existing Python dependency (or another portable JSON parser).
##########
.github/workflows/cpp_extra.yml:
##########
@@ -372,6 +372,10 @@ jobs:
persist-credentials: false
fetch-depth: 0
submodules: recursive
+ - name: Set Up Dremio Instance
+ run: |
+ docker compose up -d dremio
+ cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh
- name: Cache Docker Volumes
Review Comment:
`set_up_dremio_instance.sh` invokes `python3`, but the workflow installs/configures Python later (in the next step). Move `actions/setup-python` before this step (or otherwise guarantee python3 is available) so the job doesn’t rely on runner image defaults.
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
+ environment:
+ - DREMIO_JAVA_SERVER_EXTRA_OPTS=-Dsaffron.default.charset=UTF-8 -Dsaffron.default.nationalcharset=UTF-8 -Dsaffron.default.collation.name=UTF-8$$en_US
Review Comment:
`environment:` is followed by an unindented list item, which makes the YAML invalid (list items must be indented under the key). Indent the `- DREMIO_JAVA_SERVER_EXTRA_OPTS=...` entry under `environment:` (and consider quoting it since it contains spaces and `$` escaping).
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
Review Comment:
Using the mutable `dremio/dremio-oss:latest` tag makes CI non-reproducible and can introduce unexpected breakages when the upstream image changes. Pin the image to a specific Dremio OSS version (optionally with a digest) to keep builds deterministic.
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
Review Comment:
The wait loop uses `curl -s` without `--fail` and has no timeout, so it may exit early on non-2xx responses or hang indefinitely if Dremio never becomes ready. Consider using `curl --fail --silent --show-error` (or checking the HTTP status) and adding a bounded retry/timeout.
##########
compose.yaml:
##########
@@ -509,6 +526,7 @@ services:
ARROW_DEPENDENCY_SOURCE: BUNDLED
ARROW_DEPENDENCY_USE_SHARED: "OFF"
ARROW_FLIGHT_SQL_ODBC: "ON"
+ ARROW_FLIGHT_SQL_ODBC_CONN: "driver={Apache Arrow Flight SQL ODBC Driver};HOST=dremio_container;port=32010;pwd=admin2025;uid=admin;useEncryption=false;UseWideChar=true;"
Review Comment:
The connection string uses `HOST=dremio_container`, which is tied to the hard-coded `container_name`. If `container_name` is removed (recommended) or if compose generates different container names, this will break name resolution. Prefer using the stable service name `dremio` in the connection string instead.
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
Review Comment:
`container_name: dremio_container` is the only hard-coded container name in this compose file and can cause name collisions when running multiple compose projects (or concurrent runs) on the same host. Prefer omitting `container_name` and using the service name (`dremio`) for intra-compose DNS.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3066654728
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,64 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#!/bin/bash
Review Comment:
Yup, done
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/docker-compose.yml:
##########
Review Comment:
Yup, I have moved this inside the `compose.yaml` at project root.
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
@@ -0,0 +1,64 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#!/bin/bash
+set -e
+
+HOST_URL="http://localhost:9047"
+NEW_USER_URL="$HOST_URL/apiv2/bootstrap/firstuser"
+LOGIN_URL="$HOST_URL/apiv2/login"
+SQL_URL="$HOST_URL/api/v3/sql"
+
+ADMIN_USER="admin"
+ADMIN_PASSWORD="admin2025"
+
+# Wait for Dremio to be available.
+until curl -s "$NEW_USER_URL"; do
+ echo 'Waiting for Dremio to start...'
+ sleep 5
+done
+
+echo ""
+echo 'Creating admin user...'
+
+# Create new admin account.
+curl -X PUT "$NEW_USER_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }"
+
+echo ""
+echo "Created admin user."
+
+# Use admin account to login and acquire a token.
+TOKEN=$(curl -s -X POST "$LOGIN_URL" \
+ -H "Content-Type: application/json" \
+ -d "{ \"userName\": \"$ADMIN_USER\", \"password\": \"$ADMIN_PASSWORD\" }" \
+ | grep -oP '(?<="token":")[^"]+')
+
+SQL_QUERY="Create Table \$scratch.ODBCTest As SELECT CAST(2147483647 AS INTEGER) AS sinteger_max, CAST(9223372036854775807 AS BIGINT) AS sbigint_max, CAST(999999999 AS DECIMAL(38,0)) AS decimal_positive, CAST(3.40282347E38 AS FLOAT) AS float_max, CAST(1.7976931348623157E308 AS DOUBLE) AS double_max, CAST(true AS BOOLEAN) AS bit_true, CAST(DATE '9999-12-31' AS DATE) AS date_max, CAST(TIME '23:59:59' AS TIME) AS time_max, CAST(TIMESTAMP '9999-12-31 23:59:59' AS TIMESTAMP) AS timestamp_max;"
Review Comment:
Done! Thanks
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/docker-compose.yml:
##########
Review Comment:
I have moved this inside the same compose file at project root. There is no preference from my end
##########
cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance.sh:
##########
Review Comment:
Yes, done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3290769063
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
+ environment:
+ - DREMIO_JAVA_SERVER_EXTRA_OPTS=-Dsaffron.default.charset=UTF-8 -Dsaffron.default.nationalcharset=UTF-8 -Dsaffron.default.collation.name=UTF-8$$en_US
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #49695:
URL: https://github.com/apache/arrow/pull/49695
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3415309092
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
+ environment:
+ - DREMIO_JAVA_SERVER_EXTRA_OPTS=-Dsaffron.default.charset=UTF-8 -Dsaffron.default.nationalcharset=UTF-8 -Dsaffron.default.collation.name=UTF-8$$en_US
+ healthcheck:
+ test: curl --fail http://localhost:9047 || exit 1
Review Comment:
cc @justing-bq
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on PR #49695:
URL: https://github.com/apache/arrow/pull/49695#issuecomment-4710546680
> Could you update the PR description?
>
> Is this Dremio instance used in Linux tests? How to confirm it?
I have updated the PR description to match the files updated.
The Dremio instance is used in the ODBC Linux tests through the environment variable `ARROW_FLIGHT_SQL_ODBC_CONN`. To confirm it, the ODBC test log should show `FlightSQLODBCRemoteTestBase::*` and `FlightSQLOdbcV2RemoteTestBase::*` tests.
These test suites exclusively connect to the remote instance indicated in `ARROW_FLIGHT_SQL_ODBC_CONN`, which in our case is the Dremio instance.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48068: [C++][FlightRPC] Linux ODBC: Configure Dremio instance to allow remote testing [arrow]
Posted by "justing-bq (via GitHub)" <gi...@apache.org>.
justing-bq commented on code in PR #49695:
URL: https://github.com/apache/arrow/pull/49695#discussion_r3416330533
##########
compose.yaml:
##########
@@ -371,6 +372,22 @@ services:
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/cpp_test.sh /arrow /build"
+ dremio:
+ platform: linux/x86_64
+ image: dremio/dremio-oss:latest
+ ports:
+ - 9047:9047 # REST API
+ - 31010:31010 # JDBC/ODBC
+ - 32010:32010
+ container_name: dremio_container
+ environment:
+ - DREMIO_JAVA_SERVER_EXTRA_OPTS=-Dsaffron.default.charset=UTF-8 -Dsaffron.default.nationalcharset=UTF-8 -Dsaffron.default.collation.name=UTF-8$$en_US
+ healthcheck:
+ test: curl --fail http://localhost:9047 || exit 1
Review Comment:
I don't believe it is necessary so I removed it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org