I am trying to query a mongodb collection with schema changes using apache drill, however I keep encountering this error
IllegalArgumentException: You tried to write a BigInt type when you are using a ValueWriter of type NullableIntWriterImpl.
Any ideas on how to fix this issue?
Sample Data in the mongo collection is:
_id : 4563 string code: 567438 string amount: 228218 int32 indicator : G string
The drill query is: select * from collection_name