[ 
https://issues.apache.org/jira/browse/IGNITE-26598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041669#comment-18041669
 ] 

Oleg Valuyskiy commented on IGNITE-26598:
-----------------------------------------

[~alex_pl] Thank you for the review!

> 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
>            Priority: Minor
>              Labels: ise
>             Fix For: 2.18
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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