You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
Rectify the issue of null being included in the requests.
### Why are the changes needed?
Fix: #1001
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
N/A
### What changes were proposed in this pull request?
Rectify the issue of null being included in the requests.
### Why are the changes needed?
Fix: #1001
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
N/A
### What changes were proposed in this pull request?
Rectify the issue of null being included in the requests.
### Why are the changes needed?
Fix: #1001
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
N/A
Co-authored-by: CHEYNE <[email protected]>
Describe what's wrong
The web UI tried to make these calls which fail:
http://localhost:3000/api/metalakes/metalake/catalogs/null
http://localhost:3000/api/metalakes/metalake/catalogs/null/schemas
There errors are hidden and only show up in teh developer console.
(Note also that null coudl be a valid but poor choice of a name for a schema)
Error message and/or stacktrace
{message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
M {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
How to reproduce
Create a metalake and a catalog:
curl -X POST -H "Content-Type: application/json" -d '{"name":"metalake","comment":"Test metalake"}' http://localhost:8090/api/metalakes
curl -X POST -H "Content-Type: application/json" -d '{"name":"test","comment":"Test catalog","type":"RELATIONAL", "provider":"hive","properties":{"metastore.uris":"thrift://0.0.0.0:9083"}}' http://localhost:8090/api/metalakes/metalake/catalogs
View the catalog in the UI.
Additional context
No response
The text was updated successfully, but these errors were encountered: