[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-27。"],[[["\u003cp\u003eCloud Dataproc clusters include a built-in BigQuery connector for Hadoop, facilitating seamless data transfer between BigQuery and Cloud Dataproc.\u003c/p\u003e\n"],["\u003cp\u003eSpark users can leverage the BigQuery connector with Cloud Dataproc clusters, as demonstrated in the provided example.\u003c/p\u003e\n"],["\u003cp\u003eJava MapReduce jobs can also utilize the BigQuery connector with Cloud Dataproc clusters, with an example provided for reference.\u003c/p\u003e\n"],["\u003cp\u003eAdditional details about the BigQuery Hadoop Connector are available in its dedicated documentation.\u003c/p\u003e\n"]]],[],null,["# BigQuery connector code samples\n\nAll Dataproc clusters come with the\n[BigQuery connector for Hadoop](/hadoop/bigquery-connector) built in. This means\nyou can quickly read and write BigQuery data to and from\nDataproc.\n\nUse Spark\n---------\n\nSee [Using the BigQuery Connector with Spark](/dataproc/docs/tutorials/bigquery-connector-spark-example)\nfor an example on using Spark with the BigQuery connector for Hadoop.\nThis example should work for Dataproc clusters.\n\nUse Java MapReduce\n------------------\n\nSee [Writing a MapReduce Job with the BigQuery Connector](/dataproc/docs/tutorials/bigquery-connector-mapreduce-example)\nfor an example on using Java MapReduce with the BigQuery connector for\nHadoop. This example should work for Dataproc clusters.\n\nAdditional information\n----------------------\n\nSee the [BigQuery Hadoop Connector](/dataproc/docs/connectors/bigquery)\ndocumentation."]]