-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
To select a json object from mongodb in clickhouse. #64097
Comments
Tried using
This does not throw error but date comes as |
Looks like an easy fixable bug: we just need to support ClickHouse/src/Processors/Sources/MongoDBSource.cpp Lines 242 to 255 in 44c4892
|
Will it be able to read JSON objects from mongoDB as is (by mentioning Nested or JSON in schema), or will it still need to read it as String then cast post read? |
Hi @kssenii will it be fixed soon? |
I have a nested object in my mongo db table the column is
affiliate_bag_details
while fetching the same using the function MongoDB
Getting the following error
Exception: Type mismatch, expected String, got type id = 3 for column affiliate_bag_details: While executing MongoDB.
Can anyone please suggest what is an alternative schema that i can use to perform the above operation?
The text was updated successfully, but these errors were encountered: