Problem Note 70086: Accessing a flat table created from a MongoDB collection where one of the documents contains a multiple dimension array might result in an error
Accessing a flat table that is created from a MongoDB collection might result in an error similar to the following when one of the documents contained a multi-dimension array:
ERROR: CLI prepare error: Error occurred during Post Optimization. : Invalid descriptor field identifier
When the flat table is created, a column is created for each element of the array that exists in the MongoDB document. Multi-dimension arrays appear in the flat table as the array base name plus the indices without any separation. So if the array, such as myarr, contains elements such as (11,0) and (1,10), both are given the same name - myarr110. The duplicate column name results in the error when the flat table is accessed.
There is no workaround for this error.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to MongoDB | Linux for x64 | 9.4 | | 9.4 TS1M6 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2023-08-30 11:29:23 |
Date Created: | 2023-05-09 15:42:12 |