When compiling a Body Type that includes a q quote operator, q'[]', the Body Type is changed. The q and the start and close characters are removed.
For example...
q'~
with
inputs_
as (select --+ qb_name(get_nt_final_for_objectids_inputs)
:i_objectids in_objectids
,nvl(:i_compress,'Y') in_compress~';
...becomes...
'
with
inputs_
as (select --+ qb_name(get_nt_final_for_objectids_inputs)
:i_objectids in_objectids
,nvl(:i_compress,''Y'') in_compress';