Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
Presto实战
by
Matt Fuller
,
Manfred Moser
,
Martin Traverso
March 2021
Intermediate to advanced
265 pages
6h 50m
Chinese
Posts & Telecom Press
Content preview from
Presto实战
104
|
第
7
章
在
Cassandra
中处理数据的典型方法是使用为
Cassandra
设计的自定义查询语言:
Cassandra
查询语句
(
Cassandra
QueryLanguage
,
CQL
)。虽然
CQL
从表面上看很像
SQL
,
但它实际上缺少
SQL
的许多有用功能
,如
Join
。总的来说,它和
SQL
相当不同,无法直接
使用依赖
SQL
的标准工具。
然而,借助
Cassandra
连接器
,你可以对
Cassandra
中的数据进行
SQL
查询。最小配置就
是一个简单的
catalog
文件
,比如
etc/catalog/sitedata.properties
。这里的
Cassandra
集群记录
了一个网站上所有的用户交互,例如:
connector.name=cassandra
cassandra.contact-points=sitedata.example.com
有了这个简单的配置,用户就可以查询
Cassandra
中的数据。
Cassandra
中的任何键空间
(例如
cart
)都会在
Presto
中作为一个
schema
暴露出来,现在可以用普通的
SQL
查询表
了,比如
users
:
SELECT * FROM sitedata.cart.users;
该连接器支持许多配置属性,可以让你配置调整
Cassandra
集群的
catalog
,以及启用认证
和连接的
TLS
等。
7.4
流式系统连接器示例
:
Kafka
流式系统和发布
–
订阅(
pub/sub
)系统旨在处理实时数据源。例如,
LinkedIn
创造的
Apache
Kafka
便
是一个高吞吐量、低时延的平台 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
大数据项目管理:从规划到实现
Ted Malaska, Jonathan Seidman
数据库系统内幕
Alex Petrov
云原生:运用容器、函数计算和数据构建下一代应用
Boris Scholl, Trent Swanson, Peter Jausovec
Google系统架构解密: 构建安全可靠的系统
Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield
Publisher Resources
ISBN: 9787115560056