# 介绍

主要功能：

![](/files/-LokoTUH7ulK5ZCJI4k0)

spark数据处理：RDD、DataFrame、Spark SQL，差别在于`是否定义Schema`

![](/files/-LokoTUJz8QpyxYHalhN)

`spark sql`只需要SQL语句即可

![](/files/-LokoTULLx6uABClHfO0)

`spark DataFrame`，类似python dataframe 需要一点编程

![](/files/-LokoTUNbl2zNKvgirXe)

`spark rdd`，需要编程能力

![](/files/-LokoTUP2BGtVYxRtnZM)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://im-qianuxn.gitbook.io/pytorch/ji-suan-ji/spark-hadoop/jie-shao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
