Noticed that some of the docs inappropriately reference a 'set' column_type without providing a parameterized value. This used to work but no longer does, when it does the error returned is not very useful:
The request content was malformed:
Updated ColumnType.fromString to handle any parsing errors emitted by CqlTypeFactory.buildType and returning Try instead of Option and then handling the Failure case in PrimingJsonImplicits.ColumnTypeJsonFormat.
The error now includes the relevant info:
The request content was malformed:
Not a valid column type 'set'
Noticed that some of the docs inappropriately reference a 'set' column_type without providing a parameterized value. This used to work but no longer does, when it does the error returned is not very useful:
Updated
ColumnType.fromString
to handle any parsing errors emitted byCqlTypeFactory.buildType
and returningTry
instead ofOption
and then handling theFailure
case inPrimingJsonImplicits.ColumnTypeJsonFormat
.The error now includes the relevant info:
and the full stack trace is emitted in the logs.