× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tomconrad reported 2017-07-18T15:01:08Z  · last modified 2018-02-08T16:10:05Z

Cassandra - JDBC should be enhanced to handle the new types


Priority Low
Complexity Unknown
Component DB - Cassandra
Version 18.5

Looks like we need to enhance the JDBC to handle new types for V3.0

1. Here is the ddl to create the table. Open a Cassandra QA window and execute the following:

CREATE TABLE "new_datatypes"  (
  date_s         date,
  smallint_s     smallint,
  time_s         time,
  tinyint_s      tinyint,
  PRIMARY KEY(smallint_s)
) WITH
  "bloom_filter_fp_chance"='0.01' AND "dclocal_read_repair_chance"='0.0' AND "gc_grace_seconds"='864000' AND "read_repair_chance"='0.1'
  AND compaction = {'class':'SizeTieredCompactionStrategy'}
  AND compression = {'sstable_compression':'org.apache.cassandra.io.compress.LZ4Compressor'}
GO
INSERT INTO new_datatypes(smallint_s, date_s, time_s, tinyint_s) 
VALUES(45,'2017-07-03','19:10:12',10)
GO
INSERT INTO new_datatypes(smallint_s, date_s, time_s, tinyint_s) 
VALUES(44,'2017-07-04','19:10:12',10)
GO
INSERT INTO new_datatypes(smallint_s, date_s, time_s, tinyint_s) 
VALUES(42,'2017-07-03','19:10:12',10)
GO
INSERT INTO new_datatypes(smallint_s, date_s, time_s, tinyint_s) 
VALUES(40,'2017-07-03','19:10:12',10)
GO
 
2. When you do a select on this table in the QA window, select * from new_datatypes, you get a java.lang.StringIndexOutOfBoundsException: String index out of range: -1 exception. See here.
 

 

1 attachment

Issue #15387

Closed
Fixed
Resolved 2017-11-20T05:27:17Z
 
 
Completion
No due date
Fixed Build 18.5
Time Estimate 20 hours 30 minutes

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017