[ https://issues.apache.org/jira/browse/CASSANDRA-12284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134679#comment-16134679 ]
allenbao edited comment on CASSANDRA-12284 at 8/21/17 4:03 AM: --------------------------------------------------------------- hello, I installed cqlsh(5.0.4) for my cassandra server(3.11.0) using pip command ON centos6.6。 The “COPY FROM” command also print the following error: Traceback (most recent call last): File "/usr/local/bin/cqlsh", line 1118, in onecmd self.handle_statement(st, statementtext) File "/usr/local/bin/cqlsh", line 1155, in handle_statement return custom_handler(parsed) File "/usr/local/bin/cqlsh", line 1819, in do_copy rows = self.perform_csv_import(ks, cf, columns, fname, opts) File "/usr/local/bin/cqlsh", line 1831, in perform_csv_import csv_options, dialect_options, unrecognized_options = copyutil.parse_options(self, opts) AttributeError: 'module' object has no attribute 'parse_options' was (Author: allenbao): hello, I installed cqlsh(5.0.4) for my cassandra server(3.11.0) using pip command ON centos6.6。 The “COPY TO” command also print the following error: Traceback (most recent call last): File "/usr/local/bin/cqlsh", line 1118, in onecmd self.handle_statement(st, statementtext) File "/usr/local/bin/cqlsh", line 1155, in handle_statement return custom_handler(parsed) File "/usr/local/bin/cqlsh", line 1819, in do_copy rows = self.perform_csv_import(ks, cf, columns, fname, opts) File "/usr/local/bin/cqlsh", line 1831, in perform_csv_import csv_options, dialect_options, unrecognized_options = copyutil.parse_options(self, opts) AttributeError: 'module' object has no attribute 'parse_options' > Cqlsh not supporting Copy command > --------------------------------- > > Key: CASSANDRA-12284 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12284 > Project: Cassandra > Issue Type: Bug > Components: CQL > Environment: Debian and OSX(yosemite) > Reporter: Abhinav Johri > Fix For: 3.3 > > > I installed cqlsh for my cassandra server using pip command. > I wanted to copy a table as CSV to my local system so I used COPY TO command > but it threw me the following error. > Traceback (most recent call last): > File "/usr/local/bin/cqlsh", line 1133, in onecmd > self.handle_statement(st, statementtext) > File "/usr/local/bin/cqlsh", line 1170, in handle_statement > return custom_handler(parsed) > File "/usr/local/bin/cqlsh", line 1837, in do_copy > rows = self.perform_csv_export(ks, cf, columns, fname, opts) > File "/usr/local/bin/cqlsh", line 1956, in perform_csv_export > csv_options, dialect_options, unrecognized_options = > copyutil.parse_options(self, opts) > AttributeError: 'module' object has no attribute 'parse_options' -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org