Skip to content

Table update seems to be unsupported #412

@Kwaq

Description

@Kwaq

What happened?

POST to /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}
results in 500 Internal Server Error with message

"unexpected request path: /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId} "

What did you expect to happen?

Table updated sucessfully.

How can we reproduce it (as minimally and precisely as possible)?

Using Java BQ API:

final TableId tableId = TableId.of("test-project", "test-dataset", "test-table");
final Table table = bigQuery.getTable(tableId);

table.toBuilder()
  .setExpirationTime(7)
  .build()
  .update();

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions