Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
4ff7c3ef
Commit
4ff7c3ef
authored
9 years ago
by
Allen Gilliland
Browse files
Options
Downloads
Patches
Plain Diff
couple more unit test fixes specific to mongo driver testing.
parent
f29600e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/metabase/driver/query_processor_test.clj
+5
-1
5 additions, 1 deletion
test/metabase/driver/query_processor_test.clj
with
5 additions
and
1 deletion
test/metabase/driver/query_processor_test.clj
+
5
−
1
View file @
4ff7c3ef
...
...
@@ -918,7 +918,7 @@
[
426
"Kyle's Low-Carb Grill"
]
[
470
"Kyle's Low-Carb Grill"
]]
(
Q
dataset
geographical-tips
use
mongo
return
rows
(
map
(
fn
[[
id
_
_
{
venue-name
:name
}]]
[
id
venue-name
]))
return
rows
(
map
(
fn
[[
id
_
_
_
{
venue-name
:name
}]]
[
id
venue-name
]))
aggregate
rows
of
tips
filter
=
venue...name
"Kyle's Low-Carb Grill"
order
id
...
...
@@ -929,24 +929,28 @@
(
datasets/expect-when-testing-dataset
:mongo
[[
446
{
:mentions
[
"@cams_mexican_gastro_pub"
]
,
:tags
[
"#mexican"
"#gastro"
"#pub"
]
,
:service
"twitter"
,
:username
"kyle"
}
"Cam's Mexican Gastro Pub is a historical and underappreciated place to conduct a business meeting with friends."
{
:large
"http://cloudfront.net/6e3a5256-275f-4056-b61a-25990b4bb484/large.jpg"
,
:medium
"http://cloudfront.net/6e3a5256-275f-4056-b61a-25990b4bb484/med.jpg"
,
:small
"http://cloudfront.net/6e3a5256-275f-4056-b61a-25990b4bb484/small.jpg"
}
{
:phone
"415-320-9123"
,
:name
"Cam's Mexican Gastro Pub"
,
:categories
[
"Mexican"
"Gastro Pub"
]
,
:id
"bb958ac5-758e-4f42-b984-6b0e13f25194"
}]
[
230
{
:mentions
[
"@haight_european_grill"
]
,
:tags
[
"#european"
"#grill"
]
,
:service
"twitter"
,
:username
"kyle"
}
"Haight European Grill is a horrible and amazing place to have a birthday party during winter."
{
:large
"http://cloudfront.net/1dcef7de-a1c4-405b-a9e1-69c92d686ef1/large.jpg"
,
:medium
"http://cloudfront.net/1dcef7de-a1c4-405b-a9e1-69c92d686ef1/med.jpg"
,
:small
"http://cloudfront.net/1dcef7de-a1c4-405b-a9e1-69c92d686ef1/small.jpg"
}
{
:phone
"415-191-2778"
,
:name
"Haight European Grill"
,
:categories
[
"European"
"Grill"
]
,
:id
"7e6281f7-5b17-4056-ada0-85453247bc8f"
}]
[
319
{
:mentions
[
"@haight_soul_food_pop_up_food_stand"
]
,
:tags
[
"#soul"
"#food"
"#pop-up"
"#food"
"#stand"
]
,
:service
"twitter"
,
:username
"kyle"
}
"Haight Soul Food Pop-Up Food Stand is a underground and modern place to have breakfast on a Tuesday afternoon."
{
:large
"http://cloudfront.net/8f613909-550f-4d79-96f6-dc498ff65d1b/large.jpg"
,
:medium
"http://cloudfront.net/8f613909-550f-4d79-96f6-dc498ff65d1b/med.jpg"
,
:small
"http://cloudfront.net/8f613909-550f-4d79-96f6-dc498ff65d1b/small.jpg"
}
{
:phone
"415-741-8726"
,
:name
"Haight Soul Food Pop-Up Food Stand"
,
:categories
[
"Soul Food"
"Pop-Up Food Stand"
]
,
:id
"9735184b-1299-410f-a98e-10d9c548af42"
}]
[
224
{
:mentions
[
"@pacific_heights_free_range_eatery"
]
,
:tags
[
"#free-range"
"#eatery"
]
,
:service
"twitter"
,
:username
"kyle"
}
"Pacific Heights Free-Range Eatery is a wonderful and modern place to take visiting friends and relatives Friday nights."
{
:large
"http://cloudfront.net/cedd4221-dbdb-46c3-95a9-935cce6b3fe5/large.jpg"
,
:medium
"http://cloudfront.net/cedd4221-dbdb-46c3-95a9-935cce6b3fe5/med.jpg"
,
:small
"http://cloudfront.net/cedd4221-dbdb-46c3-95a9-935cce6b3fe5/small.jpg"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment