๐๐ฎ๐๐ฎ, ๐๐ป๐ฎ๐น๐๐๐ถ๐ฐ๐ & ๐๐. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
But if not enable it, jiff will read tzinfo from file /usr/share/zoneinfo. This file relate tzdata in system env. And we init timezone in function ctx, if system not install tzdata will cause panic. So we enable feature tzdb-bundle-always as default.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
In jiff https://docs.rs/jiff/latest/jiff/index.html#time-zone-features, we enable
tzdb-bundle-always
(When enabled, Jiff will forcefully depend on the jiff-tzdb crate). It's not a good idea when use jiff crate.But if not enable it, jiff will read tzinfo from file /usr/share/zoneinfo. This file relate
tzdata
in system env. And we init timezone in function ctx, if system not install tzdata will cause panic. So we enable featuretzdb-bundle-always
as default.Done:
register_diff_functions(registry) register_to_number_functions(registry) register_add_functions(registry) register_sub_functions(registry) register_timestamp_to_date register_date_to_timestamp register_to_string register_string_to_date register_string_to_timestamp register_real_time_functions register_rounder_functions
Tests
Type of change
This change isโ