Umesh Padashetty created ATLAS-3716:
---------------------------------------

             Summary: Display queryText instead of process_execution name in 
process > processExecutions listing
                 Key: ATLAS-3716
                 URL: https://issues.apache.org/jira/browse/ATLAS-3716
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
            Reporter: Umesh Padashetty
         Attachments: Screenshot 2020-04-02 at 7.36.50 PM.png, Screenshot 
2020-04-02 at 7.37.05 PM.png, Screenshot 2020-04-02 at 7.49.20 PM.png

Recently, with https://issues.apache.org/jira/browse/ATLAS-3621, we made a 
change where we stopped populating the process_name/process_execution name with 
the query string. Instead these query strings are populated in the queryText 
field alone.

With this change, the process_executions listed for a particular process do not 
make sense anymore. For instance, I ran the below queries
 * insert into t3 select * from t2 where name="umesh";
 * insert into t3 select * from t2;
 * insert into t3 select * from t2 where name="umesh";

This creates multiple process_executions under the sam process. But in the UI, 
it is listed as below
  * 
QUERY:default.t2@cm:1585835224000->:INSERT:default.t3@cm:1585835274000:1585835636968:1585835638832
 * 
QUERY:default.t2@cm:1585835224000->:INSERT:default.t3@cm:1585835274000:1585835568869:1585835579187
 * 
QUERY:default.t2@cm:1585835224000->:INSERT:default.t3@cm:1585835274000:1585835618877:1585835623532

Which does not provide any info. Instead of displaying the process execution 
name, we can show the queryText in these cases. This way the user will uniquely 
know the list of queries run.

Attached screenshots. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to