Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
BigQuery 连接器代码示例
所有 Managed Service for Apache Spark 集群均内置了适用于 Hadoop 的 BigQuery 连接器。这意味着,您可以快速地向 Managed Service for Apache Spark 读取和写入 BigQuery 数据。
使用 Spark
有关将适用于 Hadoop 的 BigQuery 连接器与 Spark 搭配使用的示例,请参阅将 BigQuery 连接器与 Spark 搭配使用。此示例应适用于 Managed Service for Apache Spark 集群。
使用 Java MapReduce
有关将适用于 Hadoop 的 BigQuery 连接器与 Java MapReduce 搭配使用的示例,请参阅使用 BigQuery 连接器编写 MapReduce 作业。此示例应适用于 Managed Service for Apache Spark 集群。
请参阅 BigQuery Hadoop 连接器文档。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-10-01。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-10-01。"],[],[]]