Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73A3F105BE for ; Mon, 16 Mar 2015 16:33:39 +0000 (UTC) Received: (qmail 46119 invoked by uid 500); 16 Mar 2015 16:33:39 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 46080 invoked by uid 500); 16 Mar 2015 16:33:39 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 46067 invoked by uid 99); 16 Mar 2015 16:33:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 16:33:39 +0000 Date: Mon, 16 Mar 2015 16:33:39 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8934) COPY command has inherent 128KB field size limit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Thompson updated CASSANDRA-8934: --------------------------------------- Attachment: 8934-2.0.txt > COPY command has inherent 128KB field size limit > ------------------------------------------------ > > Key: CASSANDRA-8934 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8934 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Brian Hess > Assignee: Philip Thompson > Labels: cqlsh, docs-impacting > Fix For: 2.1.4, 2.0.14 > > Attachments: 8934-2.0.txt, 8934-2.1.txt > > > In using the COPY command as follows: > {{cqlsh -e "COPY test.test1mb(pkey, ccol, data) FROM 'in/data1MB/data1MB_9.csv'"}} > the following error is thrown: > {{:1:field larger than field limit (131072)}} > The data file contains a field that is greater than 128KB (it's more like almost 1MB). > A work-around (thanks to [~jjordan] and [~thobbs] is to modify the cqlsh script and add the line > {{csv.field_size_limit(1000000000)}} > anywhere after the line > {{import csv}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)