Bug 416703 Mongodb : Display correctly the Number data type
data/org.eclipse.birt.data.oda.mongodb/src/org/eclipse/birt/data/oda/mongodb/internal/impl/MDbMetaData.java
byte nativeBSonDataTypeCode = Bytes.getType( fieldValue );
            if( m_nativeDataTypes == null )
                m_nativeDataTypes = new HashSet<Integer>(2);
            m_nativeDataTypes.add( Integer.valueOf( nativeBSonDataTypeCode ) );
            
            
            if( nativeBSonDataTypeCode == BSON.ARRAY )
            {
                if( fieldValue instanceof java.util.List )
                {
                    java.util.List<?> listOfObjects = (java.util.List<?>)fieldValue;
                    if( listOfObjects.size() > 0 )
                    {
                        
                        addDataType( listOfObjects.get(0) );    
                        return;
                    }
                }
            }
            DBObject fieldObjValue = 
                    ResultDataHandler.fetchFieldDocument( fieldValue, nativeBSonDataTypeCode );
            
            if( fieldObjValue != null ) 
            {
                if( m_childDocMetaData == null )
                    m_childDocMetaData = sm_factory.new DocumentsMetaData();
                m_childDocMetaData.addDocumentMetaData( fieldObjValue, this );
            }
        }