diff --git a/pql/ast.go b/pql/ast.go index d3858b951..e93a2aaf5 100644 --- a/pql/ast.go +++ b/pql/ast.go @@ -791,19 +791,6 @@ func (c *Call) TranslateInfo(columnLabel, rowLabel string) (colKey, rowKey, fiel } } -// Writable returns true if call is mutable (e.g. can write new translation keys) -func (c *Call) Writable() bool { - switch c.Name { - case "Set", "SetRowAttrs", "SetColumnAttrs", "SetBit": - return true - case "Not": - // to support queries like Not(Row(f="garbage")) - return true - default: - return false - } -} - func (c *Call) ArgString(key string) string { value, ok := c.Args[key] if !ok {