chibenwa opened a new pull request, #2087:
URL: https://github.com/apache/cassandra-java-driver/pull/2087

   Hello from Apache James.
   
   Apache James runs a Cassandra backend and we uses a light and modular table 
declaration system allowing aggregating tables defined everywhere in the code. 
It just wraps 
`com.datastax.oss.driver.api.querybuilder.schema.CreateTableWithOptions` and 
allow dependency injection to do it's job.
   
   We are able to create missing table and create them on the fly.
   
   However we often add colomns onto existing tables and we currently fails at 
correcting it: admin needs to  run the ALTER statement itself.
   
   I was faced with 2 bad options:
    - parse the create statement myself (brittle! Hacky!)
    - Wrap the CreateTableWithOptions definition, rewrite the javadriver boiler 
plate doing so and modify my 31+ call sites and break the extensions of all our 
users.
   
   I chose to try to contribute this upstream: being able to reliable describe 
the table that we wishes to operate on. To me at the very least this seems like 
a general need and is the minimal friction angle of attack to my problem.
   
   If you have remarks I'm happy to make this work evolve.
   
   Cheers,
   
   Benoit


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to