Re: Re: ask for help about exmples of Data Types the document shows

2016-09-27 Thread zha...@easemob.com
Jeff and Jon, thanks for your outstanding work, and expect for the two update. ^^ zha...@easemob.com From: Jeff Jirsa Date: 2016-09-28 13:01 To: user@cassandra.apache.org Subject: Re: ask for help about exmples of Data Types the document shows Jon Haddad opened a ticket (presumably based

Re: ask for help about exmples of Data Types the document shows

2016-09-27 Thread Jeff Jirsa
Jon Haddad opened a ticket (presumably based off this email) - https://issues.apache.org/jira/browse/CASSANDRA-12718 Will get it corrected shortly. From: "zha...@easemob.com" Reply-To: "user@cassandra.apache.org" Date: Tuesday,

Re: Re: ask for help about exmples of Data Types the document shows

2016-09-27 Thread zha...@easemob.com
hi, Ben, you are right, I copy the statement from document but not check it carefully. It's very helpful and thank a lot ! By the way, is there any way to report to the document author and update the document? I think it may be confused for a green hand just like me. zha...@easemob.com

Re: Re: ask for help about exmples of Data Types the document shows

2016-09-27 Thread Ben Slater
My best guess it that you need to remove the quotes from around the zip values (ie change if to zip: 20500 rather than zip: ‘20500’ ) as zip is defined as an int. Cheers Ben On Wed, 28 Sep 2016 at 14:38 zha...@easemob.com wrote: > Hi, Ben Slater, thank you very much for

Re: Re: ask for help about exmples of Data Types the document shows

2016-09-27 Thread zha...@easemob.com
Hi, Ben Slater, thank you very much for your replay! my cassandra version is 3.7, so I think there must be some thing I misunderstand ahout frozen type. I add a comma between } and ‘work’, the result is like below. Is there some special form about " type frozen"? cqlsh:counterks> INSERT

Re: ask for help about exmples of Data Types the document shows

2016-09-27 Thread Ben Slater
Hi, I think you are right about the typo in (1). For (2), I think you’re missing a comma between } and ‘work’ so the JSON is invalid. I think reading this JIRA https://issues.apache.org/jira/browse/CASSANDRA-7423 that the change requiring a UDT as part of a collection to be explicitly marked as

ask for help about exmples of Data Types the document shows

2016-09-27 Thread zha...@easemob.com
hi, everyone, I'm learning Cassandra now , and have some problems about the document of "Data Types" . I don't know where to report or ask for help, so I'm very sorry if this mail bother you. In the chapter The Cassandra Query Language (CQL)/Data Types