Re: What does the community think of the DataStax 4.x Java driver changes?

2021-01-19 Thread Alexandre Dutra
, in this release we are delivering cross-datacenter failover and consistency downgrading retries, alongside bug fixes and other new features. Thanks, Alex Dutra On Thu, Dec 10, 2020 at 1:32 PM Alexandre Dutra < alexandre.du...@datastax.com> wrote: > Hi, > > To clarify, partly be

Re: What does the community think of the DataStax 4.x Java driver changes?

2020-12-10 Thread Alexandre Dutra
(https://docs.datastax.com/en/drivers/java/3.9/com/datastax/driver/core/policies/RetryPolicy.RetryDecision.html) >>>>>>> where more complex choices could be bubbled up to the driver around >>>>>>> the consistency to retry on. We looked into how we could s

Quarkus extension for Apache Cassandra alpha release

2020-07-09 Thread Alexandre Dutra
Hi, On behalf of the DataStax drivers team, I would like to announce the first alpha release of the Quarkus extension for Apache Cassandra® [1]. The extension has been included in Quarkus Platform 1.6, released yesterday; which means that you can now generate an application on code.quarkus.io

Re: UDTs, UDFs und UDAs

2020-05-04 Thread Alexandre Dutra
Hi, I already posted an answer for your question on https://community.datastax.com/ but since you asked here as well: 1) When I call the aggregate, I would like to pass sample_size with a > sub-query [..] Is that possible with Cassandra? No. 2) When I try to register the bloomfilter_uda, I

Re: Connection Pooling in v4.x Java Driver

2019-12-11 Thread Alexandre Dutra
confidential; To transmit only non-confidential information such as plans, >> pictures and drawings and to assume all risk and liability for and >> indemnify Lowe's from any claims, losses or damages that may arise from the >> transmittal of documents or including non-c

Re: Object mapper. InvalidQueryException Key may not be empty

2016-09-12 Thread Alexandre Dutra
lectedKeys(NioEventLoop.java:419) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:391) > at > io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) > at java.lang.Thread.run(Thread.java:745) > > *The strange thing happens when I am using next code:* > AudioInfo audioInfo = new AudioInfo(); > audioInfo.setSwiftId(ByteBuffer.allocate(Long.SIZE).putLong(123)); > audioInfo.setAudioId(ByteBuffer.allocate(Long.SIZE).putLong(124)); > audioInfo.setLastSucceedSegment(0L); > audioInfo.setSize(100L); > mapper.save(audioInfo); > > *It adds without error but in the database I see that both swift_id and > audio_id have next value:* > > 0x > > *What am I doing wrongly?* > > *Sincerely,* > *Alexandr* > -- Alexandre Dutra Driver & Tools Engineer @ DataStax

Re: client time stamp - force to be continuously increasing?

2016-05-15 Thread Alexandre Dutra
ds, if you somehow unconditionally enforced monotonicity > on the server side[*] you'd break a whole other set of use-cases. > > > [*]: But, how would you even manage such a thing without coordination, > in a distributed environment? > > -- > Eric Evans > john.eric.ev...@gmail.com > -- Alexandre Dutra Driver & Tools Engineer @ DataStax

Re: client time stamp - force to be continuously increasing?

2016-05-12 Thread Alexandre Dutra
from multiple clients are allowed- > LWW is expected for that scenario, and some ambiguity here is ok). > > I apologize if this is a duplicate post to the list from me - I first sent > this question when i was not subscribed to the list yet, so I am not sure > if it has duplicated or not. > > thank you kindly for the advice, > J. Smith > > > > -- Alexandre Dutra Driver & Tools Engineer @ DataStax

Re: datastax java driver Batch vs BatchStatement

2016-03-25 Thread Alexandre Dutra
big batch into multiple > smaller one ? > (to avoid batch_size_warn_threshold_in_kb or > batch_size_failed_threshold_in_kb > ) > > Thanks > > Batch > > https://docs.datastax.com/en/drivers/java/2.1/com/datastax/driver/core/querybuilder/Batch.html > > BatchStatement > > https://docs

Re: SELECT JSON timestamp lacks timezone information

2016-02-08 Thread Alexandre Dutra
5:47+ > > (1 rows) > cqlsh:events> > > To make things even more complicated the JSON timestamp is not returned in > UTC. Is there a way to either tell the driver/C* to return the JSON date in > UTC or add the timezone information (much preferred) to the text > representation of the timestamp? > > > Thanks! > Ralf -- Alexandre Dutra Driver & Tools Engineer @ DataStax

Re: Cassandra Java Driver

2015-12-28 Thread Alexandre Dutra
al Malmiyoda < > noo...@noorul.com> wrote: > >> Is DSE shipping with 3.x ? >> >> Thanks and Regards >> Noorul >> >> On Fri, Dec 25, 2015 at 9:07 PM, Alexandre Dutra >> <alexandre.du...@datastax.com> wrote: >> > Hi Jean, >> >

Re: Cassandra Java Driver

2015-12-25 Thread Alexandre Dutra
ks for your comments and replies? > Jean > -- Alexandre Dutra Driver & Tools Engineer @ DataStax

Re: Devcenter & C* 3.0 Connection Error.

2015-11-17 Thread Alexandre Dutra
Hello, Unfortunately, even with their most recent versions, both the Java driver and DevCenter are incompatible with C* 3.0. Both teams are working actively to release compatible versions in the next days. Regards, Alexandre Dutra On Tue, Nov 17, 2015 at 12:16 AM Michael Shuler <m

Re: Example of JavaBeanColumnMapper

2015-10-05 Thread Alexandre Dutra
e there any Java examples of how to use JavaBeanColumnMapper or > RowReader and RowWriter Factory. > > Any link to example code will be helpful. > > Ashish > -- Alexandre Dutra Driver & Tools Engineer @ DataStax

Re: memory usage problem of Metadata.tokenMap.tokenToHost

2015-10-01 Thread Alexandre Dutra
/datastax-oss.atlassian.net/browse/JAVA-664> has been open for quite a while now and aims to fix the problem you describe. It will hopefully make it into 2.1.8 as well, although I cannot guarantee that at this point. Thanks, Alexandre Dutra On Mon, Sep 28, 2015 at 7:55 PM Alex Popescu <al...@data