Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从嵌套映射中获取值,很难弄清楚每个值是什么数据类型。有没有typeof可以告诉我每个值的数据类型的函数?
typeof
是的,有这个typeof功能:
presto> select typeof(1), typeof('a'); _col0 | _col1 ---------+------------ integer | varchar(1) (1 row)