mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 18:52:33 +08:00
sync documentation, add remark about to_timestamp and redshift (#9841)
This commit is contained in:
@ -72,6 +72,7 @@ func (m *PostgresMacroEngine) evaluateMacro(name string, args []string) (string,
|
||||
}
|
||||
return fmt.Sprintf("extract(epoch from %s) as \"time\"", args[0]), nil
|
||||
case "__timeFilter":
|
||||
// dont use to_timestamp in this macro for redshift compatibility #9566
|
||||
if len(args) == 0 {
|
||||
return "", fmt.Errorf("missing time column argument for macro %v", name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user