You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2015/12/16 01:51:46 UTC
[jira] [Created] (TRAFODION-1710) TMUDF: setString method does not
accept non-integers for NUMERIC type
Hans Zeller created TRAFODION-1710:
--------------------------------------
Summary: TMUDF: setString method does not accept non-integers for NUMERIC type
Key: TRAFODION-1710
URL: https://issues.apache.org/jira/browse/TRAFODION-1710
Project: Apache Trafodion
Issue Type: Bug
Affects Versions: any
Reporter: Hans Zeller
Assignee: Hans Zeller
Fix For: 2.0-incubating
When calling the TupleInfo.setString() method to set a NUMERIC column from a string, an exception is raised when the string contains a decimal point, like 123.45.
Internally, this method calls setLong(), which expects a scaled up value, e.g. 123450. The code to do that scaling is missing. This affects both the Java and the C++ interface for TMUDFs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)