[
https://issues.apache.org/jira/browse/HAWQ-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei Chang updated HAWQ-282:
---------------------------
Fix Version/s: backlog
> Refine reject limit check and handle for error table in external table and
> COPY
> -------------------------------------------------------------------------------
>
> Key: HAWQ-282
> URL: https://issues.apache.org/jira/browse/HAWQ-282
> Project: Apache HAWQ
> Issue Type: Improvement
> Components: External Tables, Storage
> Affects Versions: 2.0.0-beta-incubating
> Reporter: Ruilong Huo
> Assignee: Ruilong Huo
> Fix For: backlog
>
>
> It uses macros to implement reject limit check and handle for error table in
> external table and COPY. It is better to refine them using inline functions
> or just functions to improve readability.
> The related macros include:
> 1. src/backend/access/external/fileam.c
> {noformat}
> EXT_RESET_LINEBUF
> FILEAM_HANDLE_ERROR
> CSV_IS_UNPARSABLE
> FILEAM_IF_REJECT_LIMIT_REACHED_ABORT
> {noformat}
> 2. src/backend/commands/copy.c
> {noformat}
> RESET_LINEBUF
> COPY_HANDLE_ERROR
> QD_GOTO_NEXT_ROW
> QE_GOTO_NEXT_ROW
> CSV_IS_UNPARSABLE
> IF_REJECT_LIMIT_REACHED_ABORT
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)