forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
cpp/src/flightsql_odbc/amazon-timestream-odbc-driver/flightsql-readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# FligthSQL ODBC Driver | ||
|
||
## Overview | ||
|
||
ODBC driver for Apache Arrow | ||
|
||
## License | ||
|
||
This project is licensed under the Apache-2.0 License. | ||
|
||
## Pre-requisites | ||
1. Visual Studio 2022 needs to be installed. | ||
- Latest version is recommended | ||
2. Install VCPKG and set `VCPKG_ROOT`. | ||
- Latest version is recommended. | ||
- To update go to the VCPKG_ROOT folder and execute `git pull` and `bootstrap-vcpkg.bat` | ||
3. CMAKE version 3.25.1 | ||
|
||
## Driver Building (Windows) | ||
|
||
Open Visual Studio Developer PowerShell or Powershell and run `./build_win32.bat` or `./build_win64.bat` to build the 32-bit and 64-bit driver correspondingly. The .bat file will build and install the dependencies and the driver. | ||
|
||
### Build Troubleshoot Guide | ||
|
||
| Error | Root Cause | Fix| | ||
|-------|------------|----| | ||
| CUSTOMBUILD : CMake error : The source directory "C:/<repo_folder>/build/flight_sql/ApacheArrow-prefix/src/ ApacheArrow" does not appear to contain CMakeLists.txt. [C:\Dev\forked-flightsql-odbc\build\flight_sql\ApacheArrow.vcxp roj] | current CMAKE version 3.28 has issues in build the project | downgrade to the 3.25 version | | ||
| error in the `builtin-baseline` at `vcpkg.json` or issues to build and install the dependencies | vcpkg outdated | updated to the latest vcpkg version | | ||
| vcpkg crashes error | vcpkg was not properly updated | make sure to execute `bootstrap-vcpkg.bat` in the `VCPKG_ROOT` | |