Skip to content

Bug:Error value convert for java type LongTimestampWithTimeZone #103

@coderwf

Description

@coderwf

There may be a bug in TrinoPageSource.java appendTo method,

checkArgument(type.equals(TIMESTAMP_TZ_MILLIS));
Timestamp timestamp = (org.apache.paimon.data.Timestamp) value;
type.writeObject(
output, fromEpochMillisAndFraction(timestamp.getMillisecond(), 0, UTC_KEY));

when javaType is LongTimestampWithTimeZone.class, type is TIMESTAMP_TZ_MICROS but not TIMESTAMP_TZ_MILLIS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions