Skip to content

Commit

Permalink
feat: Partial Projection of Table Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan0102 committed Jun 14, 2023
1 parent d178593 commit 69e7bcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -56,7 +56,8 @@ enum Option {
START_INDEX("startIndex"),
STATE_FILTER("stateFilter"),
TIMEOUT("timeoutMs"),
REQUESTED_POLICY_VERSION("requestedPolicyVersion");
REQUESTED_POLICY_VERSION("requestedPolicyVersion"),
TABLE_METADATA_VIEW("view");

private final String value;

Expand Down
Expand Up @@ -1516,6 +1516,9 @@ public void testCreateAndGetTable() {
assertEquals(DATASET, createdTable.getTableId().getDataset());
assertEquals(tableName, createdTable.getTableId().getTable());
Table remoteTable = bigquery.getTable(DATASET, tableName);
System.out.println("Penguins");
System.out.println(remoteTable);
System.out.println(remoteTable.);
assertNotNull(remoteTable);
assertTrue(remoteTable.getDefinition() instanceof StandardTableDefinition);
assertEquals(createdTable.getTableId(), remoteTable.getTableId());
Expand Down

0 comments on commit 69e7bcb

Please sign in to comment.