Java many times preserve date as long and then we can convert it the way we want when we need to interface with other systems (like UI, DB or etc). We can still do conversion from one date format to other, but I would prefer to keep it raw and convert in required format when need arise.
-Priyanka On Tue, May 3, 2016 at 11:13 PM, Pradeep Kumbhar <[email protected]> wrote: > +1 for the change. > At some point in time, user'll need this to specify fields related to time > more meaningfully. > > On Wed, May 4, 2016 at 10:17 AM, Sandeep Deshmukh <[email protected] > > > wrote: > > > +1. > > Good to have intuitive way of using fields. > > > > Regards, > > Sandeep > > > > On Wed, May 4, 2016 at 9:39 AM, Shubham Pathak <[email protected]> > > wrote: > > > > > Hello Community, > > > > > > JdbcPOJOInputOperator reads from a database using JDBC API and emits a > > POJO > > > for each record. > > > > > > In the current implementation, Date/Time/Timestamp fields of the table > > are > > > mapped to "long" field in POJO. While this works fine, it is not > > intuitive. > > > > > > I would like to enhance the operator so that user can specify fields > with > > > the type Date/Time/Timestamp in POJO. > > > > > > Please let me know your thoughts on this. > > > > > > Here's the JIRA ticket > > > https://issues.apache.org/jira/browse/APEXMALHAR-2075 > > > > > > Thanks, > > > Shubham > > > > > > > > > -- > *regards,* > *~pradeep* >
