You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/24 09:51:00 UTC

[jira] [Commented] (TRAFODION-2816) ODBC data convert function split

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

ASF GitHub Bot commented on TRAFODION-2816:
-------------------------------------------

GitHub user Weixin-Xu opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1310

    [TRAFODION-2816] ODBC data convert function split

    Now, the data convert function in ODBC is very long , and very hard to maintenance, we need to refactor it with some short function.
    1. split one long function to little functions to make it more easy to maintain.
    2. support convert very long CHAR/VARCHAR to others struct like timestamp.
    3. Don't modify SQLDataType for SQL_NUMERIC any more. Use FSDataType to decide the real data format.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Weixin-Xu/incubator-trafodion NewConvert

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1310.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1310
    
----
commit 61525d77c2f2107c89f17f236680ea473dcae400
Author: Weixin-Xu <xw...@weixin-1.novalocal>
Date:   2017-11-07T10:23:22Z

    New ODBC Convert Code

----


> ODBC data convert function split
> --------------------------------
>
>                 Key: TRAFODION-2816
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2816
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-odbc-linux, client-odbc-windows
>    Affects Versions: 2.3-incubating
>            Reporter: Weiqing Xu
>            Assignee: XuWeixin
>
> Now,  the data convert function in ODBC is very long , and very hard to maintenance, we need to refactor it with some short function.
> 1. split one long function to little functions to make it more easy to maintain.
> 2. support convert very long CHAR/VARCHAR to others struct like timestamp.
> 3. Don't modify SQLDataType for SQL_NUMERIC any more. Use FSDataType to decide the real data format. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)