According to https://cloud.google.com/dataproc/docs/concepts/connectors/bigquery the connector uses BigQuery Storage API to read data using gRPC. However, I couldn't find any Storage API/gRPC usage in the source code here: https://github.com/GoogleCloudDataproc/spark-bigquery-connector/tree/master/connector/src/main/scala
My questions are:
1. could anyone show me the source code where uses storage API & gprc call?
2. Does Dataset<Row> df = session.read().format("bigquery").load()
work through GBQ storage API? if not, how to read from GBQ to Spark using BigQuery Storage API?