Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
ghx-label-9
Description
Saw failure in https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/5496/testReport/
Stack Trace query_test/test_iceberg.py:182: in test_describe_history_params expect_results_from(ts_1 - datetime.timedelta(hours=1), 3) query_test/test_iceberg.py:141: in expect_results_from result_ts_dt = datetime.datetime.strptime(result_ts, time_format) ../toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/lib/python2.7/_strptime.py:332: in _strptime (data_string, format)) E ValueError: time data '2022-03-31 14:52' does not match format '%Y-%m-%d %H:%M:%S.%f'
Probably we just need to use this elegant solution: https://stackoverflow.com/a/30584445