Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.expressions.to_timestamp_ltz#

to_timestamp_ltz(numeric_epoch_time, precision) → pyflink.table.expression.Expression[source]#

Converts a numeric type epoch time to TIMESTAMP_LTZ.

The supported precision is 0 or 3: 0 means the numericEpochTime is in second. 3 means the numericEpochTime is in millisecond.

Parameters
  • numeric_epoch_time – The epoch time with numeric type

  • precision – The precision to indicate the epoch time is in second or millisecond

Returns

The timestamp value with TIMESTAMP_LTZ type.

New in version 1.12.0.

previous

pyflink.table.expressions.local_timestamp

next

pyflink.table.expressions.temporal_overlaps

Show Source

Created using Sphinx 4.5.0.