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

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

Github user sandhyasun commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/248#discussion_r48979502
  
    --- Diff: core/sql/executor/ExExeUtilLoad.cpp ---
    @@ -2890,7 +2890,12 @@ short ExExeUtilLobExtractTcb::work()
     
              }
            
    -       step_ = RETRIEVE_LOB_LENGTH_;           
    +       if (lobTdb().getToType() == ComTdbExeUtilLobExtract::TO_BUFFER_)
    +         step_ = EXTRACT_LOB_DATA_;
    +       else
    +         if ((lobTdb().getToType() == 
ComTdbExeUtilLobExtract::RETRIEVE_LENGTH_) || (lobTdb().getToType() == 
ComTdbExeUtilLobExtract::TO_FILE_))
    +         step_ = RETRIEVE_LOB_LENGTH_;
    +       
    --- End diff --
    
    Added a block to handle an invalid "toType"  to get out of any invalid  
state .


> Adding external buffer and file input and extract support  for  LOB datatypes
> -----------------------------------------------------------------------------
>
>                 Key: TRAFODION-1473
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1473
>             Project: Apache Trafodion
>          Issue Type: Task
>          Components: sql-cmp, sql-exe
>         Environment: Trafodion
>            Reporter: Sandhya Sundaresan
>            Assignee: Sandhya Sundaresan
>              Labels: features
>             Fix For: 1.2-incubating
>
>
> LOB datatype is disabled in Trafodion  until the following support is fully 
> in.
> Here are the list of tasks and items to support :
> 1. Support input of linux files (on platform)  into LOB columns.
> 2. Support extract of LOB data into linux files on platform.
> 3. Support input of hdfs files  into LOB columns.
> 4. Support extract of LOB data into hdfs files.
> 5. Support chunking to input a very large external file into LOB columns.
> 6. Use CQD concept to limit LOB max size and limit chunk size for extract 
> /input.
> TBD 
> 7. Support for  input/extract of external files off platform into LOB columns.
> 8. Support in connectivity and driver for real LOB data type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to