I need to use Athena in spark but spark uses preparedStatement when using JDBC drivers and it gives me an exception
\"com.amazonaws.athena.jdbc.NotImplementedException: Meth
The response of @Kirk Broadhurst is correct if you want to use the data of Athena.
If you want to use the Athena engine, then, there is a lib on github that overcomes the preparedStatement problem.
Note that I didn't succeed to use the lib, due to my lack of experience with Maven etc