4 Replies Latest reply on Sep 15, 2015 4:01 AM by mickalas

    Access to original SQL from ExecutionFactory

    mickalas

      Hi,

       

      Is there anyway to get hold of the original SQL sent to Teiid (parsed or unparsed) from within ExecutionFactory.createExecution? I.e. before it has been rewritten by Teiid.

       

      It may be accessible from ExecutionContext, but I have not seen how.

       

      The reason I would like this is to improve our diagnostics. I'd like to link the queries from users to what we execute in our Translator.

       

      Many Thanks

       

      Mick Davies