This issue was migrated to GitHub issues, please do not re-open it.
Tomasz Lelek
May 20, 2020 at 6:15 AM
I picked the Fruit data model because from what I see it is used by data access quarkus extensions, i.e: dynamo, hibernate, Mongo, neo4j, spring-data, vertx
Alex Dutra
May 19, 2020 at 3:45 PM
@Cédrick Lunven suggests that we use the stock prices model that advocates usually pick for their reactive demos:
@Entity
class StockPrice {
@PartitionKey private final String symbol;
@ClusteringColumn private final Instant date;
private final BigDecimal price;
...
}
Alex Dutra
May 15, 2020 at 4:40 PM
(edited)
When changing the data model in quickstart, the documentation in documentation/src/main/asciidoc/cassandraclient.adoc needs to be changed accordingly.
Olivier Michallat
May 12, 2020 at 4:29 PM
(edited)
Somewhat related:
the Fruit fields are out of order: first a clustering column, then a regular column, then a partition key column. I know technically it doesn't matter, but it bothers me.
We should adapt documentation to this change as well.
See this conversation for more details:
https://github.com/datastax/cassandra-quarkus/pull/9#discussion_r422950419