Port export_queries_to_relforge
Brings over the export_queries_to_relforge script from our old airflow repository. Two significant bits:
-
This script has a related json file that must be shipped with the repo. Added a discolytics/resources directory to hold it and adjusted setup.py to distribute that resources directory with the package.
-
While not happening directly here, the runtime has to switch from the elasticsearch-hadoop jar to elasticsearch-spark-30_2.12. Thankfully the apis appear to be fully compatible and no code changes were required.
Bug: T329871