Skip to content

Make methods that return BaseTableInfo or JobInfo generic #499

Description

@mziccard

The following method in BigQuery should be made generic:

  • BaseTableInfo create(BaseTableInfo table, TableOption... options)
  • BaseTableInfo update(BaseTableInfo table, TableOption... options)
  • BaseTableInfo getTable(String datasetId, String tableId, TableOption... options)
  • BaseTableInfo getTable(TableId tableId, TableOption... options)
  • JobInfo create(JobInfo job, JobOption... options)
  • JobInfo getJob(String jobId, JobOption... options)
  • JobInfo getJob(JobId jobId, JobOption... options)

For instance:

<T extends BaseTableInfo> T create(T table, TableOption... options) throws BigQueryException;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨 criticalP0 critical issue. Requires immediate fixapi: bigqueryIssues related to the BigQuery API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions