Issues with Delta Sharing API when using Service Principal Token
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 10:28 AM
Hello,
I am currently working with the Delta Sharing API and have encountered an issue when using a Service Principal token for authentication. The API call returns the following error:
[CANNOT_INFER_EMPTY_SCHEMA] Can not infer schema from empty dataset.
However, when I use a personal access token, the API works as expected.
My questions are:
1. Does the Delta Sharing API only support personal access tokens for authentication?
2. Is there any additional configuration or permission required when using a Service Principal token for Delta Sharing?
3. Has anyone else encountered this schema inference error, and how can it be resolved?
Thanks