- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 166字
- 2021-07-03 00:19:30
Writing data does not yield feedback
If the INSERT statement worked, you should not see any response in the shell whatsoever; it should simply provide you with a new command prompt. This is not simply a quirk of the CQL shell, but a fundamental fact about writing data in Cassandra; writing data does not normally result in any information about the operation from the database, other than an error message if the write failed. Most client libraries will return a null value, or the equivalent in the language in question, when you perform a successful write query.
This may come as a surprise if you're used to working with an SQL database, which will typically give you a detailed feedback when you write data, such as returning the primary key of the new row or simply telling you how many rows were affected by the operation.
We'll see some exceptions to this rule when we explore lightweight transactions in Chapter 7, Expanding Your Data Model.
- 輕松學C語言
- Linux Mint System Administrator’s Beginner's Guide
- 智能工業(yè)報警系統(tǒng)
- 數(shù)據(jù)挖掘方法及天體光譜挖掘技術
- Ceph:Designing and Implementing Scalable Storage Systems
- AI 3.0
- 水下無線傳感器網(wǎng)絡的通信與決策技術
- Docker on Amazon Web Services
- Excel 2007常見技法與行業(yè)應用實例精講
- Excel 2007終極技巧金典
- Linux Shell Scripting Cookbook(Third Edition)
- 企業(yè)級Web開發(fā)實戰(zhàn)
- Linux常用命令簡明手冊
- 運動控制系統(tǒng)
- AWS Administration:The Definitive Guide(Second Edition)