xuchuanyin and chenliang613 [CARBONDATA-1981][Build] Fix compile error in windows env
Fix compile error in windows env

This closes #1762
Latest commit 6123e7f Jan 5, 2018


Building CarbonData


Build command

Build with different supported versions of Spark, by default using Spark 2.2.1 to build

mvn -DskipTests -Pspark-2.1 -Dspark.version=2.1.0 clean package
mvn -DskipTests -Pspark-2.2 -Dspark.version=2.2.1 clean package

Note: If you are working in Windows environment, remember to add -Pwindows while building the project.

For contributors : To build the format code after any changes, please follow the below command.

Note:Need install Apache Thrift 0.9.3

mvn clean -DskipTests -Pbuild-with-format -Pspark-2.2 package