Git Product home page Git Product logo

Comments (6)

jsevellec avatar jsevellec commented on August 28, 2024

i'm not sure to undertand because it is already possible to define a ComparatorType on a column family.

from cassandra-unit.

edgurgel avatar edgurgel commented on August 28, 2024

Right now, I can't use different types for column names(or I don't know how to do it). Like this:

columns:

  • {name: long(1), value: utf8(3)}
  • {name; utf8(Hello), value: float(3)}

from cassandra-unit.

jsevellec avatar jsevellec commented on August 28, 2024

it's not currently possible (just for column value).

from cassandra-unit.

edgurgel avatar edgurgel commented on August 28, 2024

Any tips to how develop this feature? I can try it out.

from cassandra-unit.

jsevellec avatar jsevellec commented on August 28, 2024

Hi Eduardo,

I'm asking a lot of question to myself about this feature. Let me try to explain why.

Contrary to the possibility to set different type in column value which is evident, i'm not sure of benefit to add this feature for column name. I know that cassandra allow that but if you do that you loose a lot advantage of cassandra like sorting on column name or things like that. Then, if you take a look at hector, for example, it's not possible to simply query a column family with different type.

So i'm curious to understand and to know what is your use case and why your data model need that. you have to try to convince me ;-).

from cassandra-unit.

edgurgel avatar edgurgel commented on August 28, 2024

Ok. My idea is that cassandra-unit should support every single possibility available on Cassandra.
No special need.

from cassandra-unit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.