Oleg Valuyskiy created IGNITE-26598:
---------------------------------------

             Summary: Add INITIATOR_ID field to SQL_QUERIES_HISTORY system view
                 Key: IGNITE-26598
                 URL: https://issues.apache.org/jira/browse/IGNITE-26598
             Project: Ignite
          Issue Type: Task
            Reporter: Oleg Valuyskiy
            Assignee: Oleg Valuyskiy


The {{SqlFieldsQuery}} API allows attaching custom user-defined information via 
the {{setQueryInitiatorId}} method. This value is already available in the 
{{SQL_QUERIES}} system view, enabling identification of the originator for 
currently running queries.

However, the {{SQL_QUERIES_HISTORY}} system view does not expose this field. 
This task is to extend the schema of {{SQL_QUERIES_HISTORY}} by adding an 
{{INITIATOR_ID}} column:
 * The value should reflect the last {{queryInitiatorId}} provided for the 
given query.

 * The field must *not* be part of the query’s key.

 * If {{setQueryInitiatorId}} was not used, the column should contain its 
default value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to