I'm getting values from nested maps and it's hard to figure out what data type each value is. Is there a typeof
function that can tell me the data type of each value?
Yes, there is the typeof
function:
presto> select typeof(1), typeof('a');
_col0 | _col1
---------+------------
integer | varchar(1)
(1 row)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With