[
https://issues.apache.org/jira/browse/HUDI-7976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chen closed HUDI-7976.
----------------------------
Resolution: Fixed
Fixed via master branch: 918c2e0009c054f9fcd4ca19ba3258c491483708
> Fix BUG introduced in HUDI-7955 due to usage of wrong class
> -----------------------------------------------------------
>
> Key: HUDI-7976
> URL: https://issues.apache.org/jira/browse/HUDI-7976
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: voon
> Assignee: voon
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> In the bugfix for HUDI-7955, the wrong class for invoking {{getTimestamp
> }}was used.
> # {*}Wrong{*}: org.apache.hadoop.hive.common.type.Timestamp
> # {*}Correct{*}: org.apache.hadoop.hive.serde2.io.TimestampWritableV2
>
> !https://git.garena.com/shopee/data-infra/hudi/uploads/eeff29b3e741c65eeb48f9901fa28da0/image.png|width=468,height=235!
>
> Submitting a bugfix to fix this bugfix...
> Log levels for the exception block is also changed to warn so errors will be
> printed out.
> On top of that, we have simplified the {{getMillis}} shim to remove the
> method that was added in HUDI-7955 to standardise it with how {{getDays}} is
> written.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)