apache / apache/beam

[Feature Request]: Support query parameter in read_gbq

Open
#22,912 0 comments 0 reactions 0 assignees View on GitHub
dataframe dsl new feature P2
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What would you like to happen?

Currently read_gbq can only read an entire table, we should also allow specifying the query parameter, which behaves the same as the query parameter in BigQueryIO and in pandas read_gbq.

Part of #20810

### Issue Priority

Priority: 2

### Issue Component

Component: dsl-dataframe

Contributor guide

Open the contributing guide

Research direction

Start by locating the read_gbq entry point in the dsl-dataframe component and compare its current table-reading behavior with BigQueryIO and pandas read_gbq. Review issue #20810 for related context. Done means read_gbq accepts a query parameter and its behavior matches those existing interfaces, with coverage for query-based reads.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, python
Domain
cloud, data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.