mongodb / mongo-jdbc-driver

JDBC Driver for MongoDB Atlas SQL interface
Apache License 2.0
37 stars 33 forks source link

SQL-48: Update to use returned bsonType from ADL #29

Closed pmeredit closed 4 years ago

pmeredit commented 4 years ago

This is the update the type info using the returned ADL type.

pmeredit commented 4 years ago

@mattChiaravalloti I think waiting for later would make more sense. Ultimately, I think it adds very little overhead in the grand scheme of things, and it makes it much easier to read output.

Actually, if it really is an issue, I could be caching the BsonTypes in the metadata object, too!