Keep lake files discoverable and access consistent
Two teams need to query the same Parquet files. One has been granted access through a governed external table. The other can also list the raw bucket. What should the owner check?
Keep lake files discoverable and access consistent
Separate the bytes, their table metadata and the identity allowed to read them. A table policy protects reads through that table. Independent permission to read raw objects is a second path with its own rules. Test both with a representative reader before publishing.
In the recording
Put open files in a lake and expose them to BigQuery and other engines with a governed lakehouse table.
Work through the decision
Two teams need to query the same Parquet files. One has been granted access through a governed external table. The other can also list the raw bucket. What should the owner check?
Check your reasoning
Inventory both access paths. Publish a catalog entry with schema and partition layout, grant the table’s connection the required storage access and review direct bucket grants. Inspect scan bytes and file counts to identify expensive layouts.
Decisions and tradeoffs
- Catalog metadata
- Publish schema, ownership, partitions and discovery information so consumers can locate and interpret files.
- Governed external table
- A BigLake table can delegate access to underlying files through a connection and expose table-level governance to readers.
- Partition pruning
- Filter on the partition key and check scanned data to confirm that irrelevant partitions are skipped.
- Compaction
- Rewrite many tiny files into fewer appropriately sized files to reduce listing and per-file overhead.
Practice the guide skills
- Record discovery, storage permissions and cost controls for one lake table.
- Run a bounded read of a partition and check the schema.
- Track file counts, scan bytes and errors as data accumulates.
Official objectives for this lesson
Related lesson · Match data format, extraction method and serving store
Keep lake files discoverable and access consistent quiz
Answer 3 questions. Check each answer for an explanation.