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
ce7d83c1
Commit
ce7d83c1
authored
9 years ago
by
Shwetha GS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-933 Test failure: HiveHookIT.testInsertIntoTable (shwethags)
parent
9b00a9dd
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
HiveHookIT.java
.../src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
+4
-9
release-log.txt
release-log.txt
+1
-0
No files found.
addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
View file @
ce7d83c1
...
...
@@ -28,7 +28,6 @@ import org.apache.atlas.fs.model.FSDataTypes;
import
org.apache.atlas.hive.bridge.HiveMetaStoreBridge
;
import
org.apache.atlas.hive.model.HiveDataModelGenerator
;
import
org.apache.atlas.hive.model.HiveDataTypes
;
import
org.apache.atlas.hive.rewrite.HiveASTRewriter
;
import
org.apache.atlas.typesystem.Referenceable
;
import
org.apache.atlas.typesystem.Struct
;
import
org.apache.atlas.typesystem.persistence.Id
;
...
...
@@ -63,7 +62,6 @@ import java.text.ParseException;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.SortedMap
;
...
...
@@ -73,7 +71,6 @@ import static org.apache.atlas.AtlasClient.NAME;
import
static
org
.
apache
.
atlas
.
hive
.
hook
.
HiveHook
.
entityComparator
;
import
static
org
.
apache
.
atlas
.
hive
.
hook
.
HiveHook
.
getProcessQualifiedName
;
import
static
org
.
apache
.
atlas
.
hive
.
hook
.
HiveHook
.
lower
;
import
static
org
.
apache
.
atlas
.
hive
.
hook
.
HiveHook
.
normalize
;
import
static
org
.
testng
.
Assert
.
assertEquals
;
import
static
org
.
testng
.
Assert
.
assertNotNull
;
import
static
org
.
testng
.
Assert
.
assertTrue
;
...
...
@@ -526,14 +523,12 @@ public class HiveHookIT {
public
void
testInsertIntoTable
()
throws
Exception
{
String
tableName
=
createTable
();
String
insertTableName
=
createTable
();
String
query
=
"insert into "
+
insertTableName
+
" select id, name from "
+
tableName
;
runCommand
(
query
);
assertTableIsRegistered
(
DEFAULT_DB
,
tableName
);
assertTableIsRegistered
(
DEFAULT_DB
,
insertTableName
);
String
inputTableId
=
assertTableIsRegistered
(
DEFAULT_DB
,
tableName
);
String
opTableId
=
assertTableIsRegistered
(
DEFAULT_DB
,
insertTableName
);
String
query
=
"insert into "
+
insertTableName
+
" select id, name from "
+
tableName
;
runCommand
(
query
);
List
<
Entity
>
inputs
=
getInputs
(
tableName
,
Entity
.
Type
.
TABLE
);
List
<
Entity
>
outputs
=
getOutputs
(
insertTableName
,
Entity
.
Type
.
TABLE
);
((
WriteEntity
)
outputs
.
get
(
0
)).
setWriteType
(
WriteEntity
.
WriteType
.
INSERT
);
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
ce7d83c1
...
...
@@ -40,6 +40,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset
ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags)
ALL CHANGES:
ATLAS-933 Test failure: HiveHookIT.testInsertIntoTable (shwethags)
ATLAS-856 Lazy-load type cache provider (dkantor via shwethags)
ATLAS-931 Delete entities fails when hard delete is configured (dkantor via sumasai)
ATLAS-932 UI: 'create tag' button does not work (mneethiraj via sumasai)
...
...
This diff is collapsed.
Click to expand it.
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