Amazon Athena for Apache Spark now allows you to use your own Java libraries and customize the Spark configurations for your Spark workloads. You can use Java libraries as custom JARs with Athena Spark to analyze data from multiple sources or use functions in custom jars for more flexibility with calculations.
Source:: Amazon AWS