{"issue":{"milestone":null,"title":"[FRG-320] When statement containing a UDX invocation is cancelled, UDX producer thread is left hanging around","created_at":"2011-12-30T03:34:57Z","user":{"login":"dynamobi-build","id":1123017,"url":"https://api.github.com/users/dynamobi-build","avatar_url":"https://secure.gravatar.com/avatar/cb215b3d786be20761071a562a56af64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cb215b3d786be20761071a562a56af64"},"labels":[{"name":"FRG","url":"https://api.github.com/repos/dynamobi/dynamobi/labels/FRG","color":"1f8f0d"},{"name":"Runtime","url":"https://api.github.com/repos/dynamobi/dynamobi/labels/Runtime","color":"886eef"}],"updated_at":"2011-12-30T03:34:57Z","state":"open","id":2686053,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/dynamobi/dynamobi/issues/552","body":"<b><i>[reporter=\"jvs\", created=\"Sat, 17 May 2008 21:40:35 -0500 (GMT-05:00)\"]</i></b>\nExecute the script below, and once the select is sleeping, use Control-C from sqlline to cancel.  (Or use client/server and use another client to kill_stmt.) Then dump threads, and you'll see the UDX producer daemon thread still hanging around.<br/>\n<br/>\ncreate schema udftest;<br/>\n<br/>\nset schema 'udftest';<br/>\n<br/>\nset path 'udftest';<br/>\n<br/>\ncreate function ramp(n int)<br/>\nreturns table(i int)<br/>\nlanguage java<br/>\nparameter style system defined java<br/>\nno sql<br/>\nexternal name 'class net.sf.farrago.test.FarragoTestUDR.ramp';<br/>\n<br/>\nselect sys_boot.mgmt.sleep(50000)<br/>\nfrom table(ramp(10000000));<br/>\n","number":552,"url":"https://api.github.com/repos/dynamobi/dynamobi/issues/552","comments":0,"assignee":null},"action":"opened"}