updating the analyzer integration to support async

Not ready to review -

This CL makes changes to the analyzer integration into Spark in preparation for asynchronous resolution.