-
For example, can I execute |
Beta Was this translation helpful? Give feedback.
Answered by
jonahgao
Oct 12, 2024
Replies: 1 comment 1 reply
-
I believe it can't, but you can use the > create table t(a timestamp);
0 row(s) fetched.
Elapsed 0.013 seconds.
> select * from t where a > 1725186000;
type_coercion
caused by
Error during planning: Cannot infer common argument type for comparison operation Timestamp(Nanosecond, None) > Int64
> select * from t where a > from_unixtime(1725186000);
+---+
| a |
+---+
+---+
0 row(s) fetched.
Elapsed 0.007 seconds.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
niebayes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe it can't, but you can use the
from_unixtime
function.