cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Soni <asoni.le...@gmail.com>
Subject INSERT JSON TimeStamp
Date Mon, 28 Sep 2015 19:51:40 GMT
If Anyone can help for below as i am getting the error

effectiveStartDate and effectiveEndDate are TimeStamp

INSERT INTO model.RuleSetSchedule JSON ' {
    "ruleSetName": "BOSTONRATES",
    "ruleSetId": "829aa84a-4bba-411f-a4fb-38167a987cda",
    "scheduleId":1,
    "effectiveStartDate": "01/01/2015",
    "effectiveEndDate": "12/31/2015",
    "rules": {
        "1": {
            "condition": "BoardStation",
            "action": "FareAmount=9.25",
            "ruleOrder": "1"
        }
    }

message="Error decoding JSON value for effectivestartdate: Unable to coerce
'01/01/2015' to a formatted date (long)"

Mime
View raw message