Skip to content

读取Mongodb视图错误Namespace Original_Data.gy_ypgwml_View is a view, not a collection #2261

Open
@2695115374

Description

2025-01-03 10:12:00 [AnalysisStatistics.analysisStatisticsLog-53] com.mongodb.MongoCommandException: Command failed with error 166: 'Namespace Original_Data.gy_ypgwml_View is a view, not a collection' on server 192.168.33.7:27017. The full response is { "ok" : 0.0, "errmsg" : "Namespace Original_Data.gy_ypgwml_View is a view, not a collection", "code" : 166, "codeName" : "CommandNotSupportedOnView" }

{
        "reader": {
          "name": "mongodbreader",
          "parameter": {
            "address": [
              "192.168.33.7:27017"
            ],
            "userName": "original_data",
            "userPassword": "iDPKq_8RwceJeqjqpfhb",
            "dbName": "Original_Data",
            "collectionName": "gy_ypgwml_View",
            "query": {},
            "column": [
              {
                "name": "剂型",
                "type": "String"
              }
            ]
          }
        }

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions