For MongoDB, if we specify a collection that does not exist in the database, select it and hit Ctrl+D to describe, the query analyzer displays details of that
Is this as designed ?
In SQL Server or any other database we display table does not exist.
The SHOW FIELDS command currently returns the "_id" field even though the collection doesn't exist. It should return an empty result set if the collection doesn't exist in the database.
Empty resultset is now returned if the given collection does not exist.
Empty resultset is now returned if the given collection does not exist.
Issue #8786 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 14.0-dev-61 (mongo-jdbc 1.1.5) |
No time estimate |
1 issue link |
relates to #9150
Issue #9150Need informative message for SHOW FIELDS command |
The SHOW FIELDS command currently returns the "_id" field even though the collection doesn't exist. It should return an empty result set if the collection doesn't exist in the database.