Support multi column results with using mongo query runner (#6558)

* Support multi column results with using mongo query runner

* format

Signed-off-by: del-zhenwu <lizhenxiang@pjlab.org.cn>

* Update test_mongodb.py

update unit test case: nested dict for mongodb runner

* Update test_mongodb.py

* fix formatting

---------

Signed-off-by: del-zhenwu <lizhenxiang@pjlab.org.cn>
Co-authored-by: del-zhenwu <dele.zhenwu@gmail.com>
Co-authored-by: del-zhenwu <lizhenxiang@pjlab.org.cn>
This commit is contained in:
Guido Petri
2023-10-28 20:13:17 -05:00
committed by GitHub
parent a5b01bf8ee
commit 39e4ea155c
2 changed files with 23 additions and 27 deletions

View File

@@ -141,7 +141,7 @@ class TestMongoResults(TestCase):
"column": 2,
"column2": "test",
"column3": "hello",
"nested": {"a": 2, "b": "str2", "c": "c"},
"nested": {"a": 2, "b": "str2", "c": "c", "d": {"e": 3}},
},
]
@@ -157,6 +157,7 @@ class TestMongoResults(TestCase):
"nested.a": 2,
"nested.b": "str2",
"nested.c": "c",
"nested.d.e": 3,
},
)