Atlas およびオンプレミス用のMongoDB Connector for Business Intelligence はサポート終了(EOL)に達し、 年 92026 月以降はサポートされなくなります。すべての新しいプロジェクトで、新しいMongoDB SQL Interface を使用して Atlas または Enterprise Advanced 配置に接続することをお勧めします。 SQL Interface は、パフォーマンスの向上、簡素化された設定、および機能の強化を提供します。詳しくは、「 SQLを使用した接続 」を参照してください。
地理空間データ
コレクションに2d または の2dsphere 地理空間インデックスが含まれている場合、 BI Connector はインデックスフィールドを数値経度緯度座標の配列にマッピングします。
例
次の コレクションがあるとします。
db.points.createIndex( { pos : "2dsphere" } ) db.points.insertOne({ pos : { type: "Point", coordinates: [ -73.97, 40.77 ] }, name: "Central Park", category : "Parks" })
BI Connector は、次のスキーマを生成します。
schema: - db: test tables: - table: points collection: points pipeline: [] columns: - Name: _id MongoType: bson.ObjectId SqlName: _id SqlType: varchar - Name: category MongoType: string SqlName: category SqlType: varchar - Name: name MongoType: string SqlName: name SqlType: varchar - Name: pos.coordinates MongoType: geo.2darray SqlName: pos.coordinates SqlType: numeric[]
BI Connector は、 ビューから読み取る場合、地理空間フィールドを認識しません。