我想在Athena (Presto)中将可读的时间戳转换为UNIX时间。 TO_UNIXTIME('2018-08-24 06:42:16') new_year_ut SYNTAX_ERROR: line 1:77: UnexpectedExpected: to_unixtime(timestamp) , to_unixtime(timestamp with time zo
我试图在presto中更改时间戳的时区,但是,当我将列的类型转换回时间戳时,时区校正被恢复。我试过了 SELECT FROM_UNIXTIME(CAST(to_unixtime(CAST('2012-10-31 01:00' AS timestamp) AT TIME ZONE 'US/PacificAlter timezone constraint PostgreSQL Can you use a column for the timezone parameter of AT TIME ZONE in Pre
例如,我有一个时间字符串'2012-10-31 01:00‘(它是UTC,但是字符串本身没有时区代码)我试过很多版本,只是运气不好。ERROR: function from_unixtime(timestamp without time zone, unknown) does not exist
Hint: No function matches the given name
: line 1:8: Function mysum not registered at com.facebook.presto.sql.analyzer.ExpressionAnalyzer.analyze(ExpressionAnalyzer.java:231)at com.facebook.presto.sql.tree.AstVisitor.p