cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9303) Match cassandra-loader options in COPY FROM
Date Wed, 02 Dec 2015 16:01:11 GMT

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

Stefania commented on CASSANDRA-9303:
-------------------------------------

bq. 1. If I set SKIPROWS to 10 say, and also set HEADER to true, will I skip 10 or 11 rows?

10 data rows and the header will be skipped.

bq. 2. Why do you disable the ERRFILE for stdin?

No reason other than coming up with a sensible default name.

bq. 3. If the MAXERRORS/MAXINSERTERRORS is >1, where do you keep the error around? Is it
captured anywhere so someone can look back on what type of error occurred? NoHostAvailableException,
WriteTimeoutException, bad date format, etc.

Errors get printed to stdout whilst the failed rows are saved to ERRFILE and not printed to
stdout.



> Match cassandra-loader options in COPY FROM
> -------------------------------------------
>
>                 Key: CASSANDRA-9303
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9303
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Stefania
>            Priority: Critical
>             Fix For: 2.1.x
>
>
> https://github.com/brianmhess/cassandra-loader added a bunch of options to handle real
world requirements, we should match those.



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

Mime
View raw message