Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Schema inference for Azure Cosmos DB does not work #2476

Open
1 task done
sajeetharan opened this issue Nov 26, 2024 · 2 comments
Open
1 task done

[Bug]: Schema inference for Azure Cosmos DB does not work #2476

sajeetharan opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working cosmos triage issues to be triaged

Comments

@sajeetharan
Copy link
Member

What happened?

Shema inference should work with dab export --generate command, currently it throws the below error and also shows successful message as schema generated successfully

Image

Version

1.3.13-rc

What database are you using?

CosmosDB NoSQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

No response

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct
@sajeetharan sajeetharan added bug Something isn't working triage issues to be triaged labels Nov 26, 2024
@sajeetharan
Copy link
Member Author

Please fix the error message also show relevant message (In this case all connection string, account name, database name, container name was part of the config)

@sourabh1007
Copy link
Contributor

sourabh1007 commented Dec 3, 2024

There are two points to note:

  1. The log message is incorrect.
  2. From a functionality perspective, we had previously decided (you might recall this discussion) to support only a single/global container configuration for now, with plans to expand support based on customer requests in the future. This is why the error occurs when container name information is missing. ref [Bug]: Improve schema inference experience for azure cosmosdb #2477
    It seems we now need to add that support. Therefore, I am including these changes in my new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cosmos triage issues to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants