[
https://issues.apache.org/jira/browse/TRAFODION-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hans Zeller resolved TRAFODION-2190.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.1-incubating
Fix checked in on 8/30/2016 with
https://github.com/apache/incubator-trafodion/pull/678.
> core dump if use control query shape esp exchange then run a TMUDF
> ------------------------------------------------------------------
>
> Key: TRAFODION-2190
> URL: https://issues.apache.org/jira/browse/TRAFODION-2190
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: liu ming
> Assignee: Hans Zeller
> Fix For: 2.1-incubating
>
> Attachments: HelloJavaWorld.java
>
>
> use the helloworld UDF as example, create it, and before run it, if use
> control query shape esp_exchange(cut);
> to force a parallel plan, it will core dump.
> In older version, there is no core dump to do so.
> Java code can be obtained from:
> https://cwiki.apache.org/confluence/display/TRAFODION/Tutorial%3A+The+object-oriented+UDF+interface#Tutorial:Theobject-orientedUDFinterface-SimpleHelloWorldTMUDF
>
> Also attached the java file
> Reproduce steps:
> javac HelloJavaWorld.java
> jar cvf hello.jar HelloJavaWorld.class
>
> >sqlci
> drop function hello;
> drop library hlib;
> create library hdfslib file './hello.jar';
> create table_mapping function hello( )
> returns (col1 char(40))
> external name 'HelloJavaWorld'
> language java
> library hlib;
> control query shape esp_exchange(cut) ;
> select * from udf(hello());
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)