Jason Walkowicz created CASSANDRA-11233:
-------------------------------------------

             Summary: COPY TO Column of Type Double Precision gets Truncated to 
lesser precision  
                 Key: CASSANDRA-11233
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11233
             Project: Cassandra
          Issue Type: Bug
          Components: CQL
         Environment: [cqlsh 5.0.1 | Cassandra 2.1.11.908 | DSE 4.8.2 | CQL 
spec 3.2.1 | Native protocol v3]
            Reporter: Jason Walkowicz


I am copying a table between two exact table configs but different names with 
the CQLSH COPY command.

Example:

COPY "my"."data"(number) TO 'export.csv';
COPY "my"."datacopy"(number) FROM 'export.csv';

The column i'm copying TO and FROM is of type double. The problem is it appears 
that the copy is truncating the precision of the column.

For example:

Original Data:
5.084936038014788E8

After Copy
5.0849E8



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to