Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
fed7af93
Commit
fed7af93
authored
May 27, 2015
by
Harish Butani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG-37860: add a testcase
parent
1bc9ad9c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
GremlinTest.scala
.../scala/org/apache/hadoop/metadata/query/GremlinTest.scala
+7
-0
No files found.
repository/src/test/scala/org/apache/hadoop/metadata/query/GremlinTest.scala
View file @
fed7af93
...
...
@@ -143,4 +143,11 @@ class GremlinTest extends FunSuite with BeforeAndAfterAll with BaseGremlinTest {
val
e
=
p
(
"from blah"
).
right
.
get
an
[
ExpressionException
]
should
be
thrownBy
QueryProcessor
.
evaluate
(
e
,
g
)
}
test
(
"Bug37860"
)
{
val
p
=
new
QueryParser
val
e
=
p
(
"Table as t where name = 'sales_fact' db where name = 'Sales' and owner = 'John ETL' select t"
).
right
.
get
val
r
=
QueryProcessor
.
evaluate
(
e
,
g
)
validateJson
(
r
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment