atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-106) Store createTimestamp and modified timestamp separately for an entity
Date Tue, 15 Dec 2015 11:27:46 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057890#comment-15057890
] 

Suma Shivaprasad commented on ATLAS-106:
----------------------------------------

[~dkantor] Can you pls merge and upload the patch . Unable to apply it currently.

{noformat}
git apply -v ATLAS-106.patch
ATLAS-106.patch:27: trailing whitespace.

ATLAS-106.patch:79: trailing whitespace.

ATLAS-106.patch:91: trailing whitespace.

ATLAS-106.patch:116: trailing whitespace.

ATLAS-106.patch:136: trailing whitespace.

Checking patch repository/src/main/java/org/apache/atlas/repository/Constants.java...
Checking patch repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepository.java...
Hunk #2 succeeded at 44 (offset 1 line).
Hunk #3 succeeded at 221 (offset 3 lines).
Hunk #4 succeeded at 281 (offset 3 lines).
Checking patch repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java...
Checking patch repository/src/main/java/org/apache/atlas/repository/graph/TypedInstanceToGraphMapper.java...
error: while searching for:
            //TODO - Handle Trait updates
            addTraits(typedInstance, instanceVertex, classType);
        }
    }

    private void mapInstanceToVertex(ITypedInstance typedInstance, Vertex instanceVertex,

error: patch failed: repository/src/main/java/org/apache/atlas/repository/graph/TypedInstanceToGraphMapper.java:158
error: repository/src/main/java/org/apache/atlas/repository/graph/TypedInstanceToGraphMapper.java:
patch does not apply
Checking patch repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepositoryTest.java...
Hunk #1 succeeded at 215 (offset -2 lines).
Hunk #2 succeeded at 252 (offset -2 lines).
Hunk #3 succeeded at 272 (offset -2 lines).
Hunk #4 succeeded at 326 (offset -2 lines).
Hunk #5 succeeded at 343 (offset -2 lines).
Hunk #6 succeeded at 519 (offset -2 lines).
Hunk #7 succeeded at 536 (offset -2 lines).
Hunk #8 succeeded at 553 (offset -2 lines).
{noformat}

> Store createTimestamp and modified timestamp separately for an entity
> ---------------------------------------------------------------------
>
>                 Key: ATLAS-106
>                 URL: https://issues.apache.org/jira/browse/ATLAS-106
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Suma Shivaprasad
>            Assignee: David Kantor
>         Attachments: ATLAS-106-v1.patch
>
>
> Currently we store only the Create timestamp in atlas. Would be better to separate to
track create and modified time separately , in cases where we want to support search queries
give all entities which have been modified in the past 1 day etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message