Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-07 Thread Brice Dutheil
@Boris, what formula did you use on homebrew and what is the git version of this formula ? Anyway the current cassandra formula is here : https://github.com/Homebrew/homebrew-core/blob/master/Formula/cassandra.rb I am not a Homebrew developper, the formula does a lot of facy stuff, yet I see a re

Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-06 Thread Boris Babic
Stefania Downloading and simply running from folder without homebrew interference it now looks like the driver matches what you say in the last email. I will try writing variants again to confirm it works. cqlsh --debug Using CQL driver: Using connect timeout: 5 seconds Using 'utf-8' encoding U

Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-05 Thread Stefania Alborghetti
It doesn't look like the embedded driver, it should come from a zip file labeled with version *3.7.0.post0-2481531* for cassandra 3.10: *Using CQL driver: * Sorry, I should have posted this example in my previous email, rather than an example based on the non-embedded driver. I don't know who to

Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-05 Thread Boris Babic
Stefania This is the output of my --debug, I never touched CQLSH_NO_BUNDLED and did not know about it. As you can see I have used homebrew to install Cassandra and looks like its the embedded version as it sits under the Cassandra folder ? cqlsh --debug Using CQL driver: Using connect timeout

Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-04 Thread Stefania Alborghetti
You are welcome. I traced the problem to a commit of the Python driver that shipped in version 3.8 of the driver. It is fixed in 3.8.1. More details on CASSANDRA-13408 . I don't think it's related to the OS. Since Cassandra 3.10 ships with an

Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-04 Thread Boris Babic
Thanks Stefania, going from memory don't think I noticed this on windows but haven't got a machine handy to test it on at the moment. > On Apr 4, 2017, at 19:44, Stefania Alborghetti > wrote: > > I've reproduced the same problem on Linux, and I've opened CASSANDRA-13408. > As a workaround, d

Re: Copy from CSV on OS X problem with varint values <= -2^63

2017-04-04 Thread Stefania Alborghetti
I've reproduced the same problem on Linux, and I've opened CASSANDRA-13408 . As a workaround, disable prepared statements and it will work (WITH HEADER = TRUE AND PREPAREDSTATEMENTS = False). On Tue, Apr 4, 2017 at 5:02 PM, Boris Babic wrote:

Copy from CSV on OS X problem with varint values <= -2^63

2017-04-04 Thread Boris Babic
On Apr 4, 2017, at 7:00 PM, Boris Babic wrote: Hi I’m testing the write of various datatypes on OS X for fun running cassandra 3.10 on a single laptop instance, and from what i can see varint should map to java.math.BigInteger and have no problems with Long.MIN_VALE , -9223372036854775808, b