The purpose of this fork is to solve a specific issue querying data in Apache Druid from Tableau, where weekday names are incorrectly presented due to Tableau expecting Sunday=1, ..., Saturday=7
and Druid using the Monday=1, ..., Sunday=7
scheme. The "fix" is accomplished by modifying SQL string passed into AvaticaStatement.executeInternal
method, wrapping weekday related functions into a SQL CASE statement, which adjust the numeric values returned by Druid to Tableau's liking.
To build the shaded JDBC jar - clone this repository and issue the following in the repository root folder:
Mac/Unix:
./gradle build -p shaded -Prelease
Windows:
gradlew build -p shaded -Prelease