You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Anoop Sharma (JIRA)" <ji...@apache.org> on 2018/08/05 21:33:00 UTC

[jira] [Commented] (TRAFODION-3173) enhance ExeCliInterface fetchAllRows to save the data type

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

Anoop Sharma commented on TRAFODION-3173:
-----------------------------------------

* ExeCliInterface::fetchAllRows calls method 'prepare' which retrieves and save datatypes and other attributes in outputAttrs_ field (list of output columns) and in inputAttrs_ field (list of input params).
 * fetchAllRows can retrieve results for all datatypes and not just strings. There are multiple examples in code for that. grep fetchAllRows in sqlcomp or executor dir and look for fetchAllRows retrieving names, uids, etc

Is existing support not enough and is this Jira asking for enhancements/extensions to that or was that code not looked at?

 

> enhance ExeCliInterface fetchAllRows to save the data type
> ----------------------------------------------------------
>
>                 Key: TRAFODION-3173
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3173
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: liu ming
>            Assignee: liu ming
>            Priority: Major
>
> At present ExeCliInterface method fetchAllRows will not save the data type of each column, since the current usage is always for string type.
> To implement some new features, I found I need this method to save the data type and later the OutputInfo class get method should also be enhanced to get the data type back.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)