Introduction to Databricks
Find the intended registered table
The same short reference returns test equipment
The maintenance lookup worked in its original session. A changed current schema now sends the same short name to commissioning’s test readings.
BOTIE
The inputs we are comparing
Requested table-name parts
Same in both cases
- 0readings
Current catalog
Same in both cases
operations
Current schema
The short name begins in maintenance
maintenance
The current schema changes to commissioning
commissioning
Registered tables and effective readers
Same in both cases
[
{
"name": "operations.maintenance.readings",
"readers": [
"botie"
],
"rows": [
{
"pump": "P7",
"temperature_c": 12
}
]
},
{
"name": "operations.commissioning.readings",
"readers": [
"botie"
],
"rows": [
{
"pump": "TEST_P7",
"temperature_c": 80
}
]
}
]Verified principal identity
Same in both cases
botie
Result for the short name begins in maintenance
- name
- operations.maintenance.readings
- rows
- pump
- P7
- temperature_c
- 12
pump temperature_c P7 12
A different catalog has the same schema and table names
This check uses the pieces from “Make the selected table identity visible”.
BOTIE
- Requested table-name parts
- 0maintenance
- 1readings
- Current catalog
research
- Current schema
other
- Verified principal identity
botie
- Registered tables and effective readers
[ { "name": "operations.maintenance.readings", "readers": [ "botie" ], "rows": [ { "pump": "P7", "temperature_c": 12 } ] }, { "name": "research.maintenance.readings", "readers": [ "botie" ], "rows": [] } ]
Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
Why can a fully qualified table name prevent a naming mistake without guaranteeing permission to read the table?
Keep the requested identity, the session defaults and the actual requesting principal explicit.
This local model uses simple lowercase registered names and explicit effective reader lists. It does not parse SQL, authenticate identities or implement Unity Catalog inheritance, ownership, namespace privileges, workspace restrictions or cloud storage permissions.