what are the valid dimensions for lookup.cache.ttl?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

what are the valid dimensions for lookup.cache.ttl?

Marco Villalobos-2
there no allowable dimensions specified for the lookup.cache.ttl.

Can somebody please provide a list of valid  values and their meaning?  I know 's' for seconds is supported.  How do I specify minutes?

Reply | Threaded
Open this post in threaded view
|

Re: what are the valid dimensions for lookup.cache.ttl?

r_khachatryan
Hi Marco,

You can find the list of the supported time units in TimeUtils javadoc [1]:
DAYS: "d", "day"
HOURS: "h", "hour"
MINUTES: "min", "minute"
SECONDS: "s", "sec", "second"
MILLISECONDS: "ms", "milli", "millisecond"
MICROSECONDS: "µs", "micro", "microsecond"
NANOSECONDS: "ns", "nano", "nanosecond"

[1]

Regards,
Roman


On Tue, Dec 8, 2020 at 4:04 PM Marco Villalobos <[hidden email]> wrote:
there no allowable dimensions specified for the lookup.cache.ttl.

Can somebody please provide a list of valid  values and their meaning?  I know 's' for seconds is supported.  How do I specify minutes?

Reply | Threaded
Open this post in threaded view
|

Re: what are the valid dimensions for lookup.cache.ttl?

Marco Villalobos-2
Thank you very much!

On Tue, Dec 8, 2020 at 8:26 AM Khachatryan Roman
<[hidden email]> wrote:

>
> Hi Marco,
>
> You can find the list of the supported time units in TimeUtils javadoc [1]:
> DAYS: "d", "day"
> HOURS: "h", "hour"
> MINUTES: "min", "minute"
> SECONDS: "s", "sec", "second"
> MILLISECONDS: "ms", "milli", "millisecond"
> MICROSECONDS: "µs", "micro", "microsecond"
> NANOSECONDS: "ns", "nano", "nanosecond"
>
> [1]
> https://ci.apache.org/projects/flink/flink-docs-stable/api/java/org/apache/flink/util/TimeUtils.html#parseDuration-java.lang.String-
>
> Regards,
> Roman
>
>
> On Tue, Dec 8, 2020 at 4:04 PM Marco Villalobos <[hidden email]> wrote:
>>
>> In https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/connectors/jdbc.html
>> there no allowable dimensions specified for the lookup.cache.ttl.
>>
>> Can somebody please provide a list of valid  values and their meaning?  I know 's' for seconds is supported.  How do I specify minutes?
>>