sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kalyan kumar kalvagadda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-2192) supress date value in @Generated annotation generated by thrift
Date Wed, 28 Mar 2018 19:38:00 GMT

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

kalyan kumar kalvagadda commented on SENTRY-2192:
-------------------------------------------------

This can be achieved by adding thrift option "generated_annotations=suppress"  

> supress date value in @Generated annotation generated by thrift
> ---------------------------------------------------------------
>
>                 Key: SENTRY-2192
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2192
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>             Fix For: 2.1.0
>
>
> With the current thrift options used, @Generated annotation adds date which kind of updates
all the thrift generated files when --thriftif option used.
> When someone makes some changes to any of the thrift definitions and tries to generate
the source all the auto generated files get updated.
> This can be avoided by suppressing date in the @generated annotation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message