[ 
https://issues.apache.org/jira/browse/IMPALA-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

radford nguyen updated IMPALA-8576:
-----------------------------------
    Description: 
The {{QueryEventHook}} interface currently takes a {{String}} for the 
{{onQueryComplete}} hook.  This string is the JSON representation of the 
lineage graph written to the legacy lineage file.

It would be better to pass the serialized {{byte[]}} of the lineage thrift 
object itself, so that we can decouple ourselves from any lineage file 
format(s).

Additionally, hook implementations should use their own version of Thrift to 
deserialize the object so that they are not tied to Impala's Thrift version.

  was:Placeholder: description coming soon


> Pass lineage object instead of string to query hook
> ---------------------------------------------------
>
>                 Key: IMPALA-8576
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8576
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Backend, Frontend
>            Reporter: radford nguyen
>            Priority: Major
>
> The {{QueryEventHook}} interface currently takes a {{String}} for the 
> {{onQueryComplete}} hook.  This string is the JSON representation of the 
> lineage graph written to the legacy lineage file.
> It would be better to pass the serialized {{byte[]}} of the lineage thrift 
> object itself, so that we can decouple ourselves from any lineage file 
> format(s).
> Additionally, hook implementations should use their own version of Thrift to 
> deserialize the object so that they are not tied to Impala's Thrift version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to