cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7405) Optimize cqlsh COPY TO and COPY FROM
Date Tue, 19 Aug 2014 18:05:21 GMT


Aleksey Yeschenko commented on CASSANDRA-7405:

bq. Specifically, why do we handle null values specially for clustering columns? Also, why
do we insert an empty binary when the type doesn't support it? Why do we insert empty binaries
at all instead of nulls (when we have something that matches nullval)?

I think I wrote that. The reason is that a clustering column can obviously not contain null,
but it can contain an empty value (esp. with default nullval being '').

Also, every type supports empty binaries.

> Optimize cqlsh COPY TO and COPY FROM
> ------------------------------------
>                 Key: CASSANDRA-7405
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Aleksey Yeschenko
>            Assignee: Mikhail Stepura
>             Fix For: 2.1.1
>         Attachments: CASSANDRA-2.1-7405.patch
> Now that we are using native proto via python-driver, we can, and should, at the very
> 1. Use proto paging in COPY TO
> 2. Use async writes in COPY FROM

This message was sent by Atlassian JIRA

View raw message