- 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.
- Unreal Engine:Game Development from A to Z
- Practical Ansible 2
- Linux Mint System Administrator’s Beginner's Guide
- 樂高機器人EV3設計指南:創造者的搭建邏輯
- 西門子S7-200 SMART PLC從入門到精通
- 智能工業報警系統
- 可編程控制器技術應用(西門子S7系列)
- 80x86/Pentium微型計算機原理及應用
- STM32嵌入式微控制器快速上手
- 運動控制系統應用與實踐
- 單片機技術一學就會
- INSTANT Adobe Story Starter
- C#求職寶典
- Eclipse全程指南
- 7天精通Photoshop CS5平面視覺設計