Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix information_schema query failures in BigQuery connector
In 212e1bb the toRemoteTable method called listTables unconditionally instead of returning early if case-insensitive name matching is not enabled. That caused query failures for information_schema queries because instead of an early return it tried to list tables in a remote schema called `information_schema` (which isn't intended). This change fixes the issue by making the listTables call lazy by using a Supplier instead of a materialized iterable.
- Loading branch information