Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.11.0
-
None
-
None
Description
Schemas.path does not traverse schemas with empty-string name but the parsed schema path may be relative to some nested schema with an empty name rather than been relative to the input root-schema.
ie.
rootSchema is "CATALOG"
the view table full-path is "CATALOG".""."VIEW" (the schema name is empty)
names is ("VIEW")
Schemas.path will fail as it tries to find "VIEW" relative to rootSchema but does not try to traverse the intermediate schema.
If the first value in names is not found, we should try to traverse all prepending schema with empty-string name.