@@ -81,8 +81,15 @@ Compilers (and versions) not mentioned are known to not work or have not been tr
81
81
82
82
### Build Prestissimo
83
83
#### Parquet and S3 Support
84
- To enable Parquet and S3 support, set ` PRESTO_ENABLE_PARQUET = "ON" ` ,
85
- ` PRESTO_ENABLE_S3 = "ON" ` in the environment.
84
+ Parquet support is enabled by default. To disable it, add ` -DPRESTO_ENABLE_PARQUET=OFF `
85
+ to the ` EXTRA_CMAKE_FLAGS ` environment variable.
86
+
87
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS -DPRESTO_ENABLE_PARQUET=OFF" `
88
+
89
+ To enable S3 support, add ` -DPRESTO_ENABLE_S3=ON ` to the ` EXTRA_CMAKE_FLAGS `
90
+ environment variable.
91
+
92
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_S3=ON" `
86
93
87
94
S3 support needs the [ AWS SDK C++] ( https://github.com/aws/aws-sdk-cpp ) library.
88
95
This dependency can be installed by running the target platform build script
@@ -91,8 +98,10 @@ from the `presto/presto-native-execution` directory.
91
98
` ./velox/scripts/setup-centos9.sh install_aws `
92
99
93
100
#### JWT Authentication
94
- To enable JWT authentication support, set ` PRESTO_ENABLE_JWT = "ON" ` in
95
- the environment.
101
+ To enable JWT authentication support, add ` -DPRESTO_ENABLE_JWT=ON ` to the
102
+ ` EXTRA_CMAKE_FLAGS ` environment variable.
103
+
104
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_JWT=ON" `
96
105
97
106
JWT authentication support needs the [ JWT CPP] ( https://github.com/Thalhammer/jwt-cpp ) library.
98
107
This dependency can be installed by running the script below from the
@@ -109,6 +118,8 @@ follow these steps:
109
118
110
119
* CMake flags:* ` PRESTO_STATS_REPORTER_TYPE=PROMETHEUS `
111
120
121
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_STATS_REPORTER_TYPE=PROMETHEUS" `
122
+
112
123
* Runtime configuration:* ` runtime-metrics-collection-enabled=true `
113
124
114
125
* After installing the above dependencies, from the
@@ -117,8 +128,8 @@ follow these steps:
117
128
* Use ` make unittest ` to build and run tests.
118
129
119
130
#### Arrow Flight Connector
120
- To enable Arrow Flight connector support, add to the extra cmake flags :
121
- ` EXTRA_CMAKE_FLAGS = -DPRESTO_ENABLE_ARROW_FLIGHT_CONNECTOR=ON`
131
+ To enable Arrow Flight connector support, add to the ` EXTRA_CMAKE_FLAGS ` environment variable :
132
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_ARROW_FLIGHT_CONNECTOR=ON" `
122
133
123
134
The Arrow Flight connector requires the Arrow Flight library. You can install this dependency
124
135
by running the following script from the ` presto/presto-native-execution ` directory:
@@ -128,8 +139,8 @@ by running the following script from the `presto/presto-native-execution` direct
128
139
#### Nvidia cuDF GPU Support
129
140
130
141
To enable support with [ cuDF] ( https://github.com/facebookincubator/velox/tree/main/velox/experimental/cudf ) ,
131
- add to the extra cmake flags :
132
- ` EXTRA_CMAKE_FLAGS = -DPRESTO_ENABLE_CUDF=ON`
142
+ add to the ` EXTRA_CMAKE_FLAGS ` environment variable :
143
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DPRESTO_ENABLE_CUDF=ON" `
133
144
134
145
In some environments, the CUDA_ARCHITECTURES and CUDA_COMPILER location must be explicitly set.
135
146
The make command will look like:
@@ -139,8 +150,8 @@ The make command will look like:
139
150
The required dependencies are bundled from the Velox setup scripts.
140
151
141
152
#### Spatial type and function support
142
- To enable support for spatial types and functions , add to the extra cmake flags :
143
- ` EXTRA_CMAKE_FLAGS = -PRESTO_ENABLE_SPATIAL`
153
+ Spatial type and function support is enabled by default. To disable it , add to ` EXTRA_CMAKE_FLAGS ` environment variable :
154
+ ` export EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -PRESTO_ENABLE_SPATIAL=OFF" `
144
155
145
156
The spatial support adds new types (OGC geometry types) and functionality for spatial calculations.
146
157
0 commit comments