[Solved]Trying to build AWS Athena Connector - Throwing (Ans : Build in Linux, don't try in windows)

2019-08-28 22:14:29,704 [e0 - 22998fde-ce82-7bef-4922-a8732b7c8500:frag:0:0] ERROR c.d.s.o.l.expr.GandivaPushdownSieve - Exception in running sieve
org.apache.arrow.gandiva.exceptions.GandivaException: gandiva_jni.dll was not found inside JAR.
at org.apache.arrow.gandiva.evaluator.JniLoader.moveFileFromJarToTemp(JniLoader.java:80) ~[arrow-gandiva-0.14.0-20190718172626-fa1a62d422-dremio.jar:0.14.0-20190718172626-fa1a62d422-dremio]
at org.apache.arrow.gandiva.evaluator.JniLoader.loadGandivaLibraryFromJar(JniLoader.java:69) ~[arrow-gandiva-0.14.0-20190718172626-fa1a62d422-dremio.jar:0.14.0-20190718172626-fa1a62d422-dremio
]
at org.apache.arrow.gandiva.evaluator.JniLoader.setupInstance(JniLoader.java:59) ~[arrow-gandiva-0.14.0-20190718172626-fa1a62d422-dremio.jar:0.14.0-20190718172626-fa1a62d422-dremio]
at org.apache.arrow.gandiva.evaluator.JniLoader.getInstance(JniLoader.java:49) ~[arrow-gandiva-0.14.0-20190718172626-fa1a62d422-dremio.jar:0.14.0-20190718172626-fa1a62d422-dremio]
at org.apache.arrow.gandiva.evaluator.ExpressionRegistry.getInstance(ExpressionRegistry.java:73) ~[arrow-gandiva-0.14.0-20190718172626-fa1a62d422-dremio.jar:0.14.0-20190718172626-fa1a62d422-dr
emio]
at com.dremio.exec.expr.fn.GandivaRegistryWrapper.(GandivaRegistryWrapper.java:42) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]
at com.dremio.exec.expr.fn.GandivaRegistryWrapper.getInstance(GandivaRegistryWrapper.java:81) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]
at com.dremio.sabot.op.llvm.expr.GandivaPushdownSieve.isSupportedType(GandivaPushdownSieve.java:451) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756
]
at com.dremio.sabot.op.llvm.expr.GandivaPushdownSieve.isSupportedField(GandivaPushdownSieve.java:155) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df2375
6]
at com.dremio.sabot.op.llvm.expr.GandivaPushdownSieve.visitUnknown(GandivaPushdownSieve.java:133) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]
at com.dremio.sabot.op.llvm.expr.GandivaPushdownSieve.visitUnknown(GandivaPushdownSieve.java:59) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]
at com.dremio.exec.expr.ValueVectorReadExpression.accept(ValueVectorReadExpression.java:64) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]
at com.dremio.sabot.op.llvm.expr.GandivaPushdownSieve.annotateExpression(GandivaPushdownSieve.java:100) ~[dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23
756]
at com.dremio.exec.expr.ExpressionTreeMaterializer.annotateGandivaExecution(ExpressionTreeMaterializer.java:164) [dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280
797-df23756]
at com.dremio.exec.expr.ExpressionTreeMaterializer.materialize(ExpressionTreeMaterializer.java:152) [dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]
at com.dremio.exec.expr.ClassProducerImpl.materializeAndAllowComplex(ClassProducerImpl.java:105) [dremio-sabot-kernel-3.3.1-201907291852280797-df23756.jar:3.3.1-201907291852280797-df23756]

Solved:

Build in Linux. The build scripts & Configuration doesn’t seems to be compatible with windows.

Once i built in Linux and ran in Linux , i was able to successfully connect to ATHENA and query the data