Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: handle empty not() expression (#10165)

Tushar Vats13982033dcf0
diff --git a/pkg/querybuilder/constants.go b/pkg/querybuilder/constants.go
index 0806e6fe14..d3bd1afab5 100644
--- a/pkg/querybuilder/constants.go
+++ b/pkg/querybuilder/constants.go
@@ -4,6 +4,16 @@ import (
"os"
)
+const (
+ TrueConditionLiteral = "true"
+ SkipConditionLiteral = "__skip__"
+ ErrorConditionLiteral = "__skip_because_of_error__"
+)
+
+var (
+ SkippableConditionLiterals = []string{SkipConditionLiteral, ErrorConditionLiteral}
+)
+
var (
BodyJSONQueryEnabled = GetOrDefaultEnv("BODY_JSON_QUERY_ENABLED", "false") == "true"
)
diff --git a/pkg/querybuilder/fallback_expr.go b/pkg/querybuilder/fallback_expr.go
index 74475a36fe..787d9110b4 100644
--- a/pkg/querybuilder/fallback_expr.go
+++ b/pkg/querybuilder/fallback_expr.go
@@ -214,7 +214,10 @@ func DataTypeCollisionHandledFieldName(key *telemetrytypes.TelemetryFieldKey, va
case []any:
if allFloats(v) {
tblFieldName = castFloat(tblFieldName)
- } else if hasString(v) {
+ } else {
+ // Any mix that is not all-floats (e.g. [bool, float64], [bool], all-strings)
+ // must be stringified: passing a Go bool as UInt8 against a String column
+ // causes ClickHouse error 386 "no supertype for String and UInt8".
_, value = castString(tblFieldName), toStrings(v)
}
case bool:
diff --git a/pkg/querybuilder/resourcefilter/condition_builder.go b/pkg/querybuilder/resourcefilter/condition_builder.go
index 3233af4a55..b8476f14e5 100644
--- a/pkg/querybuilder/resourcefilter/condition_builder.go
+++ b/pkg/querybuilder/resourcefilter/condition_builder.go
@@ -54,7 +54,7 @@ func (b *defaultConditionBuilder) ConditionFor(
) (string, error) {
if key.FieldContext != telemetrytypes.FieldContextResource {
- return "true", nil
+ return querybuilder.SkipConditionLiteral, nil
}
// except for in, not in, between, not between all other operators should have formatted value
diff --git a/pkg/querybuilder/resourcefilter/statement_builder_test.go b/pkg/querybuilder/resourcefilter/statement_builder_test.go
new file mode 100644
index 0000000000..719f2a669d
--- /dev/null
+++ b/pkg/querybuilder/resourcefilter/statement_builder_test.go
@@ -0,0 +1,674 @@
+package resourcefilter
+
+import (
+ "context"
+ "testing"
+
+ "github.com/SigNoz/signoz/pkg/instrumentation/instrumentationtest"
+ qbtypes "github.com/SigNoz/signoz/pkg/types/querybuildertypes/querybuildertypesv5"
+ "github.com/SigNoz/signoz/pkg/types/telemetrytypes"
+ "github.com/SigNoz/signoz/pkg/types/telemetrytypes/telemetrytypestest"
+ "github.com/stretchr/testify/require"
+)
+
+func buildTestFieldKeyMap(signal telemetrytypes.Signal) map[string][]*telemetrytypes.TelemetryFieldKey {
+ keysMap := map[string][]*telemetrytypes.TelemetryFieldKey{
+ "service.name": {
+ {
+ Name: "service.name",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "k8s.namespace.name": {
+ {
+ Name: "k8s.namespace.name",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "k8s.deployment.name": {
+ {
+ Name: "k8s.deployment.name",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "env": {
+ {
+ Name: "env",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "http.request.method": {
+ {
+ Name: "http.request.method",
+ FieldContext: telemetrytypes.FieldContextAttribute,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "deployment.environment": {
+ {
+ Name: "deployment.environment",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "host.name": {
+ {
+ Name: "host.name",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ // Attribute fields for complex filter test
+ "severity_text": {
+ {
+ Name: "severity_text",
+ FieldContext: telemetrytypes.FieldContextAttribute,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ "body": {
+ {
+ Name: "body",
+ FieldContext: telemetrytypes.FieldContextBody,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ },
+ },
+ }
+ for _, keys := range keysMap {
+ for _, key := range keys {
+ key.Signal = signal
+ }
+ }
+ return keysMap
+}
+
+// Test constants - values are in nanoseconds as expected by the resource filter builder
+const (
+ // 1747947419000000000 ns = 1747947419 seconds
+ testStartNs = uint64(1747947419000000000)
+ // 1747983448000000000 ns = 1747983448 seconds
+ testEndNs = uint64(1747983448000000000)
+ // Expected bucket start = 1747947419 - 1800 = 1747945619
+ expectedBucketStart = uint64(1747945619)
+ // Expected bucket end = 1747983448
+ expectedBucketEnd = uint64(1747983448)
+)
+
+func TestResourceFilterStatementBuilder_Traces(t *testing.T) {
+ cases := []struct {
+ name string
+ query qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]
+ start uint64
+ end uint64
+ expected qbtypes.Statement
+ expectedErr error
+ }{
+ {
+ name: "simple resource filter with service.name",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = 'redis-manual'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with multiple conditions AND",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = 'redis-manual' AND k8s.namespace.name = 'production'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND (simpleJSONExtractString(labels, 'k8s.namespace.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", "production", "%k8s.namespace.name%", "%k8s.namespace.name\":\"production%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with OR condition - resource and attribute",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = 'redis-manual' OR http.request.method = 'GET'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with empty filter expression",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with nil filter",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: nil,
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with LIKE operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name LIKE 'redis%'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (LOWER(simpleJSONExtractString(labels, 'service.name')) LIKE LOWER(?) AND labels LIKE ? AND LOWER(labels) LIKE LOWER(?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis%", "%service.name%", "%service.name%redis%%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with EXISTS operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name EXISTS",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (simpleJSONHas(labels, 'service.name') = ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{true, "%service.name%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with NOT EXISTS operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name NOT EXISTS",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (simpleJSONHas(labels, 'service.name') <> ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{true, expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with IN operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name IN ('redis', 'postgres')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? OR simpleJSONExtractString(labels, 'service.name') = ?) AND labels LIKE ? AND (labels LIKE ? OR labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis", "postgres", "%service.name%", "%service.name\":\"redis%", "%service.name\":\"postgres%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with NOT IN operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name NOT IN ('redis', 'postgres')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE ((simpleJSONExtractString(labels, 'service.name') <> ? AND simpleJSONExtractString(labels, 'service.name') <> ?) AND (labels NOT LIKE ? AND labels NOT LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis", "postgres", "%service.name\":\"redis%", "%service.name\":\"postgres%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with CONTAINS operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name CONTAINS 'redis'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (LOWER(simpleJSONExtractString(labels, 'service.name')) LIKE LOWER(?) AND labels LIKE ? AND LOWER(labels) LIKE LOWER(?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"%redis%", "%service.name%", "%service.name%redis%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with REGEXP operator",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name REGEXP 'redis.*'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (match(simpleJSONExtractString(labels, 'service.name'), ?) AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis.*", "%service.name%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with NOT operator for equality",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name != 'redis'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (simpleJSONExtractString(labels, 'service.name') <> ? AND labels NOT LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis", "%service.name\":\"redis%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with attribute-only filter (should return true)",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "http.request.method = 'POST'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with zero end time",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = 'redis'",
+ },
+ },
+ start: testStartNs,
+ end: 0,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ?",
+ Args: []any{"redis", "%service.name%", "%service.name\":\"redis%", expectedBucketStart},
+ },
+ },
+ {
+ name: "resource filter with NOT and inner expression",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "NOT (service.name = 'redis')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE NOT (((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?))) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis", "%service.name%", "%service.name\":\"redis%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "attribute filter with NOT and inner expression",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ // http.request.method is an attribute field, not a resource field
+ // so the condition returns "true", and NOT should also return "true" (not "NOT (true)")
+ // In this system, SkipConditionLiteral means "this condition is not evaluable here"
+ // and the negation of "not evaluable" is also "not evaluable",
+ // so true is the right no-op. Returning false would incorrectly exclude all rows.
+ Expression: "NOT (http.request.method = 'GET')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ }
+
+ fm := NewFieldMapper()
+ cb := NewConditionBuilder(fm)
+ mockMetadataStore := telemetrytypestest.NewMockMetadataStore()
+ mockMetadataStore.KeysMap = buildTestFieldKeyMap(telemetrytypes.SignalTraces)
+
+ builder := NewTraceResourceFilterStatementBuilder(
+ instrumentationtest.New().ToProviderSettings(),
+ fm,
+ cb,
+ mockMetadataStore,
+ )
+
+ for _, c := range cases {
+ t.Run(c.name, func(t *testing.T) {
+ stmt, err := builder.Build(context.Background(), c.start, c.end, qbtypes.RequestTypeTimeSeries, c.query, nil)
+
+ if c.expectedErr != nil {
+ require.Error(t, err)
+ require.Contains(t, err.Error(), c.expectedErr.Error())
+ } else {
+ require.NoError(t, err)
+ require.Equal(t, c.expected.Query, stmt.Query)
+ require.Equal(t, c.expected.Args, stmt.Args)
+ }
+ })
+ }
+}
+
+func TestResourceFilterStatementBuilder_Logs(t *testing.T) {
+ cases := []struct {
+ name string
+ query qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]
+ start uint64
+ end uint64
+ expected qbtypes.Statement
+ expectedErr error
+ }{
+ {
+ name: "simple resource filter with service.name for logs",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = 'redis-manual'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with nil filter for logs",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: nil,
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with empty filter expression for logs",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ Expression: "",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "resource filter with multiple conditions for logs",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = 'redis' AND k8s.namespace.name = 'default'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND (simpleJSONExtractString(labels, 'k8s.namespace.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis", "%service.name%", "%service.name\":\"redis%", "default", "%k8s.namespace.name%", "%k8s.namespace.name\":\"default%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "complex resource filter with mixed conditions for logs",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // env and k8s.deployment.name are resource fields
+ // severity_text is an attribute field (returns true)
+ // Multiple grouped conditions with attribute fields
+ Expression: "env = 'prod' AND k8s.deployment.name = 'prod-deployment' AND severity_text = 'ERROR' AND severity_text = 'WARN' AND (severity_text = 'INFO' AND severity_text = 'DEBUG') AND (severity_text = 'TRACE' AND severity_text = 'FATAL') AND (severity_text = 'a' AND severity_text = 'b') AND (severity_text = 'c' AND severity_text = 'd') AND (severity_text = 'e' AND severity_text = 'f')",
+ },
+ },
+ start: uint64(1769976178000000000), // These will give bucket start 1769974378 and end 1770062578
+ end: uint64(1770062578000000000),
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE ((simpleJSONExtractString(labels, 'env') = ? AND labels LIKE ? AND labels LIKE ?) AND (simpleJSONExtractString(labels, 'k8s.deployment.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"prod", "%env%", "%env\":\"prod%", "prod-deployment", "%k8s.deployment.name%", "%k8s.deployment.name\":\"prod-deployment%", uint64(1769974378), uint64(1770062578)},
+ },
+ },
+ {
+ name: "NOT with value",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // using not with full text search
+ Expression: "NOT 'error'",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "NOT with unknown key should not generate not()",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // unknown.key is not in the metadata store, so with IgnoreNotFoundKeys=true
+ // the condition returns empty, and NOT should also return empty (not "not()")
+ Expression: "NOT (unknown.key = 'value')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "NOT EQUAL with unknown key should not generate not()",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // unknown.key is not in the metadata store, so with IgnoreNotFoundKeys=true
+ // the condition returns empty, and NOT should also return empty (not "not()")
+ Expression: "not(unknown.key = 'value1' and unknown.key = 'value2')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "NOT with attribute field should not generate NOT (true)",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // http.request.method is an attribute field, not a resource field
+ // so the condition returns "true", and NOT should also return "true" (not "NOT (true)")
+ Expression: "not(http.request.method = 'POST')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "NOT with multiple attribute fields should not generate NOT (true and true)",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // http.request.method is an attribute field, not a resource field
+ // so the condition returns "true", and NOT should also return "true" (not "NOT (true)")
+ Expression: "not(http.request.method = 'POST' and module.name = 'abc')",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ {
+ name: "NOT with multiple attribute fields and values should not generate NOT (true and true)",
+ query: qbtypes.QueryBuilderQuery[qbtypes.LogAggregation]{
+ Signal: telemetrytypes.SignalLogs,
+ Filter: &qbtypes.Filter{
+ // http.request.method is an attribute field, not a resource field
+ // so the condition returns "true", and NOT should also return "true" (not "NOT (true)")
+ Expression: "not(http.request.method = 'POST' and (not 'error' and http.request.method = 'GET'))",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ }
+
+ fm := NewFieldMapper()
+ cb := NewConditionBuilder(fm)
+ mockMetadataStore := telemetrytypestest.NewMockMetadataStore()
+ mockMetadataStore.KeysMap = buildTestFieldKeyMap(telemetrytypes.SignalLogs)
+
+ builder := NewLogResourceFilterStatementBuilder(
+ instrumentationtest.New().ToProviderSettings(),
+ fm,
+ cb,
+ mockMetadataStore,
+ nil,
+ nil,
+ )
+
+ for _, c := range cases {
+ t.Run(c.name, func(t *testing.T) {
+ stmt, err := builder.Build(context.Background(), c.start, c.end, qbtypes.RequestTypeTimeSeries, c.query, nil)
+
+ if c.expectedErr != nil {
+ require.Error(t, err)
+ require.Contains(t, err.Error(), c.expectedErr.Error())
+ } else {
+ require.NoError(t, err)
+ require.Equal(t, c.expected.Query, stmt.Query)
+ require.Equal(t, c.expected.Args, stmt.Args)
+ }
+ })
+ }
+}
+
+func TestResourceFilterStatementBuilder_Variables(t *testing.T) {
+ cases := []struct {
+ name string
+ query qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]
+ variables map[string]qbtypes.VariableItem
+ start uint64
+ end uint64
+ expected qbtypes.Statement
+ expectedErr error
+ }{
+ {
+ name: "resource filter with variable substitution",
+ query: qbtypes.QueryBuilderQuery[qbtypes.TraceAggregation]{
+ Signal: telemetrytypes.SignalTraces,
+ Filter: &qbtypes.Filter{
+ Expression: "service.name = $service.name",
+ },
+ },
+ variables: map[string]qbtypes.VariableItem{
+ "service.name": {
+ Value: "redis-manual",
+ },
+ },
+ start: testStartNs,
+ end: testEndNs,
+ expected: qbtypes.Statement{
+ Query: "SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?",
+ Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", expectedBucketStart, expectedBucketEnd},
+ },
+ },
+ }
+
+ fm := NewFieldMapper()
+ cb := NewConditionBuilder(fm)
+ mockMetadataStore := telemetrytypestest.NewMockMetadataStore()
+ mockMetadataStore.KeysMap = buildTestFieldKeyMap(telemetrytypes.SignalTraces)
+
+ builder := NewTraceResourceFilterStatementBuilder(
+ instrumentationtest.New().ToProviderSettings(),
+ fm,
+ cb,
+ mockMetadataStore,
+ )
+
+ for _, c := range cases {
+ t.Run(c.name, func(t *testing.T) {
+ stmt, err := builder.Build(context.Background(), c.start, c.end, qbtypes.RequestTypeTimeSeries, c.query, c.variables)
+
+ if c.expectedErr != nil {
+ require.Error(t, err)
+ require.Contains(t, err.Error(), c.expectedErr.Error())
+ } else {
+ require.NoError(t, err)
+ require.Equal(t, c.expected.Query, stmt.Query)
+ require.Equal(t, c.expected.Args, stmt.Args)
+ }
+ })
+ }
+}
diff --git a/pkg/querybuilder/where_clause_visitor.go b/pkg/querybuilder/where_clause_visitor.go
index 5519592a92..ae49af0a18 100644
--- a/pkg/querybuilder/where_clause_visitor.go
+++ b/pkg/querybuilder/where_clause_visitor.go
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"log/slog"
+ "slices"
"strconv"
"strings"
@@ -165,8 +166,11 @@ func PrepareWhereClause(query string, opts FilterExprVisitorOpts) (*PreparedWher
return nil, combinedErrors.WithAdditional(visitor.errors...).WithUrl(url)
}
- if cond == "" {
- cond = "true"
+ // The visitor returns exactly SkipConditionLiteral (never a substring) when
+ // there are no evaluable conditions; replace it with the no-op SQL literal.
+ // TODO(nitya): In this case we can choose to ignore resource_filter_cte
+ if cond == "" || cond == SkipConditionLiteral {
+ cond = TrueConditionLiteral
}
whereClause := sqlbuilder.NewWhereClause().AddWhereExpr(visitor.builder.Args, cond)
@@ -178,7 +182,7 @@ func PrepareWhereClause(query string, opts FilterExprVisitorOpts) (*PreparedWher
func (v *filterExpressionVisitor) Visit(tree antlr.ParseTree) any {
// Handle nil nodes to prevent panic
if tree == nil {
- return ""
+ return SkipConditionLiteral
}
switch t := tree.(type) {
@@ -217,7 +221,7 @@ func (v *filterExpressionVisitor) Visit(tree antlr.ParseTree) any {
case *grammar.KeyContext:
return v.VisitKey(t)
default:
- return ""
+ return ErrorConditionLiteral
}
}
@@ -235,15 +239,20 @@ func (v *filterExpressionVisitor) VisitExpression(ctx *grammar.ExpressionContext
func (v *filterExpressionVisitor) VisitOrExpression(ctx *grammar.OrExpressionContext) any {
andExpressions := ctx.AllAndExpression()
- andExpressionConditions := make([]string, len(andExpressions))
- for i, expr := range andExpressions {
+ andExpressionConditions := make([]string, 0, len(andExpressions))
+ for _, expr := range andExpressions {
if condExpr, ok := v.Visit(expr).(string); ok && condExpr != "" {
- andExpressionConditions[i] = condExpr
+ // In an OR, a single unevaluable branch makes the entire expression unevaluable,
+ // so short-circuit immediately.
+ if slices.Contains(SkippableConditionLiterals, condExpr) {
+ return condExpr
+ }
+ andExpressionConditions = append(andExpressionConditions, condExpr)
}
}
if len(andExpressionConditions) == 0 {
- return ""
+ return SkipConditionLiteral
}
if len(andExpressionConditions) == 1 {
@@ -257,15 +266,21 @@ func (v *filterExpressionVisitor) VisitOrExpression(ctx *grammar.OrExpressionCon
func (v *filterExpressionVisitor) VisitAndExpression(ctx *grammar.AndExpressionContext) any {
unaryExpressions := ctx.AllUnaryExpression()
- unaryExpressionConditions := make([]string, len(unaryExpressions))
- for i, expr := range unaryExpressions {
+ unaryExpressionConditions := make([]string, 0, len(unaryExpressions))
+ for _, expr := range unaryExpressions {
if condExpr, ok := v.Visit(expr).(string); ok && condExpr != "" {
- unaryExpressionConditions[i] = condExpr
+ // filter out skippable no-op conditions (e.g. non-resource attributes in resource filter)
+ // to avoid producing compound expressions like "(SkipConditionLiteral AND SkipConditionLiteral)"
+ if slices.Contains(SkippableConditionLiterals, condExpr) {
+ continue
+ }
+ unaryExpressionConditions = append(unaryExpressionConditions, condExpr)
}
}
+ // If there are no conditions, return SkipConditionLiteral
if len(unaryExpressionConditions) == 0 {
- return ""
+ return SkipConditionLiteral
}
if len(unaryExpressionConditions) == 1 {
@@ -281,6 +296,10 @@ func (v *filterExpressionVisitor) VisitUnaryExpression(ctx *grammar.UnaryExpress
// Check if this is a NOT expression
if ctx.NOT() != nil {
+ // NOT (skippable) -> propagate the skippable literal unchanged
+ if slices.Contains(SkippableConditionLiterals, result) {
+ return result
+ }
return fmt.Sprintf("NOT (%s)", result)
}
@@ -291,10 +310,14 @@ func (v *filterExpressionVisitor) VisitUnaryExpression(ctx *grammar.UnaryExpress
func (v *filterExpressionVisitor) VisitPrimary(ctx *grammar.PrimaryContext) any {
if ctx.OrExpression() != nil {
// This is a parenthesized expression
- if condExpr, ok := v.Visit(ctx.OrExpression()).(string); ok && condExpr != "" {
- return fmt.Sprintf("(%s)", v.Visit(ctx.OrExpression()).(string))
+ if condExpr, ok := v.Visit(ctx.OrExpression()).(string); ok {
+ // Don't wrap skippable literals in parentheses — pass them through as-is
+ if slices.Contains(SkippableConditionLiterals, condExpr) {
+ return condExpr
+ }
+ return fmt.Sprintf("(%s)", condExpr)
}
- return ""
+ return ErrorConditionLiteral
} else if ctx.Comparison() != nil {
return v.Visit(ctx.Comparison())
} else if ctx.FunctionCall() != nil {
@@ -306,12 +329,12 @@ func (v *filterExpressionVisitor) VisitPrimary(ctx *grammar.PrimaryContext) any
// Handle standalone key/value as a full text search term
if ctx.GetChildCount() == 1 {
if v.skipFullTextFilter {
- return ""
+ return SkipConditionLiteral
}
if v.fullTextColumn == nil {
v.errors = append(v.errors, "full text search is not supported")
- return ""
+ return ErrorConditionLiteral
}
child := ctx.GetChild(0)
var searchText string
@@ -329,27 +352,27 @@ func (v *filterExpressionVisitor) VisitPrimary(ctx *grammar.PrimaryContext) any
searchText = valCtx.KEY().GetText()
} else {
v.errors = append(v.errors, fmt.Sprintf("unsupported value type: %s", valCtx.GetText()))
- return ""
+ return ErrorConditionLiteral
}
}
cond, err := v.conditionBuilder.ConditionFor(context.Background(), v.startNs, v.endNs, v.fullTextColumn, qbtypes.FilterOperatorRegexp, FormatFullTextSearch(searchText), v.builder)
if err != nil {
v.errors = append(v.errors, fmt.Sprintf("failed to build full text search condition: %s", err.Error()))
- return ""
+ return ErrorConditionLiteral
}
return cond
}
- return "" // Should not happen with valid input
+ return ErrorConditionLiteral // Should not happen with valid input
}
// VisitComparison handles all comparison operators
func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext) any {
keys := v.Visit(ctx.Key()).([]*telemetrytypes.TelemetryFieldKey)
- // if key is missing and can be ignored, the condition is ignored
- if len(keys) == 0 && v.ignoreNotFoundKeys {
- return ""
+ // no keys resolved; VisitKey already recorded the error, skip this condition
+ if len(keys) == 0 {
+ return ErrorConditionLiteral
}
// this is used to skip the resource filtering on main table if
@@ -363,7 +386,7 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
}
keys = filteredKeys
if len(keys) == 0 {
- return ""
+ return SkipConditionLiteral
}
}
@@ -378,10 +401,16 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
condition, err := v.conditionBuilder.ConditionFor(v.context, v.startNs, v.endNs, key, op, nil, v.builder)
if err != nil {
v.errors = append(v.errors, fmt.Sprintf("failed to build condition: %s", err.Error()))
- return ""
+ return ErrorConditionLiteral
+ }
+ if slices.Contains(SkippableConditionLiterals, condition) {
+ continue
}
conds = append(conds, condition)
}
+ if len(conds) == 0 {
+ return SkipConditionLiteral
+ }
// if there is only one condition, return it directly, one less `()` wrapper
if len(conds) == 1 {
return conds[0]
@@ -425,14 +454,14 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
if varItem.Type == qbtypes.DynamicVariableType {
// check if it is special value to skip entire filter, if so skip it
if all_, ok := varItem.Value.(string); ok && all_ == "__all__" {
- return ""
+ return SkipConditionLiteral
}
}
switch varValues := varItem.Value.(type) {
case []any:
if len(varValues) == 0 {
v.errors = append(v.errors, fmt.Sprintf("malformed request payload: variable `%s` used in expression has an empty list value", strings.TrimPrefix(var_, "$")))
- return ""
+ return ErrorConditionLiteral
}
values = varValues
case any:
@@ -450,10 +479,16 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
for _, key := range keys {
condition, err := v.conditionBuilder.ConditionFor(v.context, v.startNs, v.endNs, key, op, values, v.builder)
if err != nil {
- return ""
+ return ErrorConditionLiteral
+ }
+ if slices.Contains(SkippableConditionLiterals, condition) {
+ continue
}
conds = append(conds, condition)
}
+ if len(conds) == 0 {
+ return SkipConditionLiteral
+ }
if len(conds) == 1 {
return conds[0]
}
@@ -472,7 +507,7 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
values := ctx.AllValue()
if len(values) != 2 {
- return ""
+ return SkipConditionLiteral
}
value1 := v.Visit(values[0])
@@ -482,26 +517,32 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
case float64:
if _, ok := value2.(float64); !ok {
v.errors = append(v.errors, fmt.Sprintf("value type mismatch for key %s: expected number for both operands", keys[0].Name))
- return ""
+ return ErrorConditionLiteral
}
case string:
if _, ok := value2.(string); !ok {
v.errors = append(v.errors, fmt.Sprintf("value type mismatch for key %s: expected string for both operands", keys[0].Name))
- return ""
+ return ErrorConditionLiteral
}
default:
v.errors = append(v.errors, fmt.Sprintf("value type mismatch for key %s: operands must be number or string", keys[0].Name))
- return ""
+ return ErrorConditionLiteral
}
var conds []string
for _, key := range keys {
condition, err := v.conditionBuilder.ConditionFor(v.context, v.startNs, v.endNs, key, op, []any{value1, value2}, v.builder)
if err != nil {
- return ""
+ return ErrorConditionLiteral
+ }
+ if slices.Contains(SkippableConditionLiterals, condition) {
+ continue
}
conds = append(conds, condition)
}
+ if len(conds) == 0 {
+ return SkipConditionLiteral
+ }
if len(conds) == 1 {
return conds[0]
}
@@ -531,7 +572,7 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
case []any:
if len(varValues) == 0 {
v.errors = append(v.errors, fmt.Sprintf("malformed request payload: variable `%s` used in expression has an empty list value", strings.TrimPrefix(var_, "$")))
- return ""
+ return ErrorConditionLiteral
}
value = varValues[0]
case any:
@@ -584,10 +625,16 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
condition, err := v.conditionBuilder.ConditionFor(v.context, v.startNs, v.endNs, key, op, value, v.builder)
if err != nil {
v.errors = append(v.errors, fmt.Sprintf("failed to build condition: %s", err.Error()))
- return ""
+ return ErrorConditionLiteral
+ }
+ if slices.Contains(SkippableConditionLiterals, condition) {
+ continue
}
conds = append(conds, condition)
}
+ if len(conds) == 0 {
+ return SkipConditionLiteral
+ }
if len(conds) == 1 {
return conds[0]
}
@@ -597,7 +644,7 @@ func (v *filterExpressionVisitor) VisitComparison(ctx *grammar.ComparisonContext
return v.builder.Or(conds...)
}
- return "" // Should not happen with valid input
+ return ErrorConditionLiteral // Should not happen with valid input
}
// warnIfLikeWithoutWildcards adds a guidance warning when LIKE/ILIKE is used without wildcards
@@ -644,7 +691,10 @@ func (v *filterExpressionVisitor) VisitValueList(ctx *grammar.ValueListContext)
// VisitFullText handles standalone quoted strings for full-text search
func (v *filterExpressionVisitor) VisitFullText(ctx *grammar.FullTextContext) any {
if v.skipFullTextFilter {
- return ""
+ // A skipped FT term must be treated as TrueConditionLiteral, not "".
+ // Returning "" would silently drop this branch from an OR, incorrectly
+ // excluding rows that could match the FT condition on the real table.
+ return SkipConditionLiteral
}
var text string
@@ -657,12 +707,12 @@ func (v *filterExpressionVisitor) VisitFullText(ctx *grammar.FullTextContext) an
if v.fullTextColumn == nil {
v.errors = append(v.errors, "full text search is not supported")
- return ""
+ return ErrorConditionLiteral
}
cond, err := v.conditionBuilder.ConditionFor(v.context, v.startNs, v.endNs, v.fullTextColumn, qbtypes.FilterOperatorRegexp, FormatFullTextSearch(text), v.builder)
if err != nil {
v.errors = append(v.errors, fmt.Sprintf("failed to build full text search condition: %s", err.Error()))
- return ""
+ return ErrorConditionLiteral
}
return cond
@@ -671,7 +721,7 @@ func (v *filterExpressionVisitor) VisitFullText(ctx *grammar.FullTextContext) an
// VisitFunctionCall handles function calls like has(), hasAny(), etc.
func (v *filterExpressionVisitor) VisitFunctionCall(ctx *grammar.FunctionCallContext) any {
if v.skipFunctionCalls {
- return ""
+ return SkipConditionLiteral
}
// Get function name based on which token is present
@@ -687,19 +737,19 @@ func (v *filterExpressionVisitor) VisitFunctionCall(ctx *grammar.FunctionCallCon
} else {
// Default fallback
v.errors = append(v.errors, fmt.Sprintf("unknown function `%s`", ctx.GetText()))
- return ""
+ return ErrorConditionLiteral
}
params := v.Visit(ctx.FunctionParamList()).([]any)
if len(params) < 2 {
v.errors = append(v.errors, fmt.Sprintf("function `%s` expects key and value parameters", functionName))
- return ""
+ return ErrorConditionLiteral
}
keys, ok := params[0].([]*telemetrytypes.TelemetryFieldKey)
if !ok {
v.errors = append(v.errors, fmt.Sprintf("function `%s` expects key parameter to be a field key", functionName))
- return ""
+ return ErrorConditionLiteral
}
// filter arrays from keys
@@ -712,7 +762,7 @@ func (v *filterExpressionVisitor) VisitFunctionCall(ctx *grammar.FunctionCallCon
}
if len(filteredKeys) == 0 {
v.errors = append(v.errors, fmt.Sprintf("function `%s` expects key parameter to be an array field; no array fields found", functionName))
- return ""
+ return ErrorConditionLiteral
}
keys = filteredKeys
}
@@ -737,7 +787,7 @@ func (v *filterExpressionVisitor) VisitFunctionCall(ctx *grammar.FunctionCallCon
v.mainErrorURL = "https://signoz.io/docs/userguide/functions-reference/#hastoken-function"
}
v.errors = append(v.errors, fmt.Sprintf("function `%s` expects value parameter to be a string", functionName))
- return ""
+ return ErrorConditionLiteral
}
conds = append(conds, fmt.Sprintf("hasToken(LOWER(%s), LOWER(%s))", key.Name, v.builder.Var(value[0])))
} else {
@@ -748,7 +798,7 @@ func (v *filterExpressionVisitor) VisitFunctionCall(ctx *grammar.FunctionCallCon
fieldName, err = v.fieldMapper.FieldFor(v.context, v.startNs, v.endNs, key)
if err != nil {
v.errors = append(v.errors, fmt.Sprintf("failed to get field name for key %s: %s", key.Name, err.Error()))
- return ""
+ return ErrorConditionLiteral
}
} else {
fieldName, _ = v.jsonKeyToKey(v.context, key, qbtypes.FilterOperatorUnknown, value)
@@ -759,7 +809,7 @@ func (v *filterExpressionVisitor) VisitFunctionCall(ctx *grammar.FunctionCallCon
v.mainErrorURL = "https://signoz.io/docs/userguide/search-troubleshooting/#function-supports-only-body-json-search"
}
v.errors = append(v.errors, fmt.Sprintf("function `%s` supports only body JSON search", functionName))
- return ""
+ return ErrorConditionLiteral
}
var cond string
@@ -804,7 +854,7 @@ func (v *filterExpressionVisitor) VisitFunctionParam(ctx *grammar.FunctionParamC
return v.Visit(ctx.Array())
}
- return "" // Should not happen with valid input
+ return ErrorConditionLiteral // Should not happen with valid input
}
// VisitArray handles array literals
@@ -822,13 +872,13 @@ func (v *filterExpressionVisitor) VisitValue(ctx *grammar.ValueContext) any {
number, err := strconv.ParseFloat(ctx.NUMBER().GetText(), 64)
if err != nil {
v.errors = append(v.errors, fmt.Sprintf("failed to parse number %s", ctx.NUMBER().GetText()))
- return ""
+ return ErrorConditionLiteral
}
return number
} else if ctx.BOOL() != nil {
// Convert to ClickHouse boolean literal
boolText := strings.ToLower(ctx.BOOL().GetText())
- return boolText == "true"
+ return boolText == TrueConditionLiteral
} else if ctx.KEY() != nil {
// Why do we have a KEY context here?
// When the user writes an expression like `service.name=redis`
@@ -837,7 +887,7 @@ func (v *filterExpressionVisitor) VisitValue(ctx *grammar.ValueContext) any {
return ctx.KEY().GetText()
}
- return "" // Should not happen with valid input
+ return ErrorConditionLiteral // Should not happen with valid input
}
// VisitKey handles field/column references
diff --git a/pkg/querybuilder/where_clause_visitor_test.go b/pkg/querybuilder/where_clause_visitor_test.go
index 3448b970c8..5c9e4faf85 100644
--- a/pkg/querybuilder/where_clause_visitor_test.go
+++ b/pkg/querybuilder/where_clause_visitor_test.go
@@ -2,6 +2,7 @@ package querybuilder
import (
"context"
+ "fmt"
"log/slog"
"strings"
"testing"
@@ -11,6 +12,7 @@ import (
"github.com/SigNoz/signoz/pkg/types/telemetrytypes"
"github.com/antlr4-go/antlr/v4"
sqlbuilder "github.com/huandu/go-sqlbuilder"
+ "github.com/stretchr/testify/assert"
)
// TestPrepareWhereClause_EmptyVariableList ensures PrepareWhereClause errors when a variable has an empty list value
@@ -43,7 +45,7 @@ func TestPrepareWhereClause_EmptyVariableList(t *testing.T) {
}
keys := map[string][]*telemetrytypes.TelemetryFieldKey{
- "service": []*telemetrytypes.TelemetryFieldKey{
+ "service": {
{
Name: "service",
Signal: telemetrytypes.SignalLogs,
@@ -661,3 +663,1050 @@ func TestVisitKey(t *testing.T) {
})
}
}
+
+// ---------------------------------------------------------------------------
+// TestVisitComparison
+// ---------------------------------------------------------------------------
+//
+// This suite exercises the visitor with two different configurations
+// side-by-side for each expression, asserting both expected outputs:
+//
+// resourceConditionBuilder (wantRSB) — returns TrueConditionLiteral for
+// non-resource keys and "{name}_cond" for resource keys (x, y, z).
+// Opts: SkipFullTextFilter:true, SkipFunctionCalls:true, IgnoreNotFoundKeys:true.
+//
+// conditionBuilder (wantSB) — returns "{name}_cond" for every key regardless
+// of FieldContext. Opts: SkipFullTextFilter:false, SkipFunctionCalls:false,
+// IgnoreNotFoundKeys:false, FullTextColumn:bodyCol.
+//
+// Key behavioral rules:
+//
+// resourceConditionBuilder:
+// attr key (a,b,c) → SkipConditionLiteral (no resource match)
+// resource key (x,y,z) → "{name}_cond"
+// full-text / function call → SkipConditionLiteral (skipped)
+// unknown key → SkipConditionLiteral (ignored; IgnoreNotFoundKeys=true)
+//
+// conditionBuilder:
+// any key (a,b,c,x,y,z) → "{name}_cond"
+// full-text ('hello') → "body_cond" (bodyCol.Name="body")
+// function call (non-body) → error (only body JSON search supported)
+// unknown key → error (IgnoreNotFoundKeys=false)
+//
+// __all__ variable (IN/NOT IN $service where service="__all__"):
+// → SkipConditionLiteral in both configurations
+// (PrepareWhereClause converts the final SkipConditionLiteral to TrueConditionLiteral)
+//
+// SkipConditionLiteral propagation rules (both configs):
+// • In AND: filtered out as no-op; if ALL branches are SkipConditionLiteral
+// → AND returns SkipConditionLiteral which propagates upward
+// • In OR: short-circuits the entire OR immediately (returns SkipConditionLiteral)
+// • NOT(SkipConditionLiteral) → SkipConditionLiteral (guard in VisitUnaryExpression)
+// • PrepareWhereClause converts a top-level SkipConditionLiteral to TrueConditionLiteral ("WHERE true")
+//
+// Test cases with wantErrSB=true use PrepareWhereClause directly to verify
+// that SB returns an error (instead of calling buildSQLOpts which fatalf's).
+
+// "a", "b", "c" are attribute-context fields; "x", "y", "z" are resource-context field.
+var visitTestKeys = map[string][]*telemetrytypes.TelemetryFieldKey{
+ "a": {{Name: "a", FieldContext: telemetrytypes.FieldContextAttribute, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "b": {{Name: "b", FieldContext: telemetrytypes.FieldContextAttribute, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "c": {{Name: "c", FieldContext: telemetrytypes.FieldContextAttribute, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "x": {{Name: "x", FieldContext: telemetrytypes.FieldContextResource, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "y": {{Name: "y", FieldContext: telemetrytypes.FieldContextResource, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "z": {{Name: "z", FieldContext: telemetrytypes.FieldContextResource, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "ax": {{Name: "ax", FieldContext: telemetrytypes.FieldContextAttribute, FieldDataType: telemetrytypes.FieldDataTypeNumber},
+ {Name: "ax", FieldContext: telemetrytypes.FieldContextResource, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "by": {{Name: "by", FieldContext: telemetrytypes.FieldContextAttribute, FieldDataType: telemetrytypes.FieldDataTypeNumber},
+ {Name: "by", FieldContext: telemetrytypes.FieldContextResource, FieldDataType: telemetrytypes.FieldDataTypeString}},
+ "cz": {{Name: "cz", FieldContext: telemetrytypes.FieldContextAttribute, FieldDataType: telemetrytypes.FieldDataTypeNumber},
+ {Name: "cz", FieldContext: telemetrytypes.FieldContextResource, FieldDataType: telemetrytypes.FieldDataTypeString}},
+}
+
+type resourceConditionBuilder struct{}
+
+func (b *resourceConditionBuilder) ConditionFor(
+ _ context.Context,
+ _ uint64,
+ _ uint64,
+ key *telemetrytypes.TelemetryFieldKey,
+ _ qbtypes.FilterOperator,
+ _ any,
+ _ *sqlbuilder.SelectBuilder,
+) (string, error) {
+
+ if key.FieldContext != telemetrytypes.FieldContextResource {
+ return SkipConditionLiteral, nil
+ }
+
+ return fmt.Sprintf("%s_cond", key.Name), nil
+}
+
+type conditionBuilder struct{}
+
+func (b *conditionBuilder) ConditionFor(
+ _ context.Context,
+ _ uint64,
+ _ uint64,
+ key *telemetrytypes.TelemetryFieldKey,
+ _ qbtypes.FilterOperator,
+ _ any,
+ _ *sqlbuilder.SelectBuilder,
+) (string, error) {
+
+ return fmt.Sprintf("%s_cond", key.Name), nil
+}
+
+// visitComparisonCase is a single test case for the TestVisitComparison_* family.
+// Each case is run under two independent configurations:
+//
+// - rsbOpts (resourceConditionBuilder): skips full-text and function calls,
+// ignores unknown keys, produces conditions only for resource-context keys.
+//
+// - sbOpts (conditionBuilder): skips resource-context keys (unless OR is present),
+// evaluates full-text, errors on unknown keys.
+type visitComparisonCase struct {
+ name string
+ expr string
+ wantRSB string // expected SQL from resourceConditionBuilder
+ wantSB string // expected SQL from conditionBuilder
+ wantErrSB bool // when true, conditionBuilder is expected to return an error
+ wantErrRSB bool // when true, resourceConditionBuilder is expected to return an error
+}
+
+// visitComparisonOpts builds the two FilterExprVisitorOpts shared by all
+// TestVisitComparison_* tests.
+func visitComparisonOpts() (rsbOpts, sbOpts FilterExprVisitorOpts) {
+ allVariable := map[string]qbtypes.VariableItem{
+ "service": {
+ Type: qbtypes.DynamicVariableType,
+ Value: "__all__",
+ },
+ }
+ // bodyCol is the full-text column; conditionBuilder returns "body_cond" for it.
+ bodyCol := &telemetrytypes.TelemetryFieldKey{
+ Name: "body",
+ FieldContext: telemetrytypes.FieldContextResource,
+ FieldDataType: telemetrytypes.FieldDataTypeString,
+ }
+ rsbOpts = FilterExprVisitorOpts{
+ FieldKeys: visitTestKeys,
+ ConditionBuilder: &resourceConditionBuilder{},
+ Variables: allVariable,
+ SkipResourceFilter: false,
+ SkipFullTextFilter: true,
+ SkipFunctionCalls: true,
+ IgnoreNotFoundKeys: true,
+ }
+ sbOpts = FilterExprVisitorOpts{
+ FieldKeys: visitTestKeys,
+ ConditionBuilder: &conditionBuilder{},
+ Variables: allVariable,
+ SkipResourceFilter: true,
+ SkipFullTextFilter: false,
+ SkipFunctionCalls: false,
+ IgnoreNotFoundKeys: false,
+ FullTextColumn: bodyCol,
+ }
+ return
+}
+
+// TestVisitComparison_AND covers AND expressions with attribute keys (a, b, c →
+// TrueConditionLiteral in RSB) and resource keys (x, y, z → "{name}_cond" in RSB).
+func TestVisitComparison_AND(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ name: "single attribute key",
+ expr: "a = 'v'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ name: "single resource key",
+ expr: "x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE true",
+ },
+ {
+ // RSB: both attribute keys → true; AND propagates TrueConditionLiteral.
+ name: "two attribute keys AND",
+ expr: "a = 'a' AND b = 'b'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond AND b_cond)",
+ },
+ {
+ name: "two resource keys AND",
+ expr: "x = 'x' AND y = 'y'",
+ wantRSB: "WHERE (x_cond AND y_cond)",
+ wantSB: "WHERE true",
+ },
+ {
+ // RSB: attribute → true stripped by AND; resource key survives.
+ name: "attribute AND resource",
+ expr: "a = 'a' AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ // RSB: a, b → true stripped; x_cond remains.
+ name: "three mixed keys AND",
+ expr: "a = 'a' AND b = 'b' AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE (a_cond AND b_cond)",
+ },
+ {
+ // RSB: a, b → true stripped; x, y survive.
+ name: "four mixed keys in AND",
+ expr: "a = 'a' AND b = 'b' AND x = 'x' AND y = 'y'",
+ wantRSB: "WHERE (x_cond AND y_cond)",
+ wantSB: "WHERE (a_cond AND b_cond)",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_NOT covers the NOT operator in two positions:
+// - unary NOT wrapping a comparison: structural NOT emitted by the visitor.
+// - NOT inside a comparison (e.g. NOT LIKE, NOT EXISTS): the inner NOT is folded
+// into the operator token; conditionBuilder ignores it, so no extra NOT is emitted.
+func TestVisitComparison_NOT(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ // Unary NOT on an attribute key: NOT(SkipConditionLiteral) → SkipConditionLiteral (guard).
+ name: "NOT attribute key",
+ expr: "NOT a = 'a'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (a_cond)",
+ },
+ {
+ name: "NOT resource key",
+ expr: "NOT x = 'x'",
+ wantRSB: "WHERE NOT (x_cond)",
+ wantSB: "WHERE true",
+ },
+ {
+ // RSB: NOT(SkipConditionLiteral) → SkipConditionLiteral; stripped from AND; x_cond survives.
+ name: "NOT attribute AND resource",
+ expr: "NOT a = 'a' AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE NOT (a_cond)",
+ },
+ {
+ // NOT inside comparison (op=NotLike): conditionBuilder ignores it → same as LIKE.
+ name: "NOT inside LIKE comparison",
+ expr: "a NOT LIKE '%a%'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ // Unary NOT wrapping LIKE: structural NOT emitted around a_cond.
+ name: "NOT at unary level wrapping LIKE",
+ expr: "NOT a LIKE '%a%'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (a_cond)",
+ },
+ {
+ // NOT inside comparison on resource key in OR: no outer NOT, builder ignores inner op.
+ name: "NOT inside LIKE OR resource",
+ expr: "x NOT LIKE '%x%' OR y = 'y'",
+ wantRSB: "WHERE (x_cond OR y_cond)",
+ wantSB: "WHERE (x_cond OR y_cond)",
+ },
+ {
+ name: "NOT at unary level wrapping LIKE OR resource",
+ expr: "NOT x LIKE '%x%' OR y = 'y'",
+ wantRSB: "WHERE (NOT (x_cond) OR y_cond)",
+ wantSB: "WHERE (NOT (x_cond) OR y_cond)",
+ },
+ {
+ // RSB: a, b → true stripped; NOT(x_cond) remains.
+ name: "three NOTs in AND",
+ expr: "NOT a = 'a' AND NOT b = 'b' AND NOT x = 'x'",
+ wantRSB: "WHERE NOT (x_cond)",
+ wantSB: "WHERE (NOT (a_cond) AND NOT (b_cond))",
+ },
+ {
+ // Unary NOT wraps a comparison that itself has NOT (op=NotLike).
+ // The inner NOT is an operator token; the outer NOT is structural.
+ name: "unary NOT wrapping comparison NOT LIKE",
+ expr: "NOT (a NOT LIKE '%a%')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT ((a_cond))",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_OR covers OR expressions. PrepareWhereClause auto-resets
+// SkipResourceFilter to false when an OR token is detected in the expression,
+// so resource keys become visible in sbOpts for all cases in this suite.
+func TestVisitComparison_OR(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ name: "resource OR resource",
+ expr: "x = 'x' OR y = 'y'",
+ wantRSB: "WHERE (x_cond OR y_cond)",
+ wantSB: "WHERE (x_cond OR y_cond)",
+ },
+ {
+ name: "three resource keys OR",
+ expr: "x = 'x' OR y = 'y' OR z = 'z'",
+ wantRSB: "WHERE (x_cond OR y_cond OR z_cond)",
+ wantSB: "WHERE (x_cond OR y_cond OR z_cond)",
+ },
+ {
+ // RSB: attribute → TrueConditionLiteral short-circuits OR.
+ name: "attribute OR resource",
+ expr: "a = 'a' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond OR x_cond)",
+ },
+ {
+ name: "AND sub-expression OR resource",
+ expr: "x = 'x' AND y = 'y' OR z = 'z'",
+ wantRSB: "WHERE ((x_cond AND y_cond) OR z_cond)",
+ wantSB: "WHERE ((x_cond AND y_cond) OR z_cond)",
+ },
+ {
+ name: "parenthesized OR AND resource",
+ expr: "(x = 'x' OR y = 'y') AND z = 'z'",
+ wantRSB: "WHERE (((x_cond OR y_cond)) AND z_cond)",
+ wantSB: "WHERE (((x_cond OR y_cond)) AND z_cond)",
+ },
+ {
+ name: "NOT resource OR resource",
+ expr: "NOT x = 'x' OR y = 'y'",
+ wantRSB: "WHERE (NOT (x_cond) OR y_cond)",
+ wantSB: "WHERE (NOT (x_cond) OR y_cond)",
+ },
+ {
+ name: "NOT of parenthesized OR",
+ expr: "NOT (x = 'x' OR y = 'y')",
+ wantRSB: "WHERE NOT (((x_cond OR y_cond)))",
+ wantSB: "WHERE NOT (((x_cond OR y_cond)))",
+ },
+ {
+ // RSB: left (a→true, x_cond) → x_cond; right (b→true, y_cond) → y_cond.
+ name: "two mixed AND groups in OR",
+ expr: "a = 'a' AND x = 'x' OR b = 'b' AND y = 'y'",
+ wantRSB: "WHERE (x_cond OR y_cond)",
+ wantSB: "WHERE ((a_cond AND x_cond) OR (b_cond AND y_cond))",
+ },
+ {
+ // RSB: NOT(a→SkipConditionLiteral) → SkipConditionLiteral → OR short-circuits.
+ name: "NOT attr OR resource with OR override",
+ expr: "NOT a = 'a' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (NOT (a_cond) OR x_cond)",
+ },
+ {
+ // RSB: a → TrueConditionLiteral → OR short-circuits.
+ name: "all attribute keys OR",
+ expr: "a = 'a' OR b = 'b' OR c = 'c'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond OR b_cond OR c_cond)",
+ },
+ {
+ // RSB: a→SkipConditionLiteral → OR short-circuits; paren passes through; NOT(SkipConditionLiteral) → SkipConditionLiteral.
+ name: "NOT of three-way OR",
+ expr: "NOT (a = 'a' OR b = 'b' OR x = 'x')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (((a_cond OR b_cond OR x_cond)))",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_Precedence covers AND/OR/NOT operator precedence
+// (AND binds tighter than OR; NOT binds tightest).
+func TestVisitComparison_Precedence(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ // a→true short-circuits OR.
+ name: "attr OR attr OR resource",
+ expr: "a = 'a' OR b = 'b' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond OR b_cond OR x_cond)",
+ },
+ {
+ // AND before OR: (a AND b)→true short-circuits OR.
+ name: "attr AND attr OR resource",
+ expr: "a = 'a' AND b = 'b' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE ((a_cond AND b_cond) OR x_cond)",
+ },
+ {
+ // AND tighter: a as own OR branch; (b AND x) as second.
+ name: "attr OR attr AND resource",
+ expr: "a = 'a' OR b = 'b' AND x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond OR (b_cond AND x_cond))",
+ },
+ {
+ // Left AND group (a,b)→true short-circuits OR.
+ name: "two AND groups OR",
+ expr: "a = 'a' AND b = 'b' OR x = 'x' AND y = 'y'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE ((a_cond AND b_cond) OR (x_cond AND y_cond))",
+ },
+ {
+ // RSB: NOT(a→SkipConditionLiteral)→SkipConditionLiteral stripped from AND; NOT(x_cond) remains.
+ name: "NOT attr AND NOT resource",
+ expr: "NOT a = 'a' AND NOT x = 'x'",
+ wantRSB: "WHERE NOT (x_cond)",
+ wantSB: "WHERE NOT (a_cond)",
+ },
+ {
+ // RSB: NOT(a→SkipConditionLiteral)→SkipConditionLiteral → OR short-circuits.
+ name: "NOT attr OR NOT resource",
+ expr: "NOT a = 'a' OR NOT x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (NOT (a_cond) OR NOT (x_cond))",
+ },
+ {
+ // Parses as: (NOT a='a') OR (b='b' AND x='x')
+ // RSB: NOT(a→SkipConditionLiteral)→SkipConditionLiteral; (SkipConditionLiteral AND x_cond)→x_cond;
+ // SkipConditionLiteral OR x_cond → SkipConditionLiteral short-circuits OR.
+ name: "complex NOT OR AND",
+ expr: "NOT a = 'a' OR b = 'b' AND x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (NOT (a_cond) OR (b_cond AND x_cond))",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_Parens covers parenthesized sub-expressions.
+// VisitPrimary adds one extra layer of parens around real conditions;
+// TrueConditionLiteral passes through unwrapped.
+func TestVisitComparison_Parens(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ // RSB: SkipConditionLiteral passes through unwrapped. SB: VisitPrimary wraps in parens.
+ name: "single attribute key in parens",
+ expr: "(a = 'a')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond)",
+ },
+ {
+ // RSB: a→true stripped; VisitPrimary wraps x_cond → "(x_cond)".
+ name: "AND in parens with mixed keys",
+ expr: "(a = 'a' AND x = 'x')",
+ wantRSB: "WHERE (x_cond)",
+ wantSB: "WHERE (a_cond)",
+ },
+ {
+ name: "NOT of paren-AND with mixed keys",
+ expr: "NOT (a = 'a' AND x = 'x')",
+ wantRSB: "WHERE NOT ((x_cond))",
+ wantSB: "WHERE NOT ((a_cond))",
+ },
+ {
+ // RSB: left (a OR b)→true stripped by AND; right (x OR y) survives.
+ name: "two paren-OR groups ANDed",
+ expr: "(a = 'a' OR b = 'b') AND (x = 'x' OR y = 'y')",
+ wantRSB: "WHERE ((x_cond OR y_cond))",
+ wantSB: "WHERE (((a_cond OR b_cond)) AND ((x_cond OR y_cond)))",
+ },
+ {
+ // RSB: left (a OR b)→true → OR short-circuits.
+ name: "two paren-OR groups ORed",
+ expr: "(a = 'a' OR b = 'b') OR (x = 'x' OR y = 'y')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (((a_cond OR b_cond)) OR ((x_cond OR y_cond)))",
+ },
+ {
+ // RSB: a→true stripped; (b OR x) b→true→short-circuits→true stripped; y_cond survives.
+ name: "paren-OR in middle of three-way AND",
+ expr: "a = 'a' AND (b = 'b' OR x = 'x') AND y = 'y'",
+ wantRSB: "WHERE y_cond",
+ wantSB: "WHERE (a_cond AND ((b_cond OR x_cond)) AND y_cond)",
+ },
+ {
+ // Each VisitPrimary(paren) adds one extra "()" layer.
+ name: "deeply nested parentheses",
+ expr: "(((x = 'x')))",
+ wantRSB: "WHERE (((x_cond)))",
+ wantSB: "WHERE true",
+ },
+ {
+ // RSB: inner NOT(a→SkipConditionLiteral)→SkipConditionLiteral; paren passes through;
+ // outer NOT(SkipConditionLiteral)→SkipConditionLiteral.
+ // SB: structural parens accumulate around each NOT.
+ name: "double NOT via parens",
+ expr: "NOT (NOT a = 'a')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT ((NOT (a_cond)))",
+ },
+ {
+ // RSB: all attrs → SkipConditionLiteral filtered from AND → AND returns SkipConditionLiteral;
+ // paren passes through; NOT(SkipConditionLiteral) → SkipConditionLiteral.
+ name: "NOT of parenthesized all-attribute AND",
+ expr: "NOT (a = 'a' AND b = 'b')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (((a_cond AND b_cond)))",
+ },
+ {
+ // RSB: a→SkipConditionLiteral short-circuits OR; paren passes through; NOT(SkipConditionLiteral)→SkipConditionLiteral.
+ name: "NOT of parenthesized mixed OR attr short-circuits",
+ expr: "NOT (a = 'a' OR x = 'x')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (((a_cond OR x_cond)))",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_FullText covers full-text (bare string literal) expressions.
+// rsbOpts has SkipFullTextFilter=true → TrueConditionLiteral.
+// sbOpts has SkipFullTextFilter=false, FullTextColumn=bodyCol → "body_cond".
+func TestVisitComparison_FullText(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ name: "standalone full-text term",
+ expr: "'hello'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ // RSB: FT→true, a→true; AND propagates true.
+ name: "full-text AND attribute",
+ expr: "'hello' AND a = 'a'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond AND a_cond)",
+ },
+ {
+ // RSB: FT→true stripped; x_cond survives.
+ name: "full-text AND resource",
+ expr: "'hello' AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ // RSB: NOT(FT→SkipConditionLiteral)→SkipConditionLiteral. SB: structural NOT applied.
+ name: "NOT full-text term",
+ expr: "NOT 'hello'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (body_cond)",
+ },
+ {
+ // RSB: FT→true short-circuits OR.
+ name: "full-text OR resource",
+ expr: "'hello' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond OR x_cond)",
+ },
+ {
+ name: "full-text OR attribute",
+ expr: "'hello' OR a = 'a'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond OR a_cond)",
+ },
+ {
+ name: "two full-text terms ANDed",
+ expr: "'hello' AND 'world'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond AND body_cond)",
+ },
+ {
+ name: "two full-text terms ORed",
+ expr: "'hello' OR 'world'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond OR body_cond)",
+ },
+ {
+ name: "full-text in parentheses",
+ expr: "('hello')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond)",
+ },
+ {
+ name: "two full-text AND attribute",
+ expr: "'hello' AND 'world' AND a = 'a'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond AND body_cond AND a_cond)",
+ },
+ {
+ name: "full-text OR attr OR resource all types",
+ expr: "'hello' OR a = 'a' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (body_cond OR a_cond OR x_cond)",
+ },
+ {
+ name: "NOT of paren full-text AND attr",
+ expr: "NOT ('hello' AND a = 'a')",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (((body_cond AND a_cond)))",
+ },
+ {
+ // RSB: NOT(FT→SkipConditionLiteral)→SkipConditionLiteral stripped from AND; x_cond survives.
+ name: "NOT full-text AND resource",
+ expr: "NOT 'hello' AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE NOT (body_cond)",
+ },
+ {
+ name: "NOT full-text OR resource",
+ expr: "NOT 'hello' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (NOT (body_cond) OR x_cond)",
+ },
+ {
+ // RSB: FT→true stripped; x_cond survives.
+ name: "full-text AND BETWEEN",
+ expr: "'hello' AND x BETWEEN 1 AND 3",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ name: "full-text AND EXISTS",
+ expr: "'hello' AND x EXISTS",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ // RSB: FT→true and allVariable→true; AND propagates true.
+ // SB: allVariable→TrueConditionLiteral stripped; body_cond survives.
+ name: "full-text AND allVariable",
+ expr: "'hello' AND x IN $service",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ // SB: body_cond added first; then allVariable→TrueConditionLiteral short-circuits OR.
+ name: "full-text OR allVariable",
+ expr: "'hello' OR x IN $service",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE true",
+ },
+ {
+ // SB: body_cond
+ name: "full-text with sentinel value",
+ expr: SkipConditionLiteral,
+ wantRSB: "WHERE true",
+ wantSB: "WHERE body_cond",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_AllVariable covers the __all__ dynamic variable.
+// IN/NOT IN $service where service="__all__" resolves to TrueConditionLiteral in both
+// RSB and SB, short-circuiting OR and being stripped from AND.
+// Equality with __all__ does NOT short-circuit — the variable resolves to the literal
+// "__all__" string and ConditionFor is called normally.
+func TestVisitComparison_AllVariable(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ name: "IN allVariable alone",
+ expr: "x IN $service",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE true",
+ },
+ {
+ // TrueConditionLiteral stripped from AND; y_cond remains.
+ name: "IN allVariable AND resource",
+ expr: "x IN $service AND y = 'y'",
+ wantRSB: "WHERE y_cond",
+ wantSB: "WHERE true",
+ },
+ {
+ // TrueConditionLiteral short-circuits OR.
+ name: "IN allVariable OR resource",
+ expr: "x IN $service OR y = 'y'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE true",
+ },
+ {
+ // RSB: a IN __all__→true stripped; x_cond remains.
+ // SB (no OR): a IN __all__→true; x filtered → ""; AND: no real conds → true.
+ name: "attr IN allVariable AND resource",
+ expr: "a IN $service AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantSB: "WHERE true",
+ },
+ {
+ // NOT IN also resolves __all__ to TrueConditionLiteral.
+ name: "NOT IN allVariable alone",
+ expr: "x NOT IN $service",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE true",
+ },
+ {
+ name: "NOT IN allVariable AND resource",
+ expr: "x NOT IN $service AND y = 'y'",
+ wantRSB: "WHERE y_cond",
+ wantSB: "WHERE true",
+ },
+ {
+ // NOT (x IN $service): __all__ → SkipConditionLiteral; VisitPrimary passes through;
+ // NOT(SkipConditionLiteral) → SkipConditionLiteral.
+ name: "NOT of allVariable IN",
+ expr: "NOT (x IN $service)",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE true",
+ },
+ {
+ name: "allVariable IN AND allVariable IN",
+ expr: "x IN $service AND y IN $service",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE true",
+ },
+ {
+ // SB: allVariable→TrueConditionLiteral stripped; body_cond survives.
+ name: "allVariable IN AND full-text",
+ expr: "x IN $service AND 'hello'",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ // Equality does not trigger __all__ short-circuit; ConditionFor called normally.
+ name: "equality with __all__ variable no shortcircuit",
+ expr: "a = $service",
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ // __all__→TrueConditionLiteral stripped in AND; y_cond wrapped in paren; NOT wraps.
+ name: "NOT of paren with __all__ AND resource",
+ expr: "NOT (x IN $service AND y = 'y')",
+ wantRSB: "WHERE NOT ((y_cond))",
+ wantSB: "WHERE true",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_FunctionCalls covers function call expressions (has, hasAny, hasAll).
+// rsbOpts has SkipFunctionCalls=true → TrueConditionLiteral (function never evaluated).
+// sbOpts has SkipFunctionCalls=false; has/hasAny/hasAll only support FieldContextBody,
+// so calls on attribute/resource keys return an error.
+func TestVisitComparison_FunctionCalls(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ name: "has on attribute key",
+ expr: "has(a, 'hello')",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ name: "has on resource key",
+ expr: "has(x, 'hello')",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ // RSB: TrueConditionLiteral stripped by AND; x_cond remains.
+ name: "has AND resource key",
+ expr: "has(a, 'hello') AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantErrSB: true,
+ },
+ {
+ // RSB: TrueConditionLiteral short-circuits OR.
+ name: "has OR resource key",
+ expr: "has(a, 'hello') OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ name: "NOT of has",
+ expr: "NOT has(a, 'hello')",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ // RSB: NOT(has→SkipConditionLiteral)→SkipConditionLiteral stripped from AND; y_cond remains.
+ name: "NOT of has AND resource key",
+ expr: "NOT has(a, 'hello') AND y = 'y'",
+ wantRSB: "WHERE y_cond",
+ wantErrSB: true,
+ },
+ {
+ // AND binds tighter: (has AND x) OR y.
+ // RSB: (true AND x_cond)→x_cond; OR y_cond → (x_cond OR y_cond).
+ name: "has AND resource OR resource",
+ expr: "has(a, 'hello') AND x = 'x' OR y = 'y'",
+ wantRSB: "WHERE (x_cond OR y_cond)",
+ wantErrSB: true,
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_UnknownKeys covers unknown key handling.
+// rsbOpts has IgnoreNotFoundKeys=true → VisitComparison returns SkipConditionLiteral
+// (no keys resolved); SkipConditionLiteral short-circuits OR and is stripped from AND.
+// sbOpts has IgnoreNotFoundKeys=false → key lookup appends an error.
+func TestVisitComparison_UnknownKeys(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+ tests := []visitComparisonCase{
+ {
+ // RSB: unknown_key → SkipConditionLiteral (no keys resolved); stripped from AND; x_cond survives.
+ name: "unknown key AND resource",
+ expr: "unknown_key = 'val' AND x = 'x'",
+ wantRSB: "WHERE x_cond",
+ wantErrSB: true,
+ },
+ {
+ // RSB: unknown_key not found (IgnoreNotFoundKeys=true) → SkipConditionLiteral;
+ // SkipConditionLiteral short-circuits OR → x_cond never evaluated → WHERE true.
+ name: "unknown key OR resource",
+ expr: "unknown_key = 'val' OR x = 'x'",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ // RSB: unknown_key → SkipConditionLiteral short-circuits OR → WHERE true (a=a never evaluated).
+ name: "unknown key OR attribute",
+ expr: "unknown_key = 'val' OR a = 'a'",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ // RSB: both → SkipConditionLiteral; all stripped from AND → AND returns SkipConditionLiteral → WHERE true.
+ name: "all unknown keys in AND",
+ expr: "unk1 = 'v' AND unk2 = 'v'",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ {
+ // RSB: unknown_key → SkipConditionLiteral; NOT(SkipConditionLiteral) → SkipConditionLiteral (guard);
+ // PrepareWhereClause converts to WHERE true.
+ name: "NOT of unknown key",
+ expr: "NOT unknown_key = 'val'",
+ wantRSB: "WHERE true",
+ wantErrSB: true,
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
+
+// TestVisitComparison_SkippableLiteralValues guards against two distinct collision risks
+// involving SkippableConditionLiterals ("true", "__skip__", "__skip_because_of_error__"):
+func TestVisitComparison_SkippableLiteralValues(t *testing.T) {
+ rsbOpts, sbOpts := visitComparisonOpts()
+
+ tests := []visitComparisonCase{
+ {
+ // rsbOpts: a is attr → SkipConditionLiteral → WHERE true.
+ // sbOpts: conditionBuilder ignores value → WHERE a_cond.
+ name: "value equals TrueConditionLiteral",
+ expr: fmt.Sprintf("a = '%s'", TrueConditionLiteral),
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ name: "value equals SkipConditionLiteral",
+ expr: fmt.Sprintf("a = '%s'", SkipConditionLiteral),
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ name: "value equals ErrorConditionLiteral",
+ expr: fmt.Sprintf("a = '%s'", ErrorConditionLiteral),
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ // IN list whose members are all sentinel literals.
+ name: "IN list containing all sentinel literals",
+ expr: fmt.Sprintf("a IN ('%s', '%s', '%s')", TrueConditionLiteral, SkipConditionLiteral, ErrorConditionLiteral),
+ wantRSB: "WHERE true",
+ wantSB: "WHERE a_cond",
+ },
+ {
+ // Both a and b are attribute keys → rsbOpts → WHERE true.
+ // sbOpts → two real conditions joined by AND.
+ name: "AND with sentinel value on one branch",
+ expr: fmt.Sprintf("a = '%s' AND b = 'real_value'", SkipConditionLiteral),
+ wantRSB: "WHERE true",
+ wantSB: "WHERE (a_cond AND b_cond)",
+ },
+ {
+ // rsbOpts: NOT(SkipConditionLiteral) → SkipConditionLiteral → WHERE true.
+ // sbOpts: NOT wraps the real condition.
+ name: "NOT with sentinel value",
+ expr: fmt.Sprintf("NOT a = '%s'", TrueConditionLiteral),
+ wantRSB: "WHERE true",
+ wantSB: "WHERE NOT (a_cond)",
+ },
+ {
+ // SkipConditionLiteral as a bare full-text search term.
+ // rsbOpts: SkipFullTextFilter=true → SkipConditionLiteral → WHERE true.
+ // sbOpts: full-text search on body column → WHERE body_cond.
+ name: "full text search with SkipConditionLiteral",
+ expr: SkipConditionLiteral,
+ wantRSB: "WHERE true",
+ wantSB: "WHERE body_cond",
+ },
+ {
+ // TrueConditionLiteral as a bare full-text search term.
+ // rsbOpts: SkipFullTextFilter=true → SkipConditionLiteral → WHERE true.
+ // sbOpts: full-text search on body column → WHERE body_cond.
+ name: "full text search with TrueConditionLiteral",
+ expr: TrueConditionLiteral,
+ wantRSB: "WHERE true",
+ wantSB: "WHERE body_cond",
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result, err := PrepareWhereClause(tt.expr, rsbOpts)
+ assert.Equal(t, tt.wantErrRSB, err != nil, "resourceConditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantRSB, expr, "resourceConditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantRSB, expr)
+ }
+ result, err = PrepareWhereClause(tt.expr, sbOpts)
+ assert.Equal(t, tt.wantErrSB, err != nil, "conditionBuilder: error expectation mismatch")
+ if err == nil {
+ expr, _ := result.WhereClause.Build()
+ assert.Equal(t, tt.wantSB, expr, "conditionBuilder SQL mismatch:\n want: %s\n got: %s", tt.wantSB, expr)
+ }
+ })
+ }
+}
diff --git a/pkg/telemetrylogs/stmt_builder_test.go b/pkg/telemetrylogs/stmt_builder_test.go
index 31223bdae4..054faebc8e 100644
--- a/pkg/telemetrylogs/stmt_builder_test.go
+++ b/pkg/telemetrylogs/stmt_builder_test.go
@@ -109,8 +109,8 @@ func TestStatementBuilderTimeSeries(t *testing.T) {
},
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) OR true) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __limit_cte AS (SELECT toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, countDistinct(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS __result_0 FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.method'] = ? AND mapContains(attributes_string, 'http.method') = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? GROUP BY `service.name` ORDER BY __result_0 DESC LIMIT ?) SELECT toStartOfInterval(fromUnixTimestamp64Nano(timestamp), INTERVAL 30 SECOND) AS ts, toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, countDistinct(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS __result_0 FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.method'] = ? AND mapContains(attributes_string, 'http.method') = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? AND (`service.name`) GLOBAL IN (SELECT `service.name` FROM __limit_cte) GROUP BY ts, `service.name`",
- Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", uint64(1705224600), uint64(1705485600), "redis-manual", "GET", true, "1705226400000000000", uint64(1705224600), "1705485600000000000", uint64(1705485600), 10, "redis-manual", "GET", true, "1705226400000000000", uint64(1705224600), "1705485600000000000", uint64(1705485600)},
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __limit_cte AS (SELECT toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, countDistinct(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS __result_0 FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.method'] = ? AND mapContains(attributes_string, 'http.method') = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? GROUP BY `service.name` ORDER BY __result_0 DESC LIMIT ?) SELECT toStartOfInterval(fromUnixTimestamp64Nano(timestamp), INTERVAL 30 SECOND) AS ts, toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, countDistinct(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS __result_0 FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.method'] = ? AND mapContains(attributes_string, 'http.method') = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? AND (`service.name`) GLOBAL IN (SELECT `service.name` FROM __limit_cte) GROUP BY ts, `service.name`",
+ Args: []any{uint64(1705224600), uint64(1705485600), "redis-manual", "GET", true, "1705226400000000000", uint64(1705224600), "1705485600000000000", uint64(1705485600), 10, "redis-manual", "GET", true, "1705226400000000000", uint64(1705224600), "1705485600000000000", uint64(1705485600)},
},
expectedErr: nil,
},
@@ -206,7 +206,7 @@ func TestStatementBuilderTimeSeries(t *testing.T) {
Limit: 10,
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE (true OR true) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT toStartOfInterval(fromUnixTimestamp64Nano(timestamp), INTERVAL 30 SECOND) AS ts, count() AS __result_0 FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (`attribute_string_materialized$$key$$name` = ? AND `attribute_string_materialized$$key$$name_exists` = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? GROUP BY ts",
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT toStartOfInterval(fromUnixTimestamp64Nano(timestamp), INTERVAL 30 SECOND) AS ts, count() AS __result_0 FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (`attribute_string_materialized$$key$$name` = ? AND `attribute_string_materialized$$key$$name_exists` = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? GROUP BY ts",
Args: []any{uint64(1705397400), uint64(1705485600), "redis.*", true, "memcached", true, "1705399200000000000", uint64(1705397400), "1705485600000000000", uint64(1705485600)},
},
expectedErr: nil,
@@ -331,7 +331,7 @@ func TestStatementBuilderListQuery(t *testing.T) {
},
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE (true OR true) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (`attribute_string_materialized$$key$$name` = ? AND `attribute_string_materialized$$key$$name_exists` = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? ORDER BY `attribute_string_materialized$$key$$name` AS `materialized.key.name` desc LIMIT ?",
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (`attribute_string_materialized$$key$$name` = ? AND `attribute_string_materialized$$key$$name_exists` = ?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? ORDER BY `attribute_string_materialized$$key$$name` AS `materialized.key.name` desc LIMIT ?",
Args: []any{uint64(1747945619), uint64(1747983448), "redis.*", true, "memcached", true, "1747947419000000000", uint64(1747945619), "1747983448000000000", uint64(1747983448), 10},
},
expectedErr: nil,
@@ -427,7 +427,7 @@ func TestStatementBuilderListQueryResourceTests(t *testing.T) {
},
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND (match(LOWER(body), LOWER(?))) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? ORDER BY `attribute_string_materialized$$key$$name` AS `materialized.key.name` desc LIMIT ?",
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND match(LOWER(body), LOWER(?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? ORDER BY `attribute_string_materialized$$key$$name` AS `materialized.key.name` desc LIMIT ?",
Args: []any{"cartservice", "%service.name%", "%service.name\":\"cartservice%", uint64(1747945619), uint64(1747983448), "hello", "1747947419000000000", uint64(1747945619), "1747983448000000000", uint64(1747983448), 10},
},
expectedErr: nil,
@@ -620,7 +620,7 @@ func TestStatementBuilderListQueryServiceCollision(t *testing.T) {
Limit: 10,
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE (((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND true)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((LOWER(body) LIKE LOWER(?))) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? LIMIT ?",
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND (LOWER(body) LIKE LOWER(?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? LIMIT ?",
Args: []any{"cartservice", "%service.name%", "%service.name\":\"cartservice%", uint64(1747945619), uint64(1747983448), "%error%", "1747947419000000000", uint64(1747945619), "1747983448000000000", uint64(1747983448), 10},
},
expectedErr: nil,
@@ -649,7 +649,7 @@ func TestStatementBuilderListQueryServiceCollision(t *testing.T) {
},
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND true) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND (LOWER(body) LIKE LOWER(?)) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? ORDER BY `attribute_string_materialized$$key$$name` AS `materialized.key.name` desc LIMIT ?",
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_logs.distributed_logs_v2_resource WHERE (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?) SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, scope_name, scope_version, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_string FROM signoz_logs.distributed_logs_v2 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND LOWER(body) LIKE LOWER(?) AND timestamp >= ? AND ts_bucket_start >= ? AND timestamp < ? AND ts_bucket_start <= ? ORDER BY `attribute_string_materialized$$key$$name` AS `materialized.key.name` desc LIMIT ?",
Args: []any{"cartservice", "%service.name%", "%service.name\":\"cartservice%", uint64(1747945619), uint64(1747983448), "%error%", "1747947419000000000", uint64(1747945619), "1747983448000000000", uint64(1747983448), 10},
},
expectedErr: nil,
diff --git a/pkg/telemetrytraces/stmt_builder_test.go b/pkg/telemetrytraces/stmt_builder_test.go
index 026e83062b..75598ca45e 100644
--- a/pkg/telemetrytraces/stmt_builder_test.go
+++ b/pkg/telemetrytraces/stmt_builder_test.go
@@ -90,8 +90,8 @@ func TestStatementBuilder(t *testing.T) {
},
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE ((simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?) OR true) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __limit_cte AS (SELECT toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.request.method'] = ? AND mapContains(attributes_string, 'http.request.method') = ?)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? GROUP BY `service.name` ORDER BY __result_0 DESC LIMIT ?) SELECT toStartOfInterval(timestamp, INTERVAL 30 SECOND) AS ts, toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.request.method'] = ? AND mapContains(attributes_string, 'http.request.method') = ?)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? AND (`service.name`) GLOBAL IN (SELECT `service.name` FROM __limit_cte) GROUP BY ts, `service.name`",
- Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", uint64(1747945619), uint64(1747983448), "redis-manual", "GET", true, "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10, "redis-manual", "GET", true, "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448)},
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __limit_cte AS (SELECT toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.request.method'] = ? AND mapContains(attributes_string, 'http.request.method') = ?)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? GROUP BY `service.name` ORDER BY __result_0 DESC LIMIT ?) SELECT toStartOfInterval(timestamp, INTERVAL 30 SECOND) AS ts, toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL) OR (attributes_string['http.request.method'] = ? AND mapContains(attributes_string, 'http.request.method') = ?)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? AND (`service.name`) GLOBAL IN (SELECT `service.name` FROM __limit_cte) GROUP BY ts, `service.name`",
+ Args: []any{uint64(1747945619), uint64(1747983448), "redis-manual", "GET", true, "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10, "redis-manual", "GET", true, "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448)},
},
expectedErr: nil,
},
@@ -119,8 +119,8 @@ func TestStatementBuilder(t *testing.T) {
},
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (true OR (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __limit_cte AS (SELECT toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? GROUP BY `service.name` ORDER BY __result_0 DESC LIMIT ?) SELECT toStartOfInterval(timestamp, INTERVAL 30 SECOND) AS ts, toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? AND (`service.name`) GLOBAL IN (SELECT `service.name` FROM __limit_cte) GROUP BY ts, `service.name`",
- Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", uint64(1747945619), uint64(1747983448), "redis-manual", true, "redis-manual", "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10, "redis-manual", true, "redis-manual", "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448)},
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __limit_cte AS (SELECT toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? GROUP BY `service.name` ORDER BY __result_0 DESC LIMIT ?) SELECT toStartOfInterval(timestamp, INTERVAL 30 SECOND) AS ts, toString(multiIf(multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL, multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL), NULL)) AS `service.name`, count() AS __result_0 FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? AND (`service.name`) GLOBAL IN (SELECT `service.name` FROM __limit_cte) GROUP BY ts, `service.name`",
+ Args: []any{uint64(1747945619), uint64(1747983448), "redis-manual", true, "redis-manual", "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10, "redis-manual", true, "redis-manual", "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448)},
},
expectedErr: nil,
},
@@ -856,8 +856,8 @@ func TestStatementBuilderTraceQuery(t *testing.T) {
Limit: 10,
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (true OR (simpleJSONExtractString(labels, 'service.name') = ? AND labels LIKE ? AND labels LIKE ?)) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __toe AS (SELECT trace_id FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ?), __toe_duration_sorted AS (SELECT trace_id, duration_nano, resource_string_service$$name as `service.name`, name FROM signoz_traces.distributed_signoz_index_v3 WHERE parent_span_id = '' AND trace_id GLOBAL IN __toe AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? ORDER BY duration_nano DESC LIMIT 1 BY trace_id) SELECT __toe_duration_sorted.`service.name` AS `service.name`, __toe_duration_sorted.name AS `name`, count() AS span_count, __toe_duration_sorted.duration_nano AS `duration_nano`, __toe_duration_sorted.trace_id AS `trace_id` FROM __toe INNER JOIN __toe_duration_sorted ON __toe.trace_id = __toe_duration_sorted.trace_id GROUP BY trace_id, duration_nano, name, `service.name` ORDER BY duration_nano DESC LIMIT 1 BY trace_id LIMIT ? SETTINGS distributed_product_mode='allow', max_memory_usage=10000000000",
- Args: []any{"redis-manual", "%service.name%", "%service.name\":\"redis-manual%", uint64(1747945619), uint64(1747983448), "redis-manual", true, "redis-manual", "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10},
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __toe AS (SELECT trace_id FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND ((match(`attribute_string_materialized$$key$$name`, ?) AND `attribute_string_materialized$$key$$name_exists` = ?) OR (multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) = ? AND multiIf(resource.`service.name` IS NOT NULL, resource.`service.name`::String, mapContains(resources_string, 'service.name'), resources_string['service.name'], NULL) IS NOT NULL)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ?), __toe_duration_sorted AS (SELECT trace_id, duration_nano, resource_string_service$$name as `service.name`, name FROM signoz_traces.distributed_signoz_index_v3 WHERE parent_span_id = '' AND trace_id GLOBAL IN __toe AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? ORDER BY duration_nano DESC LIMIT 1 BY trace_id) SELECT __toe_duration_sorted.`service.name` AS `service.name`, __toe_duration_sorted.name AS `name`, count() AS span_count, __toe_duration_sorted.duration_nano AS `duration_nano`, __toe_duration_sorted.trace_id AS `trace_id` FROM __toe INNER JOIN __toe_duration_sorted ON __toe.trace_id = __toe_duration_sorted.trace_id GROUP BY trace_id, duration_nano, name, `service.name` ORDER BY duration_nano DESC LIMIT 1 BY trace_id LIMIT ? SETTINGS distributed_product_mode='allow', max_memory_usage=10000000000",
+ Args: []any{uint64(1747945619), uint64(1747983448), "redis-manual", true, "redis-manual", "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10},
},
expectedErr: nil,
},
@@ -902,7 +902,7 @@ func TestStatementBuilderTraceQuery(t *testing.T) {
Limit: 10,
},
expected: qbtypes.Statement{
- Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE (true OR true) AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __toe AS (SELECT trace_id FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND (((name, resource_string_service$$name) GLOBAL IN (SELECT DISTINCT name, serviceName from signoz_traces.distributed_top_level_operations WHERE time >= toDateTime(1747947419))) AND parent_span_id != '' OR (`attribute_string_materialized$$key$$name` = ? AND `attribute_string_materialized$$key$$name_exists` = ?)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ?), __toe_duration_sorted AS (SELECT trace_id, duration_nano, resource_string_service$$name as `service.name`, name FROM signoz_traces.distributed_signoz_index_v3 WHERE parent_span_id = '' AND trace_id GLOBAL IN __toe AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? ORDER BY duration_nano DESC LIMIT 1 BY trace_id) SELECT __toe_duration_sorted.`service.name` AS `service.name`, __toe_duration_sorted.name AS `name`, count() AS span_count, __toe_duration_sorted.duration_nano AS `duration_nano`, __toe_duration_sorted.trace_id AS `trace_id` FROM __toe INNER JOIN __toe_duration_sorted ON __toe.trace_id = __toe_duration_sorted.trace_id GROUP BY trace_id, duration_nano, name, `service.name` ORDER BY duration_nano DESC LIMIT 1 BY trace_id LIMIT ? SETTINGS distributed_product_mode='allow', max_memory_usage=10000000000",
+ Query: "WITH __resource_filter AS (SELECT fingerprint FROM signoz_traces.distributed_traces_v3_resource WHERE true AND seen_at_ts_bucket_start >= ? AND seen_at_ts_bucket_start <= ?), __toe AS (SELECT trace_id FROM signoz_traces.distributed_signoz_index_v3 WHERE resource_fingerprint GLOBAL IN (SELECT fingerprint FROM __resource_filter) AND (((name, resource_string_service$$name) GLOBAL IN (SELECT DISTINCT name, serviceName from signoz_traces.distributed_top_level_operations WHERE time >= toDateTime(1747947419))) AND parent_span_id != '' OR (`attribute_string_materialized$$key$$name` = ? AND `attribute_string_materialized$$key$$name_exists` = ?)) AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ?), __toe_duration_sorted AS (SELECT trace_id, duration_nano, resource_string_service$$name as `service.name`, name FROM signoz_traces.distributed_signoz_index_v3 WHERE parent_span_id = '' AND trace_id GLOBAL IN __toe AND timestamp >= ? AND timestamp < ? AND ts_bucket_start >= ? AND ts_bucket_start <= ? ORDER BY duration_nano DESC LIMIT 1 BY trace_id) SELECT __toe_duration_sorted.`service.name` AS `service.name`, __toe_duration_sorted.name AS `name`, count() AS span_count, __toe_duration_sorted.duration_nano AS `duration_nano`, __toe_duration_sorted.trace_id AS `trace_id` FROM __toe INNER JOIN __toe_duration_sorted ON __toe.trace_id = __toe_duration_sorted.trace_id GROUP BY trace_id, duration_nano, name, `service.name` ORDER BY duration_nano DESC LIMIT 1 BY trace_id LIMIT ? SETTINGS distributed_product_mode='allow', max_memory_usage=10000000000",
Args: []any{uint64(1747945619), uint64(1747983448), "redis-manual", true, "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), "1747947419000000000", "1747983448000000000", uint64(1747945619), uint64(1747983448), 10},
},
expectedErr: nil,
diff --git a/tests/integration/fixtures/querier.py b/tests/integration/fixtures/querier.py
index d42c628a02..9d24579dfd 100644
--- a/tests/integration/fixtures/querier.py
+++ b/tests/integration/fixtures/querier.py
@@ -519,6 +519,16 @@ def get_scalar_columns(response_json: Dict) -> List[Dict]:
return results[0].get("columns", [])
+def get_column_data_from_response(response_json: Dict, column_name: str) -> List[Any]:
+ results = response_json.get("data", {}).get("data", {}).get("results", [])
+ if not results:
+ return []
+ rows = results[0].get("rows") or []
+ return [
+ row["data"][column_name] for row in rows if column_name in row.get("data", {})
+ ]
+
+
def assert_scalar_result_order(
data: List[List[Any]],
expected_order: List[tuple],
diff --git a/tests/integration/src/querier/08_filter_expression.py b/tests/integration/src/querier/08_filter_expression.py
new file mode 100644
index 0000000000..266b164d5e
--- /dev/null
+++ b/tests/integration/src/querier/08_filter_expression.py
@@ -0,0 +1,289 @@
+import os
+from concurrent.futures import ThreadPoolExecutor, as_completed
+from datetime import datetime, timedelta, timezone
+from http import HTTPStatus
+from typing import Callable, List, Set
+
+import pytest
+import requests
+
+from fixtures import types
+from fixtures.auth import USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD
+from fixtures.logs import Logs
+from fixtures.querier import get_column_data_from_response, make_query_request
+
+TESTDATA_DIR = os.path.join(os.path.dirname(__file__), "..", "..", "testdata")
+FILTER_EXPRESSIONS_FILE = os.path.join(TESTDATA_DIR, "filter_expressions_10000.txt")
+
+
+ "expression,expected_logs",
+ [
+ # NOT on resource attribute unique to alpha → beta only
+ pytest.param(
+ 'NOT resource.region = "us-east"',
+ {"beta-log"},
+ id="not_resource_attr",
+ ),
+ # NOT on number attribute unique to alpha → beta only
+ pytest.param(
+ "NOT attribute.status_code = 200",
+ {"beta-log"},
+ id="not_number_attr",
+ ),
+ # NOT (OR covering both logs) → no logs
+ # resource.region = "us-east" matches alpha; resource.status_code = "500" matches beta
+ pytest.param(
+ 'NOT (resource.region = "us-east" OR resource.status_code = "500")',
+ set(),
+ id="not_or_covering_all",
+ ),
+ # Multiple NOTs ANDed: each NOT excludes one log → no logs
+ pytest.param(
+ 'NOT resource.region = "us-east" AND NOT resource.status_code = "500"',
+ set(),
+ id="multiple_nots_and",
+ ),
+ # Double NOT: NOT (NOT expr) ≡ expr → alpha only
+ pytest.param(
+ 'NOT (NOT resource.region = "us-east")',
+ {"alpha-log"},
+ id="double_not",
+ ),
+ # NOT EXISTS: resource.region exists only on alpha → beta only
+ pytest.param(
+ "NOT resource.region EXISTS",
+ {"beta-log"},
+ id="not_exists",
+ ),
+ # NOT IN on resource attribute unique to beta → alpha only
+ pytest.param(
+ 'resource.status_code NOT IN ["500"]',
+ {"alpha-log"},
+ id="not_in",
+ ),
+ # NOT compound (number attr AND resource attr both on alpha) → beta only
+ pytest.param(
+ 'NOT (attribute.status_code = 200 AND resource.region = "us-east")',
+ {"beta-log"},
+ id="not_compound_attr_and_resource",
+ ),
+ # NOT wrapping impossible AND: no log has both resource.region and resource.status_code
+ # → AND always false → NOT always true → both logs
+ pytest.param(
+ 'NOT (resource.region = "us-east" AND resource.status_code = "500")',
+ {"alpha-log", "beta-log"},
+ id="not_impossible_and",
+ ),
+ # IS and NULL are not grammar keywords so they lex as KEY tokens.
+ # The implicit AND in andExpression splits this into three unary expressions:
+ # NOT (body REGEXP 'resource.region') AND (body REGEXP 'IS') AND (body REGEXP 'NULL')
+ # Neither body ("alpha-log", "beta-log") matches "IS" or "NULL" → empty set.
+ pytest.param(
+ "NOT resource.region IS NULL",
+ set(),
+ id="sql_is_null_as_fulltext",
+ ),
+ pytest.param(
+ "NOT 'NOT'",
+ {"alpha-log", "beta-log"},
+ id="not_full_text_search",
+ ),
+ ],
+)
+def test_not_filter_expression(
+ signoz: types.SigNoz,
+ create_user_admin: None, # pylint: disable=unused-argument
+ get_token: Callable[[str, str], str],
+ insert_logs: Callable[[List[Logs]], None],
+ expression: str,
+ expected_logs: Set[str],
+) -> None:
+ """
+ Verifies that valid NOT filter expressions return the correct set of logs.
+
+ Insert the two canonical test logs used by all valid-expression test cases.
+
+ alpha-log: resources region="us-east", env="production", hostname="host-alpha"
+ attributes status_code=200, latency_ms=350, error_count=3 (numbers)
+ beta-log: resources status_code="500", latency_ms="2500", error_count="10"
+ attributes region=1, env=2, hostname=3 (numbers)
+
+ region/env/hostname are present as resource on alpha and as attribute on beta.
+ status_code/latency_ms/error_count are present as attribute on alpha and as resource on beta.
+ This intentional overlap exercises context-prefix disambiguation.
+ """
+ now = datetime.now(tz=timezone.utc)
+ insert_logs(
+ [
+ Logs(
+ timestamp=now - timedelta(seconds=5),
+ body="alpha-log",
+ resources={
+ "region": "us-east",
+ "env": "production",
+ "hostname": "host-alpha",
+ },
+ attributes={
+ "status_code": 200,
+ "latency_ms": 350,
+ "error_count": 3,
+ },
+ ),
+ Logs(
+ timestamp=now - timedelta(seconds=3),
+ body="beta-log",
+ resources={
+ "status_code": "500",
+ "latency_ms": "2500",
+ "error_count": "10",
+ },
+ attributes={
+ "region": 1,
+ "env": 2,
+ "hostname": 3,
+ },
+ ),
+ ]
+ )
+
+ token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)
+
+ now = datetime.now(tz=timezone.utc)
+
+ response = make_query_request(
+ signoz,
+ token,
+ start_ms=int((now - timedelta(seconds=30)).timestamp() * 1000),
+ end_ms=int(now.timestamp() * 1000),
+ request_type="raw",
+ queries=[
+ {
+ "type": "builder_query",
+ "spec": {
+ "name": "A",
+ "signal": "logs",
+ "disabled": False,
+ "limit": 100,
+ "offset": 0,
+ "filter": {"expression": expression},
+ "order": [
+ {"key": {"name": "timestamp"}, "direction": "desc"},
+ {"key": {"name": "id"}, "direction": "desc"},
+ ],
+ "having": {"expression": ""},
+ "aggregations": [{"expression": "count()"}],
+ },
+ }
+ ],
+ )
+ assert response.status_code == HTTPStatus.OK
+ assert response.json()["status"] == "success"
+ assert set(get_column_data_from_response(response.json(), "body")) == expected_logs
+
+
+def test_filter_expressions_no_server_error(
+ signoz: types.SigNoz,
+ create_user_admin: None, # pylint: disable=unused-argument
+ insert_logs,
+ get_token: Callable[[str, str], str],
+) -> None:
+ """
+ Reads every line from filter_expressions_10000.txt and fires it as a filter
+ expression against the logs query endpoint.
+
+ Expressions may be valid (200) or invalid (400) — both are acceptable.
+ A 500 means the server crashed on the input and is a test failure.
+ All failing expressions are collected before asserting so the full list is
+ visible in one run.
+ """
+
+ token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)
+
+ now = datetime.now(tz=timezone.utc)
+ insert_logs(
+ [
+ Logs(
+ timestamp=now - timedelta(seconds=5),
+ body="alpha-log",
+ resources={
+ "f1": "v10",
+ "f2": "v20",
+ "f3": "v30",
+ },
+ attributes={
+ "f4": 40,
+ "f5": 50,
+ "f6": 60,
+ },
+ ),
+ Logs(
+ timestamp=now - timedelta(seconds=3),
+ body="beta-log",
+ resources={
+ "f4": "v41",
+ "f5": "v51",
+ "f6": "v61",
+ },
+ attributes={
+ "f1": 11,
+ "f2": 21,
+ "f3": 31,
+ },
+ ),
+ ]
+ )
+
+ def _make_raw_logs_query(
+ signoz: types.SigNoz,
+ token: str,
+ filter_expression: str,
+ ) -> requests.Response:
+ """Helper to query raw logs with a filter expression over the last 30 seconds."""
+ now = datetime.now(tz=timezone.utc)
+ return make_query_request(
+ signoz,
+ token,
+ start_ms=int((now - timedelta(seconds=30)).timestamp() * 1000),
+ end_ms=int(now.timestamp() * 1000),
+ request_type="raw",
+ queries=[
+ {
+ "type": "builder_query",
+ "spec": {
+ "name": "A",
+ "signal": "logs",
+ "disabled": False,
+ "limit": 100,
+ "offset": 0,
+ "filter": {"expression": filter_expression},
+ "order": [
+ {"key": {"name": "timestamp"}, "direction": "desc"},
+ {"key": {"name": "id"}, "direction": "desc"},
+ ],
+ "having": {"expression": ""},
+ "aggregations": [{"expression": "count()"}],
+ },
+ }
+ ],
+ )
+
+ failures: List[str] = []
+ with ThreadPoolExecutor(max_workers=40) as executor:
+ with open(FILTER_EXPRESSIONS_FILE, encoding="utf-8") as f:
+ futures = {
+ executor.submit(
+ _make_raw_logs_query, signoz, token, expr.rstrip("\n")
+ ): expr.rstrip("\n")
+ for expr in f
+ }
+ for future in as_completed(futures):
+ expr = futures[future]
+ if future.result().status_code == HTTPStatus.INTERNAL_SERVER_ERROR:
+ failures.append(expr)
+
+ assert (
+ len(failures) <= 0
+ ), f"{len(failures)} expression(s) caused HTTP 500:\n" + "\n".join(
+ f" {expr!r}" for expr in failures
+ )
diff --git a/tests/integration/testdata/filter_expressions_10000.txt b/tests/integration/testdata/filter_expressions_10000.txt
new file mode 100644
index 0000000000..99413da875
--- /dev/null
+++ b/tests/integration/testdata/filter_expressions_10000.txt
@@ -0,0 +1,10000 @@
+f6 < "abc"
+((hasToken(f1, -1)) AND (f2 <> f6)) AND (hasToken(f2, 0.0000000001))
+f1 IN (f1, "%wild%")
+f3 BETWEEN -2.7 AND 3.14
+f3 IN ("xyz%", -1, f3, .5, "\n")
+f6 IN ('', -1e-10, -10, -1, 0.0000000001)
+f1 OR OR ''
+f6 IN (-3.5e-2)
+f2 BETWEEN f3 AND "\n"
+(hasAll(f2, 10)) AND (f3 <= "hello world")
+hasAll(f6, 999999999999)
+f6 NOT CONTAINS "hello world"
+f6 BETWEEN "xyz%" AND f1
+f4 === -.5
+f4 BETWEEN "xyz%"
+f2 NOT CONTAINS "abc"
+f6 OR OR f6
+f5 BETWEEN AND 0
+has(f1, f5)
+f5 IN (,)
+(f4 IN (f2, .5, "abc", 0.0000000001, -10)) OR (f5 <> 0.0000000001)
+(f2 == -1) OR (f5 <> "hello world")
+f5 BETWEEN -.5 AND f4
+f4 NOT ILIKE "xyz%"
+f3 CONTAINS "%wild%"
+(((f4 > -2.7) AND (f2 BETWEEN f2 AND -.5)) OR (f3 BETWEEN f3 AND "abc")) AND (f5 NOT LIKE "abc")
+has(f1, "abc")
+f4 NOT ILIKE "%wild%"
+AND f2 = 0
+f1 BETWEEN 10 AND "a_b%"
+hasAny(f4, 10)
+f1 IN ()
+hasAll(f5, "xyz%")
+(f3 BETWEEN "\t" AND -.5) OR (f3 NOT LIKE "abc")
+has(f1, 999999999999)
+f3 BETWEEN -10 AND "abc"
+f4 BETWEEN 'O''Reilly' AND 0
+has(f3, -.5)
+f6 != "hello world"
+f6 BETWEEN "%wild%" AND 999999999999
+f5 IN ("xyz%", 10, 3.14, f1)
+f1 LIKE
+(hasAll(f1, 6.02e23)) OR (f1 BETWEEN 'O''Reilly' AND '')
+f1 === "abc"
+f2 LIKE
+f4 <> -1e-10
+f4 NOT
+f3 IN [1 2 3]
+(f3 = f6
+f2 BETWEEN -1e-10
+((hasToken(f3, "a_b%")) OR ((hasAny(f2, TRUE)) OR ((f2 < "\t") AND (f3 < 999999999999)))) OR (hasAll(f5, f3))
+(hasAny(f4, 3.14)) OR (hasAll(f6, 3.14))
+f2 IN ()
+(f6 BETWEEN "\n" AND f5) OR (f2 BETWEEN 0 AND -2.7)
+NOT
+f5 NOT
+f6 NOT
+hasAny(f1, 6.02e23)
+((f4 <= "%wild%") OR (f1 NOT ILIKE "%wild%")) OR (has(f6, "\n"))
+f3 IN (TRUE, 0.0000000001, f5, 0.0000000001)
+f1 CONTAINS "a_b%"
+f6 ILIKE ' '
+f5 BETWEEN AND 1
+f2 IN ("a_b%", "%wild%", "\n", "hello world")
+f4 BETWEEN AND "xyz%"
+f2 IS NULL
+f2 IN (.5, -3.5e-2, 'O''Reilly', -2.7, 1)
+f5 IN [1 2 3]
+f3 = -2.7)
+f6 IN [1 2 3]
+f1 BETWEEN "hello world" AND f2
+f5 CONTAINS "a_b%"
+f2 IN (999999999999, ' ', "xyz%", "%wild%")
+hasAll(f6, 0)
+f1 BETWEEN "abc" AND TRUE
+f6 BETWEEN f4 AND f5
+f1 < 0.0000000001
+f3 BETWEEN '' AND f4
+f4 IN ("%wild%", ' ', f3, "hello world", 'O''Reilly')
+f6 <> "a_b%"
+hasAny(f6, -1e-10)
+f3 REGEXP "xyz%"
+f3 BETWEEN AND 0.0000000001
+((f1 < f4) OR (f3 ILIKE "abc")) OR (f1 NOT LIKE "%wild%")
+has(f6, 6.02e23)
+has(f3, "abc")
+f5 NOT ILIKE ''
+f3 CONTAINS 'O''Reilly'
+f5 == 999999999999
+f6 IN (-3.5e-2)
+hasAny(f1, 0)
+(f3 LIKE 'test') OR (((f6 <> "xyz%") AND (f1 NOT ILIKE "\t")) AND (f2 IN (10)))
+f5 IN ('test', f2, .5, f3, 'O''Reilly')
+f5 IN (f5, f2, 3.14, -1, f1)
+has(f3, 3.14)
+(hasAll(f1, -1)) AND (f5 NOT CONTAINS 'O''Reilly')
+hasToken(f4, 3.14)
+f3 NOT REGEXP "\t"
+f3 BETWEEN TRUE AND f5
+f5 LIKE ' '
+f3 IN ("\t")
+f1 = 'unclosed
+f3 BETWEEN f2 AND f5
+(f6 BETWEEN -3.5e-2 AND 'O''Reilly') AND (has(f4, 0.0000000001))
+f1 = NULL
+f2 = "hello world")
+has(f3, 'test')
+hasToken(f5, 6.02e23)
+f3 NOT REGEXP ''
+f4 BETWEEN "\n"
+(f6 ILIKE ' ') AND (f5 BETWEEN "%wild%" AND -2.7)
+f4 NOT
+((f6 IN ("\n", "a_b%", f5, -1, -10)) AND ((f2 IN (f1)) AND ((f1 >= -3.5e-2) OR (f1 = "a_b%")))) AND (f3 IN (f1, 6.02e23, "abc"))
+hasAny(f6, -3.5e-2)
+hasAny(f4, f5)
+()
+f3 REGEXP "\t"
+(f6 = -2.7
+hasAll(f3, 1)
+has(f6)
+hasAny(f3, -2.7)
+f6 BETWEEN ''
+f2 BETWEEN -.5 AND ''
+f2 IN (f4, 'test', "%wild%")
+f4 NOT
+f3 REGEXP "\n"
+(f6 <> f4) AND (hasAll(f5, 0.0000000001))
+(((f2 = -1) OR (f1 NOT LIKE 'test')) AND (f4 NOT REGEXP "\t")) OR (hasAny(f6, TRUE))
+f5 CONTAINS 'O''Reilly'
+f2 IN (f2, "abc", '', -2.7)
+f3 = 'unclosed
+has(f1, "%wild%")
+f5 BETWEEN 999999999999 AND -10
+AND f5 = 999999999999
+f1 BETWEEN 1 AND -.5
+f5 BETWEEN "a_b%" AND 1
+f2 <= .5
+f4 NOT REGEXP ''
+f5 NOT ILIKE "\n"
+(f4 IN (10)) OR (f4 NOT LIKE ' ')
+f1 NOT LIKE "a_b%"
+f2 < "a_b%"
+hasAll(f5, f3)
+f1 NOT LIKE "\t"
+hasAny(f6, f1)
+f4 BETWEEN "%wild%" AND f3
+(f4 IN ("xyz%", '', 6.02e23)) OR (f1 == 3.14)
+(f2 IN (10, "%wild%", .5, TRUE, ' ')) OR ((f5 IN (' ', -2.7, f6)) AND (f6 BETWEEN f4 AND 0.0000000001))
+f3 === "hello world"
+f3 IN (0, 1e10, 6.02e23)
+f1 ILIKE "\t"
+f1 BETWEEN "%wild%"
+f5 = f2)
+f4 REGEXP 'test'
+(f1 = -1
+f1 LIKE
+(f2 BETWEEN "\n" AND 0.0000000001) OR (f4 = f1)
+f3 <= "\t"
+f3 NOT LIKE "%wild%"
+f2 IN (f3, '', 3.14, f1, -2.7)
+has(f4, "\t")
+f6 = 'unclosed
+AND f3 = 6.02e23
+f6 IS NULL
+f6 REGEXP 'O''Reilly'
+f5 IN ('O''Reilly')
+f1 > 'test'
+f5 <= f3
+(f5 NOT ILIKE "a_b%") OR (has(f2, f2))
+f6 IN (f6)
+f2 >= f2
+hasAll(f2, '')
+f4 IN (,)
+(f3 BETWEEN 3.14 AND 6.02e23) OR (f6 IN (-.5, 3.14, 'O''Reilly', "\n"))
+f2 IN (3.14, f1, f6, '', 1)
+f2 BETWEEN "%wild%" AND f5
+f2 BETWEEN -10 AND 'test'
+f1 === "%wild%"
+f4 > "abc"
+f5 IN [1 2 3]
+f4 BETWEEN AND 'test'
+f5 IN (.5)
+f3 BETWEEN f2 AND f6
+f1 NOT ILIKE ' '
+hasAll(f1)
+f6 > 6.02e23
+f4 IN (f4, f2)
+f1 < 999999999999
+f5 = "abc")
+has(f4, .5)
+hasAny(f4)
+f6 BETWEEN 3.14 AND ''
+has(f5, "\n")
+f1 LIKE
+f6 === -1
+f1 IN (,)
+hasAll(f4, -1)
+(f2 = ''
+f3 ILIKE ' '
+f5 IN (3.14, f1, 3.14)
+f5 BETWEEN 'test' AND "a_b%"
+f6 IN ('O''Reilly', f2, f1)
+f3 NOT CONTAINS "abc"
+f5 IN ("hello world", 10, -10, "\t")
+(f1 BETWEEN 6.02e23 AND f2) AND (f1 BETWEEN "abc" AND '')
+hasAny(f1, f2)
+f3 LIKE
+f4 BETWEEN "\n" AND .5
+f6 IN (999999999999, 'test', f5, -1e-10)
+f4 != f2
+NOT
+f2 BETWEEN "abc" AND f5
+hasAll(f5, f3)
+f5 IN [1 2 3]
+f6 IN (f2)
+hasAny(f3, 1e10)
+f2 BETWEEN 6.02e23
+()
+(hasAny(f5, -3.5e-2)) OR (has(f1, 3.14))
+(f6 IN (TRUE, 1)) OR ((f6 IN (f4, "abc", "\t")) OR (f1 LIKE "hello world"))
+f4 NOT ILIKE "a_b%"
+f6 IN (' ', "\t", -.5)
+AND f5 = "a_b%"
+f4 IN (TRUE, "abc", -3.5e-2, "a_b%", "a_b%")
+f4 BETWEEN f6 AND f3
+f4 IN (3.14)
+f5 = NULL
+f1 <= -.5
+()
+f5 NOT CONTAINS ''
+has(f6, -.5)
+f4 BETWEEN AND ''
+f6 BETWEEN "%wild%" AND f4
+f5 BETWEEN f6 AND -.5
+hasAny(f3, "\t")
+f6 BETWEEN 'O''Reilly'
+f5 REGEXP "\t"
+f3 NOT ILIKE "abc"
+f5 BETWEEN "\n" AND 6.02e23
+f2 = 6.02e23)
+f5 NOT CONTAINS "abc"
+hasAll(f2, f4)
+f2 IN ("%wild%", ' ', "xyz%", f4)
+f3 BETWEEN 'O''Reilly' AND 0.0000000001
+f3 LIKE
+hasToken(f4, ' ')
+f2 = 'unclosed
+hasAll(f3, -.5)
+(f2 BETWEEN 10 AND 0.0000000001) AND (f1 <= "%wild%")
+f6 != 0
+f2 IN ()
+f5 BETWEEN -1 AND 1e10
+f1 BETWEEN "\t" AND f5
+(f1 < -2.7) OR (f4 IN (f5, -.5, f6, f3, "hello world"))
+f3 != f3
+(f6 > 'test') AND (f5 BETWEEN "\t" AND f1)
+f4 == 1e10
+f4 BETWEEN "\n"
+(f3 > "abc") AND ((f3 ILIKE "%wild%") OR (((f3 <> 0.0000000001) AND (f4 != f3)) OR (f6 NOT CONTAINS '')))
+f2 = 'unclosed
+f2 BETWEEN "a_b%" AND f2
+f6 BETWEEN f5 AND 3.14
+f4 =
+f6 <> -10
+f6 IN (10)
+(f1 = TRUE
+f4 NOT LIKE "\t"
+f5 =
+f4 = 'unclosed
+f6 BETWEEN AND .5
+(f2 = "\t") OR (f5 BETWEEN 999999999999 AND 10)
+f2 IN ("a_b%", "a_b%", "abc", 'O''Reilly', 6.02e23)
+f5 BETWEEN AND 0.0000000001
+()
+f3 BETWEEN 6.02e23 AND f3
+f5 IN ()
+f3 IN [1 2 3]
+hasToken(f2, 999999999999)
+(f3 = "abc"
+NOT
+f4 IN [1 2 3]
+hasToken(f6)
+f4 BETWEEN "%wild%" AND "xyz%"
+()
+AND f1 = -10
+hasAll(f4, 10)
+(f6 NOT CONTAINS "abc") AND (hasToken(f5, 0))
+(has(f3, f6)) OR (f1 BETWEEN -2.7 AND 6.02e23)
+hasAll(f5, ' ')
+f1 NOT REGEXP "%wild%"
+f6 BETWEEN 0.0000000001 AND 'O''Reilly'
+f6 = 3.14
+f5 NOT CONTAINS "abc"
+(f4 <= "%wild%") AND (hasAny(f1, 999999999999))
+f6 =
+(f5 = "\n"
+f2 BETWEEN -2.7
+hasToken(f5, "a_b%")
+f4 IN (0.0000000001, ' ', "\n", f1)
+hasToken(f6, 3.14)
+f3 BETWEEN 6.02e23
+f1 < f2
+f1 IN (3.14, 1e10)
+hasToken(f5, -2.7)
+f5 IN ("a_b%")
+AND f1 = TRUE
+f4 IN (-10, -3.5e-2)
+f3 NOT CONTAINS "xyz%"
+f6 BETWEEN f5 AND -1e-10
+f3 BETWEEN 0 AND "\t"
+hasAll(f4, f2)
+(f3 BETWEEN "a_b%" AND -1e-10) OR (f2 IN ("a_b%", 'test', f5, "abc"))
+f4 IN (.5, -1e-10, 1e10)
+hasToken(f1, 999999999999)
+f6 IN (TRUE)
+f6 BETWEEN 'O''Reilly' AND "abc"
+f6 BETWEEN f1 AND "\n"
+hasToken(f4, f6)
+f6 BETWEEN AND TRUE
+((f4 IN (0)) AND (f2 IN (0.0000000001, f2, '', "\t", f3))) AND (f1 IN (-2.7, 'test', TRUE, 3.14))
+(f3 IN (f3, 999999999999, f4)) OR (f1 NOT CONTAINS ' ')
+f1 IN (1)
+hasAny(f6)
+(f6 = f2
+f2 BETWEEN "hello world" AND -10
+hasAll(f2, "a_b%")
+f3 >= "a_b%"
+has(f4, ' ')
+f5 ILIKE "\t"
+f5 IN (3.14, -.5, "a_b%", .5, "abc")
+f3 BETWEEN 6.02e23 AND f6
+hasToken(f2, f1)
+((f5 BETWEEN -3.5e-2 AND f5) OR (f2 BETWEEN "a_b%" AND f2)) AND (f1 IN (-.5, -1e-10, "\n", f6))
+f6 NOT CONTAINS "%wild%"
+f4 ILIKE "xyz%"
+f3 BETWEEN -1 AND "hello world"
+f2 IN (f5, f6, .5, .5)
+has(f3, f2)
+f1 NOT ILIKE 'O''Reilly'
+f1 IN [1 2 3]
+((f5 BETWEEN -.5 AND 999999999999) AND (f5 > "hello world")) AND (f6 IN ('test', "hello world", f6))
+AND f6 = -.5
+f6 BETWEEN "\t" AND f5
+((f4 NOT LIKE "\t") AND (f5 REGEXP "a_b%")) OR (f3 LIKE "xyz%")
+f6 NOT REGEXP "xyz%"
+()
+hasAll(f4, 10)
+(f1 != f2) OR (f4 <> -.5)
+f3 BETWEEN AND -3.5e-2
+f6 IN (f1, 3.14)
+f2 >= -10
+f5 BETWEEN f2 AND 0
+f1 IN (-.5, f4, -10, 0.0000000001)
+(f3 > 'O''Reilly') AND (f2 ILIKE "xyz%")
+f5 != f2
+f6 BETWEEN 6.02e23 AND TRUE
+f2 NOT LIKE "xyz%"
+f5 <= ' '
+f3 = 'unclosed
+hasToken(f2, 'test')
+f4 BETWEEN "\n" AND .5
+(f5 = '') OR (f4 BETWEEN TRUE AND '')
+f4 BETWEEN -10 AND 1
+f3 <> -1
+f4 NOT
+f5 <> 6.02e23
+f5 NOT LIKE 'O''Reilly'
+(f2 == f1) AND (f5 LIKE 'O''Reilly')
+(f1 BETWEEN 0 AND -.5) AND (f4 BETWEEN ' ' AND "xyz%")
+f6 BETWEEN "hello world" AND .5
+NOT
+f5 ILIKE "a_b%"
+f5 == 0.0000000001
+f1 = "abc"
+f4 IN (1e10, -1)
+((f3 BETWEEN "abc" AND TRUE) OR (f1 IN ('', .5, f6, 10, 1e10))) AND (hasToken(f1, -10))
+f3 IN [1 2 3]
+f6 = 0)
+has(f3, "%wild%")
+((f1 IN ("abc", TRUE)) OR (f2 < 3.14)) AND (f5 BETWEEN TRUE AND '')
+(hasAny(f1, "\t")) AND (has(f5, f1))
+f2 BETWEEN 'test' AND "xyz%"
+f4 IN [1 2 3]
+f2 >= f3
+f5 > 999999999999
+f3 NOT LIKE "xyz%"
+((hasAny(f1, "a_b%")) AND (f6 <> ' ')) OR (hasAll(f1, "xyz%"))
+f2 LIKE
+f2 BETWEEN -1e-10 AND "\t"
+(f5 < -10) AND (f2 >= -.5)
+f1 IN (f3)
+hasToken(f4, f5)
+(f3 BETWEEN 999999999999 AND 1e10) OR (f4 IN (-1, "abc"))
+f4 NOT CONTAINS "abc"
+f2 CONTAINS 'test'
+has(f2, "\n")
+f3 BETWEEN "\n"
+f3 = f4
+hasAny(f2, -2.7)
+f3 BETWEEN 10 AND 0.0000000001
+f3 ILIKE "hello world"
+f6 IN (1, ' ', 6.02e23)
+f4 BETWEEN 'O''Reilly' AND 1e10
+f1 <> 0.0000000001
+f1 NOT REGEXP "\n"
+f3 BETWEEN 1e10 AND "a_b%"
+f5 BETWEEN 6.02e23 AND .5
+f3 === "\t"
+f6 NOT CONTAINS "\t"
+((f2 IN (1e10, "\n", 'O''Reilly', 'test', -.5)) AND (((f4 = 1e10) OR (f5 <> -2.7)) OR (f3 BETWEEN -10 AND "abc"))) OR (f2 IN ("%wild%"))
+f2 IN (-10, ' ')
+f6 = 10
+(f4 BETWEEN f5 AND "\n") OR (has(f4, f4))
+f5 NOT
+f1 =
+(hasAny(f4, 10)) AND (f2 IN (TRUE, "xyz%"))
+f2 IN (10)
+hasAny(f4, 10)
+f1 REGEXP "\t"
+f2 NOT LIKE "abc"
+(f4 == 'O''Reilly') OR (f4 REGEXP "xyz%")
+f2 NOT REGEXP "%wild%"
+f1 REGEXP ' '
+f3 BETWEEN 10 AND 6.02e23
+()
+f5 NOT ILIKE ' '
+f6 LIKE ''
+hasAny(f5, .5)
+f4 = 3.14)
+(hasAll(f3, -10)) AND (f5 CONTAINS '')
+f5 IN (0, TRUE, .5, TRUE)
+has(f5, -2.7)
+f3 > TRUE
+(hasToken(f5, -1)) AND (f4 IN ("\t", -1))
+f6 IN (10, f4)
+AND f3 = "%wild%"
+(f3 IN (3.14, -1e-10, f2, 999999999999)) OR ((has(f3, f6)) AND (f3 <= -.5))
+f5 BETWEEN AND 1
+hasToken(f6)
+hasAny(f4, f4)
+f3 IN ("xyz%", 3.14)
+f1 ILIKE "\n"
+f2 = NULL
+f6 OR OR "hello world"
+f4 BETWEEN 'O''Reilly' AND "\t"
+f5 > 'test'
+f4 == "%wild%"
+(f6 = "abc"
+(((f3 IN ("\t", "\n", -1, -1e-10)) OR ((f2 >= ' ') OR (f2 != 'test'))) AND (f2 REGEXP '')) AND (((f3 BETWEEN 0.0000000001 AND 'O''Reilly') OR (f3 IN ('test', f3, .5))) OR (f6 == f4))
+f5 BETWEEN 10
+hasAny(f4, "a_b%")
+f2 NOT
+f5 BETWEEN -3.5e-2 AND f5
+f1 BETWEEN AND -.5
+(f3 <> 1) AND ((f2 BETWEEN ' ' AND 'O''Reilly') AND (f4 < -3.5e-2))
+f3 < f3
+hasAll(f5, f1)
+hasAny(f2)
+f2 BETWEEN 1 AND f6
+f6 IN ("\n")
+(f3 = TRUE
+f4 IN (999999999999, 0)
+((f5 IN (-.5, TRUE, -2.7, f6, .5)) OR (f1 >= -1e-10)) AND (f5 IN (' ', TRUE))
+f5 >= 999999999999
+f3 NOT ILIKE "abc"
+f1 >= 6.02e23
+f5 BETWEEN AND -10
+f1 BETWEEN 'test' AND ''
+f3 OR OR -.5
+f5 IS NULL
+f6 NOT CONTAINS "%wild%"
+f1 BETWEEN -.5 AND 10
+AND f2 = TRUE
+f1 CONTAINS ' '
+f6 IN (0, 0.0000000001, "%wild%")
+(hasToken(f1, "abc")) OR (f6 IN (6.02e23, 10, 0, -3.5e-2))
+f4 ILIKE "xyz%"
+has(f3)
+f5 NOT CONTAINS "xyz%"
+()
+f5 < f6
+(f3 NOT REGEXP "abc") AND (f3 NOT CONTAINS "\t")
+f1 NOT LIKE "\t"
+f3 IN ('', -2.7, -1)
+f4 = 'unclosed
+f6 BETWEEN "%wild%" AND -2.7
+f1 IN [1 2 3]
+hasAny(f2, -.5)
+(hasToken(f3, TRUE)) AND (f4 IN ('test', f2, -.5))
+hasAll(f6, "a_b%")
+hasAny(f6, -1e-10)
+((((f2 > .5) OR (f5 >= TRUE)) OR (f1 NOT LIKE "abc")) OR (f1 BETWEEN 10 AND -1e-10)) OR (f3 BETWEEN "xyz%" AND 6.02e23)
+hasAll(f6)
+((f4 <= TRUE) OR (has(f1, "xyz%"))) AND (hasAny(f4, ''))
+NOT
+f4 < "xyz%"
+has(f3, "%wild%")
+f1 BETWEEN 6.02e23 AND "a_b%"
+((f5 NOT REGEXP "xyz%") OR (hasAny(f2, -10))) AND (f5 CONTAINS "xyz%")
+f6 BETWEEN "%wild%" AND "%wild%"
+f5 BETWEEN f4 AND 0
+f4 IN ("abc", -1)
+f4 IN ("\n")
+(f5 > f6) OR (f1 REGEXP "\t")
+has(f1, -3.5e-2)
+f5 IN ()
+f1 BETWEEN f3 AND "%wild%"
+f1 != "xyz%"
+hasAll(f2, TRUE)
+(f3 LIKE "%wild%") AND (has(f1, -1))
+f3 == 'test'
+()
+(hasAny(f3, 'O''Reilly')) OR (f5 != .5)
+hasToken(f5, 3.14)
+((f4 BETWEEN f6 AND 6.02e23) AND (f2 BETWEEN "xyz%" AND -1e-10)) AND (f6 BETWEEN 10 AND f3)
+f3 == "xyz%"
+(f3 NOT REGEXP "hello world") AND (f3 == -1e-10)
+f3 REGEXP "\n"
+hasAll(f3, f1)
+f2 IN (f1, "hello world")
+f2 === f3
+f3 != -1e-10
+((f5 = "\t") AND (f5 < f4)) AND (f4 IN ('test', -.5))
+hasToken(f1, '')
+(hasAny(f6, f6)) AND (f2 ILIKE "\n")
+f6 NOT
+f6 <> ''
+f1 LIKE "\t"
+(((hasAny(f5, "\n")) OR (f5 IN ("xyz%"))) OR (f5 BETWEEN "\t" AND ' ')) OR (f4 LIKE '')
+f4 OR OR 6.02e23
+f6 <> TRUE
+hasToken(f6)
+hasAny(f5, -.5)
+f5 != 10
+f5 BETWEEN "\t" AND 1
+f6 = 0.0000000001)
+hasAll(f2, -3.5e-2)
+f4 IN (-10, 0.0000000001, "\n", "\n", -.5)
+f5 BETWEEN f6 AND TRUE
+AND f5 = 1e10
+(f5 = 0.0000000001
+(hasToken(f1, -.5)) OR (f2 NOT LIKE 'O''Reilly')
+hasAll(f4, -1e-10)
+(has(f5, 0)) OR (((f3 NOT LIKE "hello world") OR ((f3 < f1) OR (f5 < "\t"))) AND (f5 NOT CONTAINS "hello world"))
+hasAll(f4, 'O''Reilly')
+((((f4 != -2.7) AND (f5 <= "%wild%")) AND (f4 BETWEEN 0 AND 3.14)) AND (f5 CONTAINS "xyz%")) AND (f2 IN (3.14, -1, "\n"))
+f4 = 'unclosed
+hasAny(f5, -3.5e-2)
+f2 IN (-3.5e-2)
+f4 IN ("\t", "\t", -1e-10)
+(f1 < ' ') OR (f2 IN (-1e-10, f3, "\t", 0, "xyz%"))
+has(f1, f6)
+f5 < "xyz%"
+f5 NOT CONTAINS 'test'
+has(f4)
+f4 IN ()
+f4 BETWEEN "a_b%" AND ' '
+hasAny(f3, -1e-10)
+f2 BETWEEN "abc" AND "xyz%"
+f2 BETWEEN ' ' AND 6.02e23
+f1 IN [1 2 3]
+f4 = NULL
+f1 =
+f4 BETWEEN -2.7 AND "a_b%"
+f2 IN ("xyz%", "abc", "hello world", f4, "%wild%")
+f4 NOT ILIKE "%wild%"
+f3 IN ("hello world", f2, 1e10, -.5)
+AND f6 = -2.7
+f2 <= f5
+(hasAll(f6, f5)) OR (f5 IN (10, "\t", -2.7, -3.5e-2, 10))
+f4 IN (f2)
+f3 IN ("xyz%", ' ', 1)
+f6 IN (-1e-10, 1e10, 'test', ' ', "a_b%")
+f6 NOT CONTAINS "xyz%"
+f4 IN (-3.5e-2, "%wild%")
+hasToken(f5, -10)
+f2 IN ("a_b%", 'test', "hello world")
+f3 NOT CONTAINS "a_b%"
+hasToken(f4, -3.5e-2)
+f2 <> "xyz%"
+()
+f5 NOT LIKE "xyz%"
+f1 BETWEEN "\n" AND 'O''Reilly'
+(f6 ILIKE "hello world") AND (f1 > "a_b%")
+f4 = NULL
+f4 < ''
+f3 BETWEEN 0 AND 0
+f3 BETWEEN 'test' AND f4
+(f3 LIKE "%wild%") OR (has(f2, ''))
+hasToken(f4, "abc")
+(f4 NOT ILIKE 'O''Reilly') AND (f6 NOT ILIKE '')
+f5 IN (,)
+f5 NOT CONTAINS 'O''Reilly'
+f2 NOT REGEXP "abc"
+hasAny(f1, -2.7)
+f6 BETWEEN f2 AND 0
+f1 BETWEEN f5 AND 999999999999
+f4 IN (f3, -1, "%wild%")
+f1 BETWEEN "hello world" AND "\t"
+f2 NOT ILIKE 'O''Reilly'
+f1 LIKE
+f4 BETWEEN "\n" AND 'O''Reilly'
+f2 = 'unclosed
+f2 =
+f5 BETWEEN "abc"
+f6 BETWEEN -2.7
+f6 BETWEEN AND ' '
+f5 REGEXP ''
+f5 BETWEEN 1e10 AND ' '
+f3 ILIKE "xyz%"
+f3 REGEXP ''
+f6 <= 1e10
+f5 IN (,)
+(f1 == -1) AND (f1 BETWEEN -1e-10 AND -2.7)
+f1 <= f5
+(f1 IN (0.0000000001, -10, 0)) AND ((f4 = '') OR (f6 IN ("hello world")))
+(f1 IN (-2.7, -2.7)) AND (hasAny(f4, -1e-10))
+f5 BETWEEN 1e10 AND TRUE
+(f6 IN (f1, -2.7, -3.5e-2, 1e10)) OR (hasAny(f3, f2))
+()
+NOT
+f1 IN (0.0000000001, 999999999999, "a_b%")
+(hasAny(f5, -2.7)) AND (f3 ILIKE "hello world")
+hasAny(f2, "xyz%")
+f1 IN (,)
+has(f4, 10)
+f3 IN (,)
+f5 IN (6.02e23, "a_b%", f6, 0.0000000001, 6.02e23)
+(f5 NOT LIKE 'test') OR (f4 IN (-.5, "%wild%"))
+has(f6, "\t")
+f5 CONTAINS "hello world"
+f4 = "hello world")
+has(f1, TRUE)
+f2 IN (' ', 1, 'O''Reilly')
+f5 IN (6.02e23, f2, -1, 0.0000000001)
+f2 IN (.5)
+f5 BETWEEN 6.02e23 AND 'test'
+(f4 IN (1, "%wild%", 999999999999, 999999999999)) AND (hasAll(f5, f4))
+f6 BETWEEN 1 AND "\n"
+(f3 != 10) OR (f6 BETWEEN "hello world" AND 10)
+f1 <= "hello world"
+(f1 < "\n") AND (f5 NOT LIKE "a_b%")
+has(f5, 1e10)
+f5 LIKE "abc"
+hasAll(f3, f5)
+f1 BETWEEN ' ' AND ' '
+f2 IN ("hello world", 10, "xyz%", "\n", 1)
+f3 = 0.0000000001)
+f4 BETWEEN 'O''Reilly' AND "%wild%"
+f2 BETWEEN -.5 AND -1e-10
+f3 BETWEEN "a_b%"
+f2 = 'unclosed
+f1 BETWEEN "hello world" AND 0.0000000001
+f6 BETWEEN 1 AND ' '
+f2 NOT CONTAINS "\t"
+f4 NOT CONTAINS "hello world"
+f1 BETWEEN TRUE AND 0
+f4 IS NULL
+f4 IS NULL
+(f1 = 'test'
+f3 IN ()
+f2 != "\t"
+f1 ILIKE ' '
+(f1 REGEXP "a_b%") AND ((f1 == f2) OR (f5 <= f6))
+f4 BETWEEN "\n" AND -1
+f3 IS NULL
+f1 BETWEEN -.5 AND -1e-10
+f1 IN (f5, f5, 0, f5)
+hasToken(f6, f3)
+f5 = "abc"
+f3 BETWEEN AND 999999999999
+hasAll(f3, 3.14)
+f2 ILIKE "\t"
+((hasAny(f5, f3)) OR (f1 < "a_b%")) OR (f1 CONTAINS '')
+f2 NOT LIKE 'O''Reilly'
+f5 NOT ILIKE 'test'
+f5 == f4
+hasAll(f6, f1)
+f3 IN (' ', -.5, f5, f5, f5)
+f5 = 'unclosed
+f4 NOT
+f3 IN [1 2 3]
+f2 <> "%wild%"
+f6 IS NULL
+AND f4 = 'O''Reilly'
+f3 <= -3.5e-2
+f2 NOT LIKE 'O''Reilly'
+f6 IN ("hello world")
+f2 NOT REGEXP ' '
+f3 IS NULL
+f5 ILIKE 'test'
+f6 REGEXP "a_b%"
+f5 != 999999999999
+f4 NOT LIKE "abc"
+f6 == "%wild%"
+f1 < 1
+f6 IN ("a_b%", -1e-10)
+f5 IN (f2, .5, "hello world")
+f1 IN (f6)
+hasAll(f3, "hello world")
+(hasAny(f2, -10)) OR (hasToken(f3, 10))
+f6 LIKE "xyz%"
+f4 <= 1e10
+hasToken(f6, ' ')
+f6 BETWEEN 3.14 AND f3
+f6 >= -2.7
+((f2 NOT ILIKE "hello world") OR (f4 IN ("%wild%", "a_b%"))) OR (f1 NOT LIKE ' ')
+f4 ILIKE 'O''Reilly'
+()
+hasAny(f4, "abc")
+f4 NOT LIKE "a_b%"
+(f4 NOT REGEXP '') AND (f6 BETWEEN -10 AND f5)
+hasAll(f4, -2.7)
+f2 IN ()
+f5 BETWEEN 0 AND 6.02e23
+f5 REGEXP "%wild%"
+f2 NOT ILIKE "\t"
+f3 IN (,)
+has(f1, ' ')
+f1 IN (f1, "\t")
+(f4 CONTAINS '') AND ((f2 NOT ILIKE '') OR (f4 IN ('test', -.5)))
+f6 = 6.02e23
+f6 CONTAINS "hello world"
+(f6 CONTAINS "\n") AND (f5 CONTAINS '')
+f4 NOT
+hasAll(f5, -1)
+NOT
+hasAny(f1, f4)
+(f6 < 10) OR (hasToken(f1, f3))
+f5 NOT REGEXP "%wild%"
+f3 IN (-1, 'O''Reilly')
+has(f3, f4)
+hasAll(f1, 1)
+f2 == "hello world"
+hasAll(f3, "xyz%")
+f5 != 6.02e23
+f2 IN ("abc", f5, 1e10)
+f1 IS NULL
+f2 BETWEEN ' ' AND 10
+f1 != f3
+f4 IN (0.0000000001, "\n", "\n", f4, "xyz%")
+f1 REGEXP ' '
+f5 IN (-2.7)
+f6 IN [1 2 3]
+(f6 BETWEEN -1e-10 AND "%wild%") AND (f5 IN (0))
+f1 = 'unclosed
+has(f1, 999999999999)
+f6 NOT
+((f4 IN ("xyz%", -3.5e-2, -10)) OR (f4 <= "%wild%")) AND (f3 IN (f2, -10))
+f5 BETWEEN "\t" AND 1e10
+f2 <= 999999999999
+f4 < -2.7
+f5 < f2
+f2 LIKE "abc"
+f2 IN ("\t", 0, f6)
+f4 CONTAINS "%wild%"
+(f1 = "%wild%"
+(f5 IN (3.14, f3, 'test')) AND (f5 BETWEEN -1 AND "\n")
+f6 IN (-2.7, ' ', f5, 3.14)
+f4 IN ()
+f6 BETWEEN AND 'O''Reilly'
+f6 BETWEEN f3 AND 6.02e23
+f1 BETWEEN -1 AND 6.02e23
+f4 = "abc"
+f1 BETWEEN 1e10 AND 10
+f1 = 'unclosed
+(f3 NOT LIKE "\t") AND (f2 IN (1e10))
+f3 != TRUE
+f5 IN (f2, "abc")
+f1 =
+f6 < TRUE
+f6 ILIKE 'test'
+f5 IN (TRUE, "abc", 1e10, -1)
+(hasAll(f1, ' ')) OR (f5 <> -1e-10)
+hasAll(f1, f6)
+(f3 BETWEEN 10 AND -1e-10) AND (f6 BETWEEN f4 AND f5)
+(f6 > 'test') AND (f3 NOT REGEXP "\n")
+f4 LIKE
+f6 BETWEEN f2 AND "a_b%"
+(f2 IN ("a_b%")) AND (f2 <= -1e-10)
+f1 BETWEEN f4 AND f5
+f2 NOT ILIKE "\n"
+f3 ILIKE ' '
+(f2 IN (-.5, -1, 10)) OR (f1 BETWEEN f3 AND f3)
+f2 IN (-3.5e-2, -3.5e-2, 0.0000000001)
+hasAny(f4, f4)
+f3 IN [1 2 3]
+f4 IS NULL
+f5 = TRUE
+f2 IS NULL
+f6 =
+f1 BETWEEN f1
+f5 > 10
+f4 IN (-1, '', '', 1e10, -10)
+f2 BETWEEN "%wild%" AND "abc"
+((((f3 > "hello world") OR (f3 = -10)) OR (f4 IN (f6, .5, f4, 'test'))) OR (has(f3, -1e-10))) OR (f1 <= 1e10)
+f1 != "hello world"
+f4 BETWEEN 6.02e23 AND 999999999999
+(f4 IN (-.5, f4, ' ', TRUE, f2)) AND (f2 IN (1))
+f2 IN [1 2 3]
+f2 IN (0.0000000001, f4, '')
+f1 === 'test'
+f6 NOT
+f5 BETWEEN -1 AND "a_b%"
+AND f2 = f2
+f3 IN [1 2 3]
+f3 NOT LIKE ' '
+f2 BETWEEN 0.0000000001
+(hasAny(f5, "hello world")) AND (f1 >= 3.14)
+f4 OR OR "\t"
+f3 > ' '
+f5 NOT LIKE 'test'
+f6 CONTAINS ' '
+((f5 BETWEEN 3.14 AND 6.02e23) AND (f4 IN ("%wild%", -10, "\n", 3.14, 0))) OR ((f2 NOT CONTAINS "\n") AND (f2 BETWEEN "\n" AND 'test'))
+f3 < f5
+f2 LIKE "abc"
+f6 IN (.5, 'test', TRUE, 1e10)
+(f1 BETWEEN .5 AND "hello world") OR (f5 > f4)
+f6 IN (.5, '', f6, 1)
+f2 NOT
+(f3 < -10) AND ((f5 != "a_b%") OR ((f6 IN (-2.7, ' ', 6.02e23)) AND (f5 BETWEEN 'test' AND '')))
+()
+has(f5, TRUE)
+f1 != 1
+f6 IN (-.5, f2, "%wild%")
+f1 IN (0.0000000001)
+((f2 IN (-.5, 3.14)) OR ((f1 >= f1) AND (f1 BETWEEN -1 AND f6))) AND (f1 REGEXP "abc")
+(f1 <> -1e-10) AND ((f1 != "hello world") OR (f2 IN ("abc", f6, -10, -2.7, 0)))
+(f2 IN (0, -2.7, 999999999999, f6, f4)) OR ((f4 BETWEEN -2.7 AND 1e10) OR (f4 NOT ILIKE ''))
+f3 == f3
+f4 BETWEEN '' AND 'test'
+f1 > f5
+f4 IN ('O''Reilly', f2, 0.0000000001, TRUE, 'test')
+(f4 = f5
+(f1 != "\t") OR ((f6 != -10) OR (f3 BETWEEN -1e-10 AND "\t"))
+f6 NOT CONTAINS 'O''Reilly'
+AND f5 = "\t"
+f1 BETWEEN AND .5
+NOT
+f4 BETWEEN AND -1e-10
+f1 === "a_b%"
+f6 IN (f5, f1)
+(f1 NOT CONTAINS "\t") OR (f5 ILIKE '')
+f4 IN ("\n", ' ', 'test', "a_b%", 10)
+f2 > ' '
+f5 OR OR ' '
+f2 BETWEEN "abc" AND 'O''Reilly'
+(f1 IN (-3.5e-2, 1, "a_b%")) AND (f6 CONTAINS "\n")
+f3 LIKE ' '
+f4 IN ("\n", "a_b%", -2.7, f5, -2.7)
+f3 BETWEEN f5 AND f6
+()
+f1 IN ("\t", 0.0000000001, 3.14)
+hasAll(f1, "hello world")
+hasToken(f4, 999999999999)
+f6 < f6
+f4 =
+hasToken(f2, 999999999999)
+(f6 IN (f1, 10, -1e-10, '', f3)) AND (f2 BETWEEN 'O''Reilly' AND f1)
+f6 <> TRUE
+f6 IN ("xyz%", "abc")
+f2 <> 1
+f4 IN (f1, f1, -1, -1e-10)
+f1 BETWEEN "xyz%" AND "hello world"
+f6 BETWEEN -1 AND f5
+AND f1 = "a_b%"
+has(f6, "xyz%")
+f2 == "a_b%"
+hasToken(f6, "abc")
+f2 IN [1 2 3]
+has(f3, "a_b%")
+f6 NOT ILIKE 'O''Reilly'
+f2 NOT
+f6 IN (.5, "abc", f2)
+f3 REGEXP "xyz%"
+f2 IN ()
+f4 IN ()
+hasAll(f6, f3)
+f6 != f2
+hasAll(f2)
+(hasToken(f6, "a_b%")) OR (f6 ILIKE 'O''Reilly')
+hasAll(f3, -1e-10)
+f2 IN ("\n", 0.0000000001, 1, 1)
+f6 = "\t")
+f1 BETWEEN '' AND -3.5e-2
+f1 NOT
+f4 ILIKE "%wild%"
+f5 IN (,)
+f2 BETWEEN 3.14
+f4 BETWEEN -10
+f4 OR OR "\n"
+hasAny(f1, "xyz%")
+f3 NOT CONTAINS "hello world"
+(f2 REGEXP "xyz%") OR (f2 >= "hello world")
+f3 REGEXP "\n"
+f3 = 'unclosed
+f2 BETWEEN -1 AND f4
+(f1 NOT CONTAINS "abc") OR (f6 IN (f5, f3, f5, .5, 6.02e23))
+f2 < 1e10
+f6 = NULL
+f1 IN (.5, "\t", '')
+f3 != 1
+(f4 REGEXP "\n") AND (f1 IN (f2, "a_b%", -.5, 999999999999, 10))
+hasToken(f3)
+f4 LIKE
+f6 REGEXP "\t"
+f6 IN ('')
+f4 CONTAINS ' '
+has(f4, f1)
+has(f5)
+(f5 NOT LIKE 'O''Reilly') OR (f1 NOT CONTAINS 'O''Reilly')
+f6 BETWEEN 'O''Reilly' AND "abc"
+f5 IN (-10)
+f5 NOT
+has(f1, f3)
+f4 BETWEEN -1 AND 3.14
+(f5 IN (f2, "xyz%", "%wild%", 1e10)) AND (f1 BETWEEN "xyz%" AND -2.7)
+f1 <= .5
+(f6 CONTAINS "\t") OR (f5 IN ('', "\t", 'O''Reilly', 3.14, -.5))
+f1 BETWEEN 1 AND -1e-10
+AND f2 = 6.02e23
+f1 != 6.02e23
+f4 NOT CONTAINS "abc"
+f5 = -2.7)
+f4 BETWEEN AND 'test'
+f5 NOT REGEXP ''
+(f1 NOT CONTAINS "\n") OR (f6 CONTAINS "abc")
+(f3 NOT CONTAINS 'test') AND (hasAll(f6, f3))
+f6 IN (TRUE, '', f4, -3.5e-2)
+f6 IN (f4)
+f2 BETWEEN f5 AND -2.7
+f4 === 999999999999
+has(f1, "%wild%")
+has(f2, 0.0000000001)
+f3 IN ("hello world")
+()
+f2 == 999999999999
+AND f2 = f2
+f4 BETWEEN TRUE AND 0
+f3 REGEXP ''
+f3 IN ('', "abc", 6.02e23, TRUE)
+f2 =
+has(f1, "%wild%")
+f4 BETWEEN 10 AND "\t"
+f6 =
+f5 IN (,)
+hasToken(f3, -.5)
+hasAny(f3, 3.14)
+f5 IN (-3.5e-2, 1, 1)
+f5 NOT
+f1 IN (.5)
+has(f6, f3)
+f6 BETWEEN 0.0000000001 AND ' '
+(hasAny(f6, "\n")) AND (f3 <> '')
+f6 BETWEEN f1 AND TRUE
+f4 != f4
+f3 <= "\t"
+AND f5 = f1
+f2 NOT LIKE 'test'
+f6 != ''
+f1 OR OR -1
+f3 IN (f5, 1, 6.02e23)
+has(f4, 'O''Reilly')
+f2 = NULL
+hasAll(f4, "\n")
+(f2 BETWEEN f6 AND f3) OR ((f6 BETWEEN "a_b%" AND 3.14) OR (f2 CONTAINS "a_b%"))
+(((f6 BETWEEN 1 AND 'O''Reilly') AND ((f1 <> 10) AND (f4 = .5))) AND (f3 <> "abc")) OR (f5 > "\t")
+f1 NOT REGEXP "%wild%"
+f5 > "\n"
+f1 != 'test'
+f1 IN ('O''Reilly', TRUE)
+f5 > 1e10
+f3 <= -2.7
+f3 REGEXP "%wild%"
+f1 LIKE
+f4 IN (TRUE, -10, f4, 1, TRUE)
+f3 == "abc"
+f6 OR OR f6
+f2 BETWEEN f1 AND f2
+f5 REGEXP "\t"
+f1 IN (,)
+(hasAll(f1, 3.14)) OR ((f6 BETWEEN "hello world" AND f1) AND (hasAll(f5, "%wild%")))
+(f2 IN ("%wild%", 999999999999, f3)) OR (f6 != 0)
+f1 != TRUE
+(f4 NOT LIKE "\t") AND (hasToken(f1, .5))
+f5 NOT REGEXP "%wild%"
+(f4 > -1e-10) OR (f2 = "hello world")
+(f1 BETWEEN 'O''Reilly' AND 0.0000000001) AND (f3 LIKE 'O''Reilly')
+(has(f2, -1e-10)) OR (f3 >= -3.5e-2)
+(hasAny(f6, -10)) AND ((f3 BETWEEN 0.0000000001 AND "hello world") AND (((f5 < f3) AND (f4 = "a_b%")) OR (f3 NOT LIKE "\t")))
+f3 LIKE 'test'
+f5 NOT CONTAINS "a_b%"
+f3 BETWEEN 3.14 AND 1
+f2 LIKE
+f1 NOT REGEXP 'O''Reilly'
+f2 NOT REGEXP "abc"
+f5 BETWEEN AND "abc"
+(f1 BETWEEN f2 AND 10) OR (hasToken(f6, -10))
+f5 = 'test'
+f4 LIKE
+(f5 NOT REGEXP "\n") AND (f1 = -10)
+f5 BETWEEN -.5 AND f6
+f4 NOT CONTAINS "hello world"
+f1 != 'O''Reilly'
+hasAll(f6, 'O''Reilly')
+hasAny(f2, f4)
+f3 IN (0, 6.02e23, 10)
+hasToken(f1, ' ')
+f6 BETWEEN -1e-10 AND -10
+((f5 NOT REGEXP "\n") OR (hasToken(f3, "%wild%"))) AND (f4 = f5)
+f6 <> 0.0000000001
+f2 BETWEEN f4 AND "%wild%"
+f4 =
+f3 BETWEEN f2 AND -1e-10
+f1 IN (-1e-10)
+f2 BETWEEN "xyz%" AND 1e10
+hasAny(f2, -1e-10)
+f1 IN (-.5)
+f3 <> 'O''Reilly'
+f3 IN (f1, -10)
+f2 BETWEEN -1e-10 AND "\n"
+f5 IN ("abc", -1, -1e-10, 'test')
+f3 = NULL
+f5 === f6
+f5 IN (f5, f4, "hello world", "\t")
+has(f6, 999999999999)
+f4 BETWEEN "abc" AND "\t"
+f4 ILIKE "a_b%"
+f2 == 'test'
+f2 IN (-1, f3, f6, "%wild%", f1)
+f4 NOT REGEXP ' '
+f1 ILIKE ' '
+(f1 IN (f6, f6, 3.14)) OR (f1 BETWEEN .5 AND -10)
+hasAll(f2, -1e-10)
+f3 IN (-1e-10, -.5, "xyz%")
+f3 IN ("\t", "\t", 0)
+hasToken(f2, 0.0000000001)
+(f2 NOT CONTAINS ' ') OR (f3 <> f1)
+f6 IN (,)
+f1 BETWEEN TRUE
+hasAny(f1, 6.02e23)
+f3 LIKE
+f6 REGEXP "xyz%"
+(f1 BETWEEN f5 AND 1) AND (f1 BETWEEN "\n" AND 'test')
+f6 IN (-10, f3, 10, '', 0)
+f4 ILIKE "xyz%"
+f4 NOT LIKE "%wild%"
+NOT
+f3 NOT ILIKE "abc"
+f4 IN ()
+f3 REGEXP "%wild%"
+f4 BETWEEN "abc" AND 1e10
+f6 === "\n"
+(f6 IN (999999999999)) OR (f5 NOT LIKE "a_b%")
+f5 > TRUE
+f2 IN (-1, f3, 1, -10, f3)
+(f4 BETWEEN -1 AND 0) OR (f6 != "a_b%")
+f4 NOT CONTAINS "xyz%"
+((f4 BETWEEN "hello world" AND -3.5e-2) AND (f5 == 1e10)) OR (f5 <= -3.5e-2)
+f6 < 6.02e23
+f2 BETWEEN -1 AND 999999999999
+f6 == "\n"
+f1 LIKE "abc"
+f2 =
+f6 BETWEEN -10 AND 0.0000000001
+()
+hasToken(f2, f1)
+f1 BETWEEN ' ' AND "a_b%"
+f6 NOT REGEXP "abc"
+f2 NOT LIKE "\t"
+()
+f5 BETWEEN "\n"
+NOT
+f2 = .5
+(f5 BETWEEN 3.14 AND 10) AND (f4 IN (-1e-10, 6.02e23, "\n"))
+f2 >= "%wild%"
+f6 IN (TRUE)
+f1 IN ("%wild%", "%wild%")
+hasAny(f1, 0.0000000001)
+f5 NOT REGEXP "hello world"
+f1 >= -10
+f1 IN ()
+f3 ILIKE 'test'
+f5 BETWEEN "abc" AND 'O''Reilly'
+f6 NOT ILIKE 'O''Reilly'
+NOT
+f2 NOT CONTAINS "abc"
+f4 IS NULL
+hasToken(f5, -10)
+(f2 BETWEEN -1e-10 AND 0) AND (hasAll(f6, f5))
+f4 NOT REGEXP "%wild%"
+(f4 = .5) OR (hasAny(f2, f1))
+hasAll(f6)
+f6 IN (6.02e23)
+f6 ILIKE 'O''Reilly'
+hasAny(f6, 0)
+f6 <= "\t"
+f5 <> f1
+f3 REGEXP ''
+f6 = 'unclosed
+NOT
+f6 IN (-3.5e-2, 1e10, '', 1e10)
+f4 BETWEEN 1e10 AND f6
+f4 IS NULL
+hasAny(f1, 3.14)
+f1 REGEXP "xyz%"
+hasToken(f2, f5)
+f1 = "hello world"
+f1 BETWEEN "\n"
+f3 IN ("a_b%", "abc", '')
+f5 LIKE "a_b%"
+f1 OR OR .5
+(f5 CONTAINS "\t") AND (f6 > 1)
+f6 > f2
+f4 NOT LIKE "a_b%"
+f6 NOT LIKE "%wild%"
+f6 BETWEEN 6.02e23 AND f6
+f1 REGEXP "\t"
+f4 IN ()
+(f3 BETWEEN "\n" AND "hello world") AND ((((f6 != f5) AND (f6 > 0.0000000001)) AND ((f4 <= f1) AND (f2 < .5))) OR (f1 == "%wild%"))
+f6 BETWEEN .5 AND ''
+f4 IN (0, 'O''Reilly', 10, -1e-10, "\n")
+AND f3 = -.5
+f3 IN (,)
+(f6 IN (f4, 999999999999, f5, 'test', "\n")) AND (f2 IN (0.0000000001, 10))
+f2 = NULL
+f4 BETWEEN -1e-10
+AND f5 = 'O''Reilly'
+((f3 == 6.02e23) OR (f6 ILIKE "abc")) AND (f4 IN (10, .5))
+(f6 = .5
+(f6 BETWEEN "\n" AND 3.14) OR ((f6 IN ('', 0, .5, .5)) AND (f4 <> 1))
+hasAll(f4, -2.7)
+()
+(f5 NOT CONTAINS "xyz%") AND (f6 BETWEEN .5 AND 1e10)
+f6 === f2
+f1 IN (.5)
+f5 IN (f1, 0)
+f5 < f2
+f6 NOT REGEXP ''
+f3 IN (,)
+f2 NOT
+f4 BETWEEN f3 AND 3.14
+f6 === 999999999999
+f3 BETWEEN f1 AND "\n"
+has(f2, "hello world")
+f6 <= -10
+f3 > "hello world"
+f3 BETWEEN 0 AND -2.7
+f4 BETWEEN -2.7 AND .5
+(has(f4, ' ')) OR (has(f3, 10))
+f2 NOT REGEXP "\t"
+AND f5 = f4
+(f6 > "abc") OR ((f4 BETWEEN ' ' AND f3) OR (f4 IN (0.0000000001, 'O''Reilly', 3.14, 'O''Reilly', TRUE)))
+()
+f1 =
+((((f2 = f2) AND (f6 <> 1e10)) AND (f2 IN (' ', 10, f1, f5, "\n"))) AND (f1 IN ("abc", .5, 'test'))) OR (f3 REGEXP 'test')
+(f2 REGEXP "\t") AND (f5 NOT CONTAINS "abc")
+hasAll(f4, 'O''Reilly')
+f3 != "\t"
+f4 >= -1e-10
+hasToken(f2, .5)
+f1 = '')
+f5 =
+(f2 < -1) AND (f4 NOT REGEXP "abc")
+f4 BETWEEN "hello world" AND .5
+hasAny(f4, "a_b%")
+f4 OR OR 1
+(f6 > f1) AND (f4 REGEXP 'O''Reilly')
+f2 ILIKE ''
+f1 IN ("abc", f1, -1e-10)
+f6 != -1e-10
+AND f5 = 0.0000000001
+has(f2, 10)
+hasAny(f3, 0.0000000001)
+f1 CONTAINS "\t"
+f3 > "hello world"
+f6 BETWEEN 1e10
+f3 NOT LIKE "%wild%"
+f3 NOT REGEXP 'O''Reilly'
+((f3 BETWEEN '' AND '') OR (f6 BETWEEN "hello world" AND 999999999999)) OR (f1 != .5)
+(f6 BETWEEN f2 AND -2.7) AND (hasAll(f5, 'O''Reilly'))
+f5 BETWEEN 6.02e23 AND -1
+f5 REGEXP ''
+f3 === f1
+(f1 IN (10, -1e-10, "\t", f5, f6)) AND (f4 BETWEEN f6 AND "\n")
+f4 REGEXP 'test'
+f5 BETWEEN 999999999999 AND 0
+f5 === "xyz%"
+hasAll(f2, -1)
+f2 IN (10, "abc", 999999999999)
+f6 > ''
+(f6 IN (TRUE, 'test')) OR (f6 = ' ')
+f2 IN (1, -2.7, "\n")
+f3 IS NULL
+(f2 IN (3.14, f5, 1e10, f3)) AND (f2 BETWEEN f5 AND 1e10)
+f3 != 1e10
+f6 LIKE
+f6 BETWEEN 0 AND -2.7
+f1 = -1
+f3 != 0
+f1 IN (,)
+f2 BETWEEN 10 AND "hello world"
+f1 = -2.7
+f5 <= 6.02e23
+f1 BETWEEN 0.0000000001 AND f1
+f6 IN (0.0000000001, "\n", .5)
+f2 == 'test'
+has(f3, '')
+f1 IN (,)
+f3 IN ("hello world")
+(f6 = "a_b%"
+f1 NOT LIKE "\n"
+(f1 BETWEEN "a_b%" AND -.5) AND (f3 NOT REGEXP ' ')
+(hasAll(f6, -.5)) AND (f4 NOT CONTAINS '')
+hasAny(f5, "\n")
+(hasAny(f5, 3.14)) AND (f1 IN (1, ''))
+f1 BETWEEN 10 AND ' '
+f3 BETWEEN f3 AND 6.02e23
+(f5 = .5
+(f1 IN (-10)) OR (has(f2, 6.02e23))
+f2 == 0
+f2 ILIKE ' '
+((f4 NOT REGEXP ' ') AND (f1 IN (10, -1))) AND (has(f2, "\t"))
+f6 IN ()
+f6 BETWEEN 999999999999 AND "\t"
+f4 BETWEEN 1e10 AND -10
+f4 = 'unclosed
+f1 > "%wild%"
+f2 IN (-2.7, -10, 999999999999, 0, 'O''Reilly')
+f6 BETWEEN -1 AND "abc"
+has(f5, f4)
+f1 IN (0, ' ', 'test')
+NOT
+f1 BETWEEN "\n" AND f4
+f3 != 6.02e23
+f6 == 0.0000000001
+f6 OR OR -.5
+f1 CONTAINS 'test'
+has(f5, 6.02e23)
+f1 LIKE "hello world"
+f3 IN ()
+f3 IN (-10)
+f3 NOT CONTAINS 'O''Reilly'
+AND f4 = .5
+hasAll(f5, '')
+f5 NOT CONTAINS 'O''Reilly'
+f6 === "abc"
+f2 <= f3
+f4 IN (f3, -2.7, 3.14, 1e10)
+f4 NOT ILIKE "%wild%"
+f3 IN (f5, 999999999999, f4, .5, "hello world")
+hasToken(f2, 6.02e23)
+f5 IN ("\n")
+f4 IN (999999999999, 10, 999999999999, 1)
+(f6 = -10
+(f5 NOT ILIKE "\t") OR (f1 BETWEEN 3.14 AND f1)
+f2 IN (' ', TRUE)
+hasAny(f6, f1)
+(f1 NOT ILIKE "xyz%") AND (f6 IN (0, 6.02e23, f3))
+f4 IN [1 2 3]
+f6 BETWEEN -1e-10 AND TRUE
+f5 BETWEEN "\n" AND 999999999999
+f6 BETWEEN 0 AND ''
+f1 OR OR f3
+hasAll(f4, .5)
+f4 IN (,)
+f1 == 3.14
+has(f4, f5)
+has(f5, f2)
+f6 < TRUE
+f5 CONTAINS "xyz%"
+f1 NOT REGEXP ' '
+((f3 <> f6) OR (f6 IN ('O''Reilly', TRUE, "abc"))) AND (f1 LIKE "abc")
+f5 IN ("a_b%", "%wild%", -3.5e-2, f1, "abc")
+f2 CONTAINS "abc"
+hasAny(f5)
+f5 BETWEEN .5 AND "\t"
+f6 =
+has(f2, 3.14)
+f6 != f3
+f2 IN (0.0000000001, 'O''Reilly')
+f6 BETWEEN "\n" AND "xyz%"
+f1 IN (1, -2.7)
+has(f1, 6.02e23)
+f1 BETWEEN -10 AND f5
+f2 = 'unclosed
+f3 NOT CONTAINS "hello world"
+f2 = .5
+NOT
+f2 BETWEEN '' AND .5
+f1 = 'unclosed
+f3 === f5
+(f1 REGEXP "hello world") AND ((f4 CONTAINS "\n") OR (f5 IN ("\n")))
+hasAll(f3, -10)
+f5 < TRUE
+(f4 IN (.5)) AND (f4 IN (' ', "abc"))
+(f2 IN (.5, 0, "a_b%")) AND ((f4 BETWEEN "a_b%" AND 0.0000000001) AND (f3 NOT ILIKE ''))
+has(f3, TRUE)
+f3 NOT REGEXP 'test'
+f4 LIKE 'O''Reilly'
+f4 != "a_b%"
+f5 BETWEEN 1 AND 'test'
+hasToken(f1, 'test')
+f1 LIKE "a_b%"
+f4 == TRUE
+f3 IN ("\t", 3.14, "a_b%")
+f4 < f3
+(f5 IN (1)) AND (f1 != -2.7)
+f6 NOT
+f1 === 'O''Reilly'
+NOT
+hasToken(f4, "hello world")
+(f1 BETWEEN "xyz%" AND 'test') AND (f5 IN (999999999999, -10))
+f1 NOT ILIKE "abc"
+f4 NOT ILIKE ' '
+f5 BETWEEN f6 AND "a_b%"
+f3 IS NULL
+f5 IN [1 2 3]
+f4 BETWEEN -2.7 AND .5
+f2 REGEXP "abc"
+hasAll(f4, "xyz%")
+hasAll(f1, f1)
+f5 CONTAINS ''
+f3 NOT REGEXP "xyz%"
+f6 CONTAINS 'test'
+f2 REGEXP ''
+has(f4, 10)
+f2 == 10
+(f5 = "\t"
+(f4 IN (-3.5e-2, 999999999999)) OR (((f6 IN (-2.7)) AND (hasToken(f6, 'O''Reilly'))) AND (f3 BETWEEN -10 AND -3.5e-2))
+f2 LIKE "\t"
+f1 IN ("xyz%", -10)
+f5 > f4
+f2 NOT CONTAINS "xyz%"
+f5 < 0.0000000001
+f2 BETWEEN -2.7 AND -2.7
+(f4 NOT REGEXP '') OR ((f3 IN (0, ' ', 'O''Reilly', "%wild%")) OR (f3 = 6.02e23))
+f2 IN ()
+f6 NOT LIKE 'O''Reilly'
+f6 IN (,)
+hasAll(f5, .5)
+f5 NOT REGEXP 'O''Reilly'
+f4 != f3
+hasAny(f3, 'O''Reilly')
+f3 = f3
+f5 IN (10)
+f4 > 0
+f3 BETWEEN 'test' AND f6
+has(f2, "hello world")
+(f5 NOT LIKE 'O''Reilly') AND (f4 > "abc")
+f6 IN [1 2 3]
+f5 IN (-1e-10, "xyz%")
+hasAll(f2, 'O''Reilly')
+hasToken(f6, 1e10)
+f1 ILIKE ''
+f5 IN (f3, ' ', f1)
+f4 LIKE ''
+f1 ILIKE "\n"
+f2 =
+has(f4, 3.14)
+(f5 IN ('test')) OR ((f1 = 999999999999) AND (hasToken(f6, -.5)))
+(f3 BETWEEN 'O''Reilly' AND 0) OR (hasAny(f6, .5))
+f5 BETWEEN .5 AND -2.7
+f4 = f6
+f1 < "\t"
+f2 BETWEEN "xyz%" AND f2
+NOT
+hasToken(f2, f4)
+(hasAll(f4, "hello world")) OR (f6 NOT LIKE ' ')
+f2 LIKE 'O''Reilly'
+has(f4, 'O''Reilly')
+(has(f4, ' ')) AND (f6 NOT CONTAINS 'O''Reilly')
+f3 BETWEEN f6 AND f6
+(f5 NOT LIKE "hello world") AND (f6 IN ("%wild%", f3, -.5, "hello world", 'O''Reilly'))
+f1 IN [1 2 3]
+f3 = NULL
+f4 BETWEEN AND "a_b%"
+f1 == f2
+f5 = 'unclosed
+f6 REGEXP 'test'
+f4 BETWEEN -1e-10 AND 3.14
+(f2 = -.5) AND (f4 IN (-10, "%wild%", 1e10, f5, -1e-10))
+(f5 = f2
+()
+f3 BETWEEN "xyz%" AND "\n"
+f2 < -10
+f5 BETWEEN f6 AND 'O''Reilly'
+f5 == f4
+AND f3 = -1
+((f4 BETWEEN -10 AND -1) OR (f4 == f4)) AND (f6 IN (-2.7))
+hasAll(f2, f1)
+f1 BETWEEN 10 AND 1
+f2 = f1)
+f4 == ''
+f4 IN ("abc")
+hasAny(f1, TRUE)
+has(f5, 0)
+f2 BETWEEN f2
+(f2 IN ("\t", f4, .5, -10, -10)) OR (hasToken(f2, ' '))
+f2 LIKE
+f6 NOT CONTAINS 'O''Reilly'
+f5 BETWEEN 0.0000000001 AND 'O''Reilly'
+f1 BETWEEN '' AND 6.02e23
+f6 BETWEEN f2 AND f3
+f1 NOT
+(f4 = 0.0000000001
+f5 LIKE "\t"
+has(f3, "%wild%")
+f3 IN (,)
+f5 =
+(f2 < "%wild%") OR (f5 < '')
+f6 IN (0, .5, 'O''Reilly', "a_b%", "xyz%")
+()
+f5 == "hello world"
+AND f5 = -10
+f2 BETWEEN 10 AND 0.0000000001
+f2 >= "a_b%"
+(f6 < "xyz%") AND ((has(f6, "abc")) OR (f1 >= .5))
+f2 BETWEEN "a_b%" AND ''
+f6 BETWEEN 6.02e23
+AND f6 = f4
+(f1 = -1
+f6 BETWEEN .5
+hasAny(f3, "%wild%")
+f2 IN ("a_b%", .5, "abc", f2)
+f3 NOT LIKE "a_b%"
+f3 >= 0.0000000001
+f2 ILIKE ''
+f6 ILIKE "\n"
+f3 IN (.5, 3.14, TRUE)
+f5 BETWEEN f5 AND -1e-10
+f4 BETWEEN AND 0
+()
+f1 IN ("%wild%", -2.7, -1)
+f4 IN (f2, f1, 'test', f4)
+((hasAny(f1, 0)) OR ((f4 NOT REGEXP ' ') AND (hasAll(f6, -2.7)))) AND (f4 IN (10, f6, f1))
+f3 ILIKE "hello world"
+(f4 BETWEEN "hello world" AND "a_b%") AND (f3 IN (.5, 'test'))
+f2 ILIKE 'O''Reilly'
+f3 =
+f5 <> 0
+f3 <> 'test'
+f5 = f2)
+f2 < .5
+NOT
+f6 > -1
+(f2 IN (-1, 0, "abc", -.5, "\n")) AND ((f4 IN (f5, 1e10)) OR (f2 IN (3.14, 999999999999)))
+f4 <> 1e10
+(hasAny(f4, ' ')) OR (hasAny(f6, 'O''Reilly'))
+f3 LIKE
+f3 BETWEEN f1
+f6 IN (-.5, f4, f5, TRUE)
+f3 < f6
+f1 NOT REGEXP 'O''Reilly'
+f4 NOT CONTAINS "%wild%"
+f3 >= 0.0000000001
+f3 >= TRUE
+f5 BETWEEN 999999999999 AND .5
+()
+f5 <> ''
+f5 BETWEEN "\t" AND 0.0000000001
+f3 BETWEEN "%wild%" AND TRUE
+(f1 = -2.7) OR (f1 ILIKE 'O''Reilly')
+f6 BETWEEN "abc" AND -1
+f4 <= -.5
+f3 IN [1 2 3]
+f2 LIKE
+(f4 REGEXP "%wild%") AND (f4 BETWEEN "hello world" AND f4)
+(hasToken(f2, 1)) OR ((f5 IN (f2)) AND (hasToken(f1, 0.0000000001)))
+f5 NOT LIKE "\t"
+f6 BETWEEN 3.14 AND -2.7
+f4 BETWEEN "abc" AND 3.14
+hasAny(f4, 10)
+f3 NOT
+hasToken(f4, "a_b%")
+AND f2 = f3
+f2 === -1e-10
+hasAny(f4, TRUE)
+f1 IN ('test', "hello world", "a_b%", '')
+f2 BETWEEN 'test' AND 999999999999
+NOT
+f1 NOT REGEXP "%wild%"
+f1 LIKE 'O''Reilly'
+f6 BETWEEN -2.7 AND f3
+f5 >= -3.5e-2
+(f3 BETWEEN 0 AND -1e-10) OR (f4 IN ('O''Reilly', '', "\t", "xyz%", -1e-10))
+f1 BETWEEN 999999999999 AND "hello world"
+hasAny(f1, "\n")
+hasAll(f5, f4)
+f2 <> 3.14
+AND f5 = 6.02e23
+f4 NOT CONTAINS "a_b%"
+f2 <= "\n"
+AND f6 = ' '
+f5 OR OR ' '
+f6 = 'unclosed
+has(f2, 'O''Reilly')
+f3 IN (0, "hello world", -1, "hello world", f4)
+(f3 IN (1)) OR (hasToken(f6, f5))
+(has(f1, '')) AND (hasAny(f6, 1e10))
+()
+f6 BETWEEN 1 AND "%wild%"
+NOT
+f1 IN (f2, -1)
+f6 BETWEEN f6 AND TRUE
+(f3 IN (' ', .5, "%wild%", f3, 3.14)) OR (f1 == 1e10)
+f3 BETWEEN 1 AND -3.5e-2
+f2 BETWEEN AND ''
+f2 IN (-.5, "a_b%", TRUE)
+f3 BETWEEN -1e-10 AND 1e10
+f3 === 3.14
+hasAny(f4, 999999999999)
+f4 = 'unclosed
+f3 LIKE "xyz%"
+(f2 NOT CONTAINS "\n") OR (f5 IN (-1, "a_b%", -2.7, ' '))
+f1 IN (,)
+has(f2, f2)
+(f4 = "%wild%"
+f5 BETWEEN -2.7 AND TRUE
+f5 IN (1, -3.5e-2, f6, -3.5e-2)
+f5 OR OR 3.14
+f4 BETWEEN 0 AND 6.02e23
+f3 BETWEEN 'O''Reilly' AND 3.14
+f4 BETWEEN 3.14 AND "abc"
+has(f3, f4)
+f4 <= 999999999999
+(f6 = "a_b%"
+hasAll(f3)
+f5 IN ("\t")
+f6 IN ()
+(f2 REGEXP 'O''Reilly') OR ((f3 <= 1e10) AND (f6 NOT LIKE ' '))
+f3 IS NULL
+(f4 LIKE 'O''Reilly') OR (f6 IN (f2))
+f6 NOT REGEXP ''
+f1 = 'unclosed
+hasToken(f6, f1)
+f1 IN (f5)
+f5 > "xyz%"
+(f5 < 1e10) OR (f4 IN (f2))
+(hasAll(f1, -1)) OR (f2 BETWEEN 3.14 AND -2.7)
+f6 BETWEEN f5 AND f1
+AND f3 = "abc"
+(f4 == "%wild%") OR (f4 LIKE "hello world")
+f3 BETWEEN AND 3.14
+f2 CONTAINS 'O''Reilly'
+f3 BETWEEN f6 AND -1
+f6 BETWEEN 'test' AND "hello world"
+f1 BETWEEN TRUE AND -.5
+f5 NOT REGEXP "xyz%"
+f6 > 0.0000000001
+f6 IN (f3, TRUE, "%wild%", "\n", f4)
+f1 = 'unclosed
+f6 BETWEEN "\n" AND "xyz%"
+(f6 >= ' ') AND (f6 BETWEEN '' AND 'O''Reilly')
+f4 IN (1, 6.02e23, -3.5e-2, ' ')
+f1 REGEXP ''
+f4 BETWEEN -.5 AND "\n"
+f1 <= 999999999999
+f5 < 1e10
+f6 LIKE
+((hasToken(f5, 0.0000000001)) OR (f4 REGEXP ' ')) AND (f4 BETWEEN 'test' AND 0)
+f4 IN (-2.7, "\n")
+f4 CONTAINS 'test'
+hasAny(f2, f6)
+f5 =
+(hasAny(f5, -3.5e-2)) OR (f6 IN (1e10, f4))
+has(f2)
+f2 ILIKE ' '
+f5 > -3.5e-2
+(f6 = TRUE) OR (f1 CONTAINS 'O''Reilly')
+f5 OR OR 'test'
+hasToken(f6, f1)
+hasAny(f1)
+f2 BETWEEN f3
+f3 NOT CONTAINS 'O''Reilly'
+hasAny(f1, 6.02e23)
+f2 > ''
+f6 IN ('O''Reilly', f4)
+(f6 BETWEEN -.5 AND 6.02e23) OR (f3 NOT ILIKE "abc")
+f5 === 0
+f6 === "a_b%"
+f1 NOT LIKE "a_b%"
+f2 BETWEEN 6.02e23 AND "hello world"
+((f4 IN (0, 0.0000000001, -1e-10, '')) AND (f6 NOT LIKE "a_b%")) AND (f5 IN (3.14, 10, f2, "abc", "abc"))
+((f2 BETWEEN f3 AND 1e10) AND (hasAll(f3, 3.14))) AND ((f5 BETWEEN 'O''Reilly' AND 10) AND (f2 BETWEEN f4 AND f3))
+f3 == -1e-10
+f1 NOT CONTAINS 'test'
+hasToken(f2, 'O''Reilly')
+has(f4, f2)
+NOT
+f6 IN ("xyz%", "abc", "%wild%")
+hasAll(f5, f2)
+f4 BETWEEN 0 AND "a_b%"
+f5 IS NULL
+(f2 BETWEEN -2.7 AND 0.0000000001) AND (f5 IN ("a_b%", f4, -2.7))
+hasAny(f2, "a_b%")
+f2 ILIKE "\n"
+f5 IN (TRUE, "hello world", 0.0000000001, "xyz%")
+f3 IN ('O''Reilly', "%wild%")
+(f3 CONTAINS "\n") OR (f1 CONTAINS "abc")
+f3 OR OR 999999999999
+f4 NOT REGEXP ''
+f2 BETWEEN f6 AND f2
+f1 = NULL
+hasToken(f5, 10)
+(f5 IN (f2, 'test', .5)) OR (f6 BETWEEN -10 AND "a_b%")
+f6 BETWEEN -1e-10
+(hasAll(f5, 1)) AND (f6 > '')
+f4 = 'unclosed
+(f5 IN (-.5)) AND ((f4 NOT CONTAINS "abc") AND (has(f3, f1)))
+()
+hasToken(f1, -1e-10)
+f6 IN [1 2 3]
+hasToken(f6, 1)
+f1 IN ("\n", 1, 0, 0.0000000001, "a_b%")
+f2 IN ("a_b%", f3, -1e-10, ' ', 6.02e23)
+f2 BETWEEN 'O''Reilly' AND 1e10
+has(f5, -.5)
+f3 > 0.0000000001
+f3 BETWEEN -3.5e-2 AND f1
+f2 IS NULL
+(f6 = -1e-10
+f1 != f6
+f6 = 'unclosed
+f5 > f4
+f4 = 0
+f4 NOT LIKE "a_b%"
+f1 IN ('O''Reilly', 0.0000000001, 3.14, "\n")
+NOT
+(f1 <> 'test') OR (hasAny(f4, TRUE))
+hasAny(f2, '')
+f1 BETWEEN 'O''Reilly'
+f3 = f4
+f4 BETWEEN -1 AND "\n"
+f6 IN ()
+f4 CONTAINS ''
+has(f6, 'O''Reilly')
+f2 IN ('', -2.7, f4)
+hasAny(f2, 0.0000000001)
+f2 BETWEEN 3.14 AND -2.7
+f5 IN ("abc")
+f6 BETWEEN 'O''Reilly' AND "%wild%"
+f6 REGEXP "hello world"
+f6 IN (-1, "\n")
+f2 BETWEEN 0 AND 6.02e23
+f2 BETWEEN "\t" AND "a_b%"
+f4 NOT REGEXP 'test'
+hasToken(f4, 999999999999)
+f5 IN (.5, "hello world", f6, "%wild%")
+f3 BETWEEN "%wild%" AND f5
+f4 LIKE
+f1 NOT LIKE ''
+f3 BETWEEN 'O''Reilly' AND f2
+f5 != "\t"
+()
+f6 BETWEEN -3.5e-2 AND ''
+((hasAny(f2, f1)) AND (f1 IN ('test', "\n", TRUE, f4))) OR (f2 IN (0, -10, "xyz%"))
+(f6 BETWEEN -10 AND 10) OR (f2 BETWEEN f4 AND -3.5e-2)
+hasToken(f2)
+f3 BETWEEN 999999999999
+f5 < -2.7
+f5 BETWEEN .5
+hasToken(f1)
+f6 > "abc"
+NOT
+(f1 IN (-2.7)) OR (f5 BETWEEN f5 AND 0.0000000001)
+(f6 >= "\n") OR (f5 == -2.7)
+f2 > TRUE
+f6 = 'unclosed
+f6 > -2.7
+f1 NOT CONTAINS 'O''Reilly'
+(f2 IN (f2, 10, "a_b%")) OR ((f2 IN ("a_b%", "\t")) OR (f4 BETWEEN 3.14 AND "%wild%"))
+hasAny(f6, "a_b%")
+f1 = NULL
+f3 ILIKE "hello world"
+f2 < f6
+hasAny(f3, "\t")
+f2 == 3.14
+(f2 IN (' ', "\t", -.5)) OR (f6 < 3.14)
+f4 BETWEEN -1 AND "abc"
+(f4 <> 0.0000000001) AND (f4 BETWEEN 999999999999 AND 6.02e23)
+f1 BETWEEN f4 AND f2
+hasAny(f5, TRUE)
+hasToken(f5, "\n")
+(f4 IN ('', "abc", "a_b%")) OR (f6 != "a_b%")
+()
+f2 === 10
+f5 LIKE "a_b%"
+(f6 > -10) OR (has(f3, f5))
+f4 BETWEEN 999999999999 AND f2
+(f3 IN (f6, TRUE)) AND (hasAll(f6, 0))
+f1 === -10
+(f1 = "\n"
+f3 BETWEEN 1e10 AND -2.7
+f6 BETWEEN f1 AND "xyz%"
+f3 BETWEEN "\t" AND -1e-10
+(f3 >= -2.7) OR (f5 = 10)
+f2 = 0
+f3 LIKE "\n"
+f2 <> f5
+f3 BETWEEN -2.7 AND 6.02e23
+hasToken(f2, 1e10)
+f1 LIKE ''
+f1 = 'unclosed
+hasToken(f3, "\n")
+(f1 = f5
+f4 == 3.14
+f5 IN ("\t", -1e-10, 'test', "a_b%", -.5)
+f3 BETWEEN f1 AND "\t"
+f4 = f5
+hasToken(f4, 'O''Reilly')
+f6 IN (-1)
+f3 != "a_b%"
+has(f1, 'O''Reilly')
+f5 IN (f1)
+hasAll(f2, -1)
+f1 IN [1 2 3]
+f1 <= 999999999999
+(f1 = 0.0000000001
+f5 BETWEEN "abc" AND "xyz%"
+f4 NOT
+f2 IN ()
+f2 >= -10
+f2 IN ("\t", 'test', 'test')
+has(f3, .5)
+f1 BETWEEN f5 AND -1e-10
+f4 >= -2.7
+f4 != 3.14
+f1 = 'unclosed
+f6 IS NULL
+(f4 ILIKE 'O''Reilly') AND (f2 BETWEEN -1e-10 AND "%wild%")
+f1 NOT CONTAINS "xyz%"
+NOT
+hasAny(f6, "a_b%")
+f1 BETWEEN 0.0000000001 AND 0
+hasToken(f1, .5)
+hasToken(f6)
+hasAll(f3, f3)
+f4 BETWEEN '' AND 0.0000000001
+(f4 BETWEEN "xyz%" AND -3.5e-2) OR ((f3 ILIKE "abc") OR (f6 NOT ILIKE "%wild%"))
+(f4 BETWEEN TRUE AND TRUE) OR ((f4 NOT CONTAINS "a_b%") OR (f6 IN (-.5, 999999999999, "abc", 999999999999)))
+hasAll(f2, f3)
+f3 REGEXP 'test'
+f1 NOT CONTAINS 'O''Reilly'
+f5 === -1e-10
+f1 = 6.02e23)
+f6 BETWEEN -.5 AND f5
+has(f5, -2.7)
+AND f1 = 0
+f3 IN (,)
+hasAny(f2, -3.5e-2)
+hasToken(f5, -3.5e-2)
+(((f6 != f2) AND (f2 <= f4)) OR (f2 LIKE "\n")) OR (f5 ILIKE ' ')
+(f4 = -.5
+f1 === 'test'
+f2 IN ("hello world", 1, f5, "a_b%", -3.5e-2)
+f6 BETWEEN 'O''Reilly' AND "xyz%"
+f3 LIKE 'O''Reilly'
+((f5 IN (-.5)) AND ((f3 <= -1e-10) OR (f4 LIKE "\t"))) OR ((f3 IN (f1, TRUE, "%wild%", -.5, ' ')) OR (hasToken(f2, 'test')))
+f6 NOT LIKE "\t"
+f5 IN ()
+f1 BETWEEN -10 AND 0
+(hasAny(f1, f3)) OR ((has(f1, -.5)) AND ((f1 BETWEEN 3.14 AND 0) OR ((f2 = 3.14) OR (f3 <> f4))))
+f6 =
+f3 BETWEEN 6.02e23 AND -1e-10
+(f2 BETWEEN "a_b%" AND 0.0000000001) AND (f6 REGEXP "\n")
+(f4 BETWEEN "xyz%" AND ' ') AND (hasAll(f1, 'test'))
+f1 =
+f6 = NULL
+f4 IN (-1e-10, 0.0000000001, -3.5e-2)
+f4 IN (f3, "a_b%", "\t", f3)
+(f4 = -.5
+f6 = 'unclosed
+f4 ILIKE 'O''Reilly'
+f4 <= -3.5e-2
+hasAny(f3, -1e-10)
+(f4 ILIKE ' ') AND (f1 IN ("a_b%"))
+hasAny(f3, "abc")
+f2 CONTAINS ' '
+f6 IN ("%wild%", 'O''Reilly')
+f5 NOT LIKE "\n"
+f3 IN (-.5, '', f4)
+f3 CONTAINS 'test'
+f6 IN ("a_b%", f4)
+f5 = NULL
+f3 == "\n"
+f5 = 'unclosed
+f3 OR OR 0.0000000001
+f4 IN (,)
+(hasAll(f5, "abc")) OR (f6 LIKE 'O''Reilly')
+f3 BETWEEN 1 AND 1
+f1 NOT REGEXP ' '
+f2 NOT
+hasAll(f4, -3.5e-2)
+f1 IN (10)
+(f5 = f1
+hasAll(f1, "a_b%")
+has(f1, -.5)
+f2 != -2.7
+(f3 > "%wild%") AND (f3 NOT LIKE ' ')
+f5 <= "\t"
+hasAny(f1, f2)
+f2 IN (10, 1)
+(f1 LIKE 'test') AND (f2 BETWEEN f6 AND "a_b%")
+(f1 REGEXP ' ') AND (((has(f1, -1e-10)) AND (f2 BETWEEN f5 AND 0)) OR ((hasAny(f3, "\t")) AND (f5 BETWEEN 0 AND 'test')))
+f5 IN (-3.5e-2, -1e-10, "xyz%", "%wild%")
+f4 IN ('test')
+f5 CONTAINS 'test'
+f4 == 999999999999
+hasAll(f6, 999999999999)
+f3 IN (,)
+f3 BETWEEN 999999999999 AND f5
+f4 IN ()
+f1 = 0
+f1 = 'unclosed
+f6 IN (,)
+f2 NOT LIKE "\t"
+(f2 LIKE "xyz%") AND ((f5 REGEXP 'O''Reilly') AND ((f1 ILIKE 'test') AND (f6 CONTAINS "abc")))
+f4 CONTAINS "hello world"
+f5 NOT
+f2 IN (,)
+hasToken(f3, f4)
+f6 IN (6.02e23, "a_b%", ' ')
+hasAll(f4, f3)
+f3 BETWEEN f1
+()
+(hasAny(f2, "\t")) AND (f1 LIKE '')
+f3 != 0.0000000001
+f4 IN ("a_b%")
+f5 IN ("\t", 0.0000000001, ' ', TRUE)
+f2 >= 6.02e23
+(f2 = 'O''Reilly'
+f5 BETWEEN -2.7 AND -1e-10
+f3 == 999999999999
+(f3 >= .5) OR (f6 IN (0, 'O''Reilly', "%wild%", "\n"))
+f4 IN (f4, -1, f5, -1, f5)
+f3 >= "\n"
+f1 = NULL
+f1 <> -2.7
+(f5 BETWEEN f4 AND -1) OR (f5 IN (999999999999, TRUE, -2.7, 0))
+has(f6, f6)
+hasToken(f2, "hello world")
+f5 LIKE 'O''Reilly'
+(f2 NOT CONTAINS 'O''Reilly') AND (f3 > f1)
+f1 BETWEEN -1e-10 AND f4
+f4 != "\n"
+f2 BETWEEN "%wild%" AND f5
+f6 NOT LIKE "xyz%"
+f6 BETWEEN 1 AND f2
+(f6 > -2.7) OR (f1 REGEXP "%wild%")
+f1 NOT LIKE "xyz%"
+(f4 NOT ILIKE "hello world") AND (f2 == 1e10)
+f6 NOT REGEXP ''
+f6 != TRUE
+f2 <> 6.02e23
+(f1 NOT REGEXP "abc") AND (f5 < 0)
+f3 BETWEEN "abc" AND f4
+AND f2 = f4
+has(f2, f4)
+f5 != "abc"
+f6 NOT REGEXP 'test'
+(f4 = -1e-10
+f6 BETWEEN -.5 AND f4
+hasAny(f4, "abc")
+f4 IN (f1)
+f1 NOT LIKE "hello world"
+f1 IN (,)
+f4 BETWEEN f4
+has(f6, "xyz%")
+f3 IN (f6, 0.0000000001, "a_b%", "a_b%", "abc")
+f3 IN ("%wild%", TRUE)
+hasAny(f4, -.5)
+f6 IN (,)
+f5 BETWEEN "%wild%" AND 1e10
+f4 NOT
+f1 IN ("\t", 0, -10, -1e-10)
+f3 = NULL
+f4 CONTAINS "a_b%"
+f1 BETWEEN '' AND 10
+f3 == "hello world"
+f6 <= 999999999999
+(f1 == "%wild%") OR (f4 IN (0.0000000001, 0.0000000001))
+hasAll(f3, "abc")
+hasAll(f5, 0.0000000001)
+f2 LIKE "hello world"
+(f4 IN (-2.7)) AND (f2 NOT ILIKE ' ')
+f2 BETWEEN "hello world" AND -2.7
+(f5 CONTAINS ' ') AND (f1 BETWEEN 3.14 AND TRUE)
+f2 CONTAINS "\n"
+NOT
+f5 NOT ILIKE "a_b%"
+f5 <= -3.5e-2
+(f2 = 'test'
+f1 NOT ILIKE "\t"
+f6 LIKE "%wild%"
+f4 IN (f5)
+f4 NOT LIKE "%wild%"
+f3 BETWEEN '' AND "xyz%"
+f2 BETWEEN -1e-10 AND -1
+NOT
+f4 IN (,)
+f2 == 10
+(f5 IN (f1, -3.5e-2, "abc", 1)) AND (has(f6, -10))
+f3 =
+f3 BETWEEN f6 AND 1
+f4 != -3.5e-2
+f2 BETWEEN "abc" AND ''
+f4 IN (f3, 1e10)
+(f6 BETWEEN -1 AND -10) OR (f1 BETWEEN 'test' AND f3)
+f6 CONTAINS ''
+f5 NOT CONTAINS "\t"
+f3 = 'unclosed
+f3 IN (TRUE)
+f3 IN ("a_b%")
+f2 <= 6.02e23
+hasAny(f6, 'O''Reilly')
+f1 BETWEEN 0.0000000001 AND f2
+f4 NOT CONTAINS "a_b%"
+f4 BETWEEN AND -.5
+f6 CONTAINS "xyz%"
+f5 IN (f4, -1, f4, -10, ' ')
+f5 IN (0, -2.7)
+(f1 IN (f6)) AND ((f1 IN ("\t", "%wild%", f3, ' ')) OR (f3 IN (.5)))
+f4 NOT
+f1 BETWEEN "\n" AND "hello world"
+f1 < 0
+f2 IN ()
+f3 >= -10
+f6 BETWEEN f5 AND .5
+f3 NOT REGEXP ' '
+f3 = NULL
+hasToken(f3, "\t")
+hasAll(f3, -2.7)
+f5 = '')
+f5 NOT REGEXP 'O''Reilly'
+f5 BETWEEN f4 AND -10
+f1 OR OR f4
+f4 BETWEEN f5 AND "\t"
+f4 NOT ILIKE 'O''Reilly'
+f3 BETWEEN -3.5e-2 AND "a_b%"
+f1 == 3.14
+f1 === f5
+f3 IN (3.14, -1, -3.5e-2)
+f3 = NULL
+has(f3, 'test')
+f5 REGEXP "hello world"
+(f4 <> 'test') AND (f3 ILIKE ' ')
+f3 = 'unclosed
+f6 BETWEEN 6.02e23 AND -1
+hasAny(f1, -2.7)
+f2 = f1)
+(((f6 IN (f4, -1)) OR (f4 BETWEEN -1e-10 AND ' ')) AND (f1 < "\n")) AND (f4 CONTAINS "a_b%")
+f6 IN ("a_b%", 1e10, 0, -3.5e-2)
+f4 = NULL
+f2 =
+hasAny(f2, 6.02e23)
+((f5 IN (-1e-10, f1, -1, f3)) OR (has(f4, 'test'))) OR (f4 == f4)
+hasAny(f4)
+hasToken(f3, "xyz%")
+f1 BETWEEN 0.0000000001 AND f2
+f4 = -10
+f3 LIKE
+f4 = NULL
+f6 BETWEEN "xyz%" AND -3.5e-2
+(f2 CONTAINS 'test') AND (f1 IN ('O''Reilly', -10, -10))
+f1 LIKE
+has(f4, f4)
+f1 IN (3.14, ' ', 1e10)
+f5 BETWEEN "xyz%" AND 1
+f5 OR OR -3.5e-2
+f4 NOT LIKE ''
+(f4 = f5
+f2 IN (-1)
+f5 > 1
+NOT
+f5 != f4
+hasAll(f6, .5)
+f6 > "abc"
+f3 LIKE "xyz%"
+f6 IN ("xyz%", "\n")
+f3 = 'O''Reilly')
+f3 IN (3.14, -.5)
+f5 === .5
+hasAny(f1, 10)
+has(f5, 'O''Reilly')
+f6 NOT
+f1 BETWEEN -2.7 AND 0
+f1 NOT CONTAINS "a_b%"
+f3 != "abc"
+f2 BETWEEN -2.7 AND 1
+(f2 BETWEEN f6 AND "abc") OR (f6 < -1e-10)
+f1 BETWEEN f1 AND 999999999999
+f2 REGEXP "a_b%"
+hasAll(f4, "hello world")
+f6 <= "xyz%"
+f1 NOT LIKE "%wild%"
+((has(f2, "abc")) AND ((f2 BETWEEN -1 AND -10) OR (f2 BETWEEN "hello world" AND .5))) AND ((((f4 == "%wild%") AND (f4 != 6.02e23)) AND (f3 IN ("\n", "hello world", f2, -1e-10))) AND (f4 BETWEEN ' ' AND -1e-10))
+f6 = 0)
+f1 >= 'test'
+f3 != 'test'
+f1 NOT CONTAINS ''
+f3 REGEXP "\t"
+f6 BETWEEN "hello world" AND f4
+(f3 = "abc"
+hasAny(f5, .5)
+f5 IN (-2.7, "hello world", 'O''Reilly')
+f1 == "abc"
+f3 IN [1 2 3]
+f2 ILIKE "xyz%"
+(f6 IN (-1e-10, "\t", ' ')) AND (f4 NOT ILIKE 'test')
+f3 IN ("abc", "%wild%", f5, 0.0000000001)
+has(f1, -2.7)
+f2 BETWEEN TRUE AND -1
+f5 NOT LIKE "xyz%"
+hasAny(f4, 0.0000000001)
+f3 BETWEEN -2.7 AND -1
+has(f4, "hello world")
+f2 NOT LIKE "a_b%"
+f5 =
+f4 =
+f3 IN (-3.5e-2, 1, -2.7, 1)
+f2 BETWEEN -3.5e-2 AND 0.0000000001
+(f2 BETWEEN -1e-10 AND -.5) OR (f1 NOT CONTAINS 'test')
+f1 <> ''
+f6 IN (6.02e23, -10, -3.5e-2, f4)
+f3 BETWEEN -1 AND 1e10
+f1 NOT LIKE "hello world"
+f4 BETWEEN -2.7 AND f1
+f3 BETWEEN "%wild%" AND f2
+hasAny(f5, f2)
+hasAll(f4, "a_b%")
+f6 BETWEEN 1 AND -1e-10
+f5 NOT CONTAINS "xyz%"
+NOT
+f2 BETWEEN "abc" AND 10
+has(f5, "abc")
+f3 == "xyz%"
+hasAny(f2, -1)
+f2 BETWEEN 0.0000000001 AND 3.14
+has(f4, f1)
+hasAll(f1, f3)
+f3 IN (-1)
+f1 = NULL
+f1 LIKE
+f5 = NULL
+f2 != 'test'
+f3 <= f4
+f4 LIKE "abc"
+f6 < "abc"
+(f3 < 6.02e23) OR (f5 NOT LIKE 'test')
+f5 IN ("a_b%", '')
+f3 IN ("\n", -1)
+f6 >= 10
+f4 BETWEEN f3 AND ' '
+f1 NOT
+(f1 = "abc"
+f5 BETWEEN -10 AND "\t"
+f6 BETWEEN -10 AND 6.02e23
+hasAll(f6, -3.5e-2)
+((f4 IN (-3.5e-2, 1, "abc")) OR ((f6 IN (f1, 999999999999, -2.7, 'O''Reilly', "xyz%")) AND (f1 CONTAINS 'O''Reilly'))) OR (f3 BETWEEN '' AND 'test')
+f1 =
+f4 REGEXP "%wild%"
+NOT
+f3 IN (f3, 10)
+f1 IN (10, 'test', "abc")
+f2 BETWEEN ' ' AND -1e-10
+f3 IS NULL
+(hasAny(f1, "abc")) AND ((f4 BETWEEN 999999999999 AND -.5) OR ((f1 BETWEEN TRUE AND -1) AND (f5 >= "a_b%")))
+f1 =
+f4 IN (-.5)
+f5 LIKE
+f4 IN (,)
+f5 < -2.7
+f2 BETWEEN "\t" AND f4
+f5 != TRUE
+(f5 BETWEEN f6 AND 6.02e23) AND (f4 BETWEEN "hello world" AND "%wild%")
+f1 < -1
+(f5 BETWEEN TRUE AND -1) OR ((f2 IN ("\t", f1, f1, -1)) AND (f6 != f1))
+f1 =
+(f3 <> -2.7) AND (f3 BETWEEN "%wild%" AND ' ')
+f5 ILIKE "%wild%"
+f6 NOT CONTAINS "%wild%"
+()
+hasAny(f4, "%wild%")
+f6 ILIKE "%wild%"
+f6 BETWEEN '' AND .5
+(f6 LIKE "\n") AND (has(f3, 'test'))
+f1 BETWEEN f2 AND "xyz%"
+f4 BETWEEN TRUE AND "\n"
+AND f6 = f3
+f3 = f6
+f5 = 6.02e23)
+hasToken(f1, 1)
+f4 = 'unclosed
+(hasAny(f5, "a_b%")) OR ((has(f2, 'test')) AND (f4 IN (6.02e23)))
+f5 NOT
+hasToken(f4, ' ')
+f2 = f4
+(f1 = -1e-10
+f5 BETWEEN 'O''Reilly' AND f6
+f1 != f4
+(f1 = 10
+f1 <> "%wild%"
+f1 BETWEEN "hello world"
+f2 NOT ILIKE "\n"
+f6 = NULL
+hasToken(f3, -3.5e-2)
+f2 CONTAINS "%wild%"
+hasAll(f2, 1)
+f6 >= f4
+f1 = 'unclosed
+f1 BETWEEN -.5 AND "a_b%"
+f2 BETWEEN ' ' AND "\t"
+hasToken(f1, 0)
+f6 BETWEEN -2.7 AND 3.14
+f4 == 0.0000000001
+f2 = 'unclosed
+f6 < 'O''Reilly'
+f6 != "a_b%"
+f3 LIKE "xyz%"
+f1 IN (f2, 999999999999)
+f4 >= -2.7
+f4 = NULL
+f5 IS NULL
+f2 NOT ILIKE "xyz%"
+f2 IN [1 2 3]
+(f6 NOT LIKE ' ') OR ((f4 NOT ILIKE "%wild%") AND (f3 = "\n"))
+f6 != 1e10
+f3 IN (3.14, "\t")
+(f3 >= -2.7) OR (f5 ILIKE "xyz%")
+f1 BETWEEN -.5 AND "a_b%"
+f5 LIKE ''
+(f4 BETWEEN 'test' AND 1) AND (f1 BETWEEN "%wild%" AND -1)
+()
+(f3 IN (f6, f3, -1, f2)) AND (f2 IN ("\t", f2))
+f5 BETWEEN 1e10 AND 1
+()
+hasToken(f5, f6)
+f2 BETWEEN "a_b%" AND -1e-10
+((f6 IN (0, "\t", 1e10, "abc", '')) AND ((f6 > "\n") OR ((f3 >= -1) AND (f6 == -3.5e-2)))) OR (hasAll(f2, ''))
+f5 BETWEEN "\t" AND f3
+f2 BETWEEN ' ' AND 'test'
+f6 BETWEEN -.5 AND "hello world"
+f2 === "%wild%"
+f6 IN (1e10, "%wild%", "\n", -3.5e-2)
+f2 LIKE
+f3 NOT REGEXP "abc"
+has(f4)
+f6 IN (.5, f6, -10, .5, f4)
+f1 BETWEEN -1e-10 AND "%wild%"
+f1 IN ('')
+f1 IN ('test', f3, -2.7)
+f2 IN (999999999999)
+f5 IN (TRUE, f4)
+hasAny(f1, f1)
+f1 IN ("hello world")
+NOT
+hasToken(f1)
+f5 BETWEEN "%wild%"
+f5 = NULL
+hasAll(f3, "%wild%")
+f3 NOT REGEXP "\n"
+hasAll(f2, .5)
+f6 IN (,)
+f5 BETWEEN 0.0000000001 AND -10
+f2 = NULL
+f6 BETWEEN f1 AND 1e10
+f3 IN ("\n", "\n", f5)
+(f4 NOT CONTAINS 'O''Reilly') OR (f6 BETWEEN 0 AND -.5)
+hasAny(f6, '')
+f5 <> 1e10
+f6 != -1e-10
+f2 IN ()
+f3 NOT CONTAINS "hello world"
+hasAll(f4, 1)
+f4 NOT LIKE "\t"
+f3 BETWEEN f4 AND f3
+(hasAll(f6, f4)) AND (f2 LIKE "a_b%")
+f5 >= "\n"
+f5 === "\t"
+(f4 BETWEEN 999999999999 AND 1e10) AND (f2 IN (6.02e23, 999999999999))
+f1 BETWEEN f1 AND "a_b%"
+hasAll(f1, "abc")
+f2 BETWEEN -3.5e-2 AND "a_b%"
+(hasAny(f5, "a_b%")) OR (f4 IN (f5))
+f6 NOT CONTAINS 'test'
+f3 NOT ILIKE "abc"
+f3 IN (f5, .5, 1e10, f2, f2)
+hasToken(f2, -10)
+f2 IN (f3, f5, .5, 999999999999, f5)
+f2 IN ("abc", -.5, 6.02e23, 1, -2.7)
+f4 IN (-1e-10)
+f3 >= f3
+hasToken(f5, ' ')
+((f6 IN (' ', 1e10, "abc", "\t", 10)) AND (f1 BETWEEN "hello world" AND 'O''Reilly')) AND (f6 NOT LIKE "\n")
+f5 =
+NOT
+has(f2, TRUE)
+AND f1 = f5
+f1 BETWEEN f3 AND TRUE
+(f1 == .5) AND (f4 NOT LIKE "hello world")
+f1 = 'unclosed
+hasToken(f2, "\n")
+hasAny(f1, f3)
+(hasAny(f1, 'test')) AND (f1 < 1)
+(f6 = 6.02e23
+hasAll(f2, ' ')
+f6 = 999999999999
+hasAll(f5, -.5)
+f5 = 'unclosed
+f5 IN ('', "\n", 'O''Reilly')
+f2 BETWEEN AND 999999999999
+f5 IN (f4, 0.0000000001)
+f1 IN (10, f2)
+f4 <= 1
+f2 BETWEEN 'test' AND -2.7
+f2 IN (0.0000000001)
+f1 IN (10, .5)
+f4 IN (f2, '', f1, 'O''Reilly')
+f4 IN (' ', '', 'test', f1, 1e10)
+f3 BETWEEN AND f4
+f5 == -1
+(has(f2, f2)) OR (f1 IN (-3.5e-2, f1, -1, 0))
+(f4 IN (6.02e23)) AND ((f6 IN (f3)) AND (f5 BETWEEN -1 AND TRUE))
+f1 BETWEEN f3 AND 0.0000000001
+f3 > "hello world"
+f4 BETWEEN 1e10 AND .5
+f1 <= 1e10
+hasAll(f6, f2)
+f5 REGEXP ' '
+f5 = "%wild%"
+(hasAny(f4, f2)) OR (f4 CONTAINS "hello world")
+hasAny(f1, -.5)
+f1 LIKE "abc"
+f4 BETWEEN AND TRUE
+f6 NOT CONTAINS "xyz%"
+f1 IN ()
+f1 BETWEEN "xyz%" AND f6
+hasToken(f3, "\t")
+(f5 = .5
+(f4 <= -2.7) AND (f4 BETWEEN 'test' AND 10)
+hasAny(f3, 0.0000000001)
+f3 NOT
+f6 ILIKE "abc"
+f5 >= -3.5e-2
+f1 ILIKE "\t"
+f6 < -2.7
+f5 =
+hasAll(f5, f6)
+f5 <= "xyz%"
+f2 BETWEEN .5 AND f2
+f3 =
+f4 >= "a_b%"
+f2 <> "\n"
+f5 IN (3.14, 3.14, -3.5e-2, f6)
+f6 NOT
+f2 IN ("xyz%")
+f1 = NULL
+(hasAll(f2, "\n")) OR (f4 <= 1e10)
+f5 <= 'test'
+f4 IN (,)
+f1 ILIKE ''
+f2 ILIKE "a_b%"
+f6 BETWEEN TRUE AND "hello world"
+f1 BETWEEN f6 AND 0.0000000001
+f5 NOT ILIKE "\n"
+f2 REGEXP "%wild%"
+has(f4, f1)
+f1 < -10
+f5 <> ' '
+hasAny(f6, 999999999999)
+f2 <> f4
+f3 != "abc"
+f3 IN (f6, -2.7, "\t", "%wild%", 1)
+f3 BETWEEN "xyz%"
+f6 BETWEEN 'test' AND "hello world"
+hasToken(f4, -10)
+((hasAll(f2, -1)) AND (f4 ILIKE "xyz%")) OR (f4 < TRUE)
+f2 > 1e10
+(f6 = 'O''Reilly'
+(f3 IN ("xyz%", "a_b%", 10, .5, .5)) AND (((f6 >= '') AND ((f6 = ' ') AND (f1 >= 3.14))) OR ((f2 <= 999999999999) OR (f2 IN (-.5, -2.7, f6, "xyz%"))))
+hasToken(f1, f5)
+f5 < -.5
+hasAny(f3, 10)
+f4 REGEXP ''
+f4 CONTAINS "abc"
+f3 ILIKE "abc"
+f3 IN (,)
+(f2 = ''
+f2 OR OR -2.7
+f1 <= -3.5e-2
+f1 IN (,)
+f5 IN ("\n")
+f2 < -2.7
+hasToken(f3, 10)
+has(f1, f4)
+f4 NOT CONTAINS ''
+f2 > f2
+AND f1 = f2
+f1 BETWEEN 999999999999 AND "xyz%"
+f3 NOT ILIKE "%wild%"
+hasToken(f6, 10)
+f6 IN ('', "xyz%")
+f2 NOT
+(f3 IN ('test', f3, "%wild%")) AND (f1 BETWEEN .5 AND -.5)
+has(f2)
+((f4 BETWEEN -3.5e-2 AND 1) AND (hasToken(f5, -3.5e-2))) AND (f3 LIKE "\t")
+f5 <= "abc"
+f3 NOT
+f3 BETWEEN 0.0000000001 AND 'O''Reilly'
+((hasToken(f1, f2)) OR (has(f3, f1))) OR (f3 BETWEEN "xyz%" AND "xyz%")
+f3 = 'unclosed
+has(f1, "a_b%")
+hasAny(f1, f3)
+f5 IN [1 2 3]
+f1 REGEXP ' '
+f4 IN (-1, 3.14)
+f5 === 1e10
+f5 BETWEEN -2.7 AND 6.02e23
+f6 IN [1 2 3]
+f2 BETWEEN 6.02e23 AND .5
+f1 != 0.0000000001
+f1 == "\n"
+f1 LIKE "abc"
+((((f1 = 3.14) OR (f2 > "\n")) AND (f1 IN ('test', "a_b%"))) AND ((has(f5, f4)) OR (f5 ILIKE 'test'))) OR (f4 IN ("a_b%", -2.7, -1, 0, -1e-10))
+f4 <= 1e10
+f3 IN ("\n", f2, -10, "%wild%", 1)
+(f1 = -10
+(f3 = "a_b%"
+hasToken(f3, -1)
+f3 <> f1
+f3 BETWEEN 6.02e23 AND "\n"
+hasToken(f5, -3.5e-2)
+f1 NOT ILIKE ''
+has(f5, f4)
+((hasAll(f1, 1)) OR (hasAny(f4, ''))) OR (f5 >= "\n")
+hasAny(f2, 1)
+()
+f5 LIKE
+f3 NOT LIKE "\t"
+f3 CONTAINS "\n"
+f1 != "hello world"
+(f2 CONTAINS 'O''Reilly') AND (f2 BETWEEN f4 AND "%wild%")
+f4 = "xyz%"
+f3 IN (-2.7, ' ')
+f4 IN ("a_b%")
+has(f2, 6.02e23)
+f4 IN (1)
+f1 === 0.0000000001
+f3 BETWEEN f4 AND 1e10
+hasAll(f5, "hello world")
+f4 != -3.5e-2
+(f1 BETWEEN -.5 AND TRUE) AND (f5 NOT REGEXP "abc")
+f3 = 3.14
+f1 IN (1e10, f3, -2.7, 3.14, "a_b%")
+f6 = ''
+f1 ILIKE 'test'
+f1 CONTAINS "\n"
+f1 >= "xyz%"
+f6 = f3)
+hasToken(f2, ' ')
+f3 IN (.5, TRUE, 3.14, f6)
+f4 BETWEEN AND -1e-10
+hasToken(f6, 0.0000000001)
+f4 < 999999999999
+(f6 = TRUE
+()
+hasAny(f3, "a_b%")
+f4 IS NULL
+(f6 = 3.14
+has(f2, -1)
+f3 IN (-1)
+(((f2 == 3.14) AND (f5 CONTAINS "xyz%")) AND (f3 BETWEEN 'test' AND f2)) OR (f6 != -3.5e-2)
+f6 NOT REGEXP 'test'
+f6 IN (1e10)
+f1 = -3.5e-2)
+f6 IN [1 2 3]
+(f1 IN ('test', -1, f5, -2.7)) OR ((f4 BETWEEN 10 AND ' ') OR ((f6 BETWEEN -10 AND 10) AND (f3 NOT ILIKE 'O''Reilly')))
+f1 = 999999999999)
+hasAll(f6, -10)
+f6 IN (-2.7, 0.0000000001, "%wild%", 1e10, ' ')
+f3 BETWEEN "%wild%" AND 6.02e23
+f1 LIKE "abc"
+f5 LIKE "\t"
+has(f4, -10)
+(f3 LIKE 'test') OR (hasAny(f3, 999999999999))
+hasAll(f3, '')
+f1 =
+(f1 >= 999999999999) OR (f3 IN ("\t", 1e10))
+f5 REGEXP "hello world"
+(((f2 BETWEEN 'O''Reilly' AND "%wild%") AND (f1 = -1)) OR ((f2 IN (TRUE)) OR (f1 BETWEEN 6.02e23 AND .5))) AND (f4 NOT CONTAINS 'test')
+f5 IN ()
+(f3 ILIKE "%wild%") AND (f2 BETWEEN TRUE AND 1e10)
+f6 IS NULL
+()
+f4 BETWEEN -3.5e-2 AND -2.7
+hasAny(f6, -10)
+hasToken(f1, 0)
+hasToken(f1, -2.7)
+f5 === ''
+f4 = 10
+f3 === 999999999999
+f3 === 10
+f5 BETWEEN 999999999999 AND 'test'
+(f6 BETWEEN 6.02e23 AND 10) OR (f3 < f5)
+AND f6 = -.5
+(f1 BETWEEN 999999999999 AND 10) OR ((f2 BETWEEN -.5 AND -.5) OR (f3 ILIKE "xyz%"))
+(f2 == TRUE) OR (f4 < "\t")
+(f6 IN (0.0000000001, f2, f3, f3, ' ')) OR (hasAny(f1, -.5))
+f6 BETWEEN AND 1
+(f2 = -10
+hasAny(f1, .5)
+f5 = ''
+f4 IN (f3, -1, "\n", 0.0000000001)
+f1 BETWEEN f6 AND "\t"
+f3 < "xyz%"
+f4 <= "\t"
+f6 === 0.0000000001
+f2 BETWEEN "\n" AND -.5
+f1 < 6.02e23
+f6 ILIKE "a_b%"
+f5 LIKE
+f2 NOT ILIKE 'O''Reilly'
+f6 IN (,)
+f2 BETWEEN AND ''
+f2 OR OR 1
+f6 = 'unclosed
+f4 BETWEEN '' AND f4
+AND f3 = "\n"
+f3 IN (1, 0, "%wild%")
+f5 OR OR "\t"
+f3 NOT CONTAINS "hello world"
+f1 BETWEEN f3 AND "hello world"
+f6 IN (.5, "hello world", 1e10, "\n", .5)
+f3 BETWEEN -3.5e-2
+f2 =
+(f4 > -3.5e-2) AND (f1 > f2)
+hasAll(f3, -3.5e-2)
+((f5 NOT CONTAINS 'O''Reilly') OR (((f1 == f5) AND (f6 != 1)) OR (f6 IN (0.0000000001, f2)))) OR (f2 CONTAINS "%wild%")
+f2 NOT ILIKE ' '
+f1 IN (' ')
+f4 = NULL
+f2 = .5)
+f2 IN (.5, 999999999999, "\t", 3.14, f5)
+f1 === -1e-10
+hasAll(f1)
+f6 BETWEEN f2 AND 0.0000000001
+f5 BETWEEN 1e10 AND 0
+f6 NOT ILIKE "a_b%"
+f4 BETWEEN f1 AND 3.14
+f4 <= 3.14
+f5 === f6
+f2 LIKE
+hasAny(f2, 3.14)
+f4 NOT
+f2 BETWEEN 6.02e23 AND 6.02e23
+f6 === -2.7
+f4 IN ("\n")
+hasAny(f3, '')
+f2 NOT CONTAINS 'test'
+(hasAll(f1, "\t")) OR (f1 IN (0, f5))
+f5 BETWEEN 'O''Reilly' AND .5
+f2 IN (-10)
+f2 CONTAINS "\t"
+f6 IN (0.0000000001, f4, '', "\n")
+(f1 NOT REGEXP "a_b%") OR (hasAny(f1, -10))
+f6 REGEXP "xyz%"
+(f4 IN (1, 3.14, "\n")) AND (hasToken(f3, f5))
+f1 BETWEEN f4 AND 0
+AND f1 = -3.5e-2
+f2 < -10
+f5 = 'unclosed
+f4 NOT CONTAINS 'test'
+hasAny(f2, f2)
+(f3 NOT CONTAINS "\t") OR (f2 IN ('O''Reilly', -1e-10))
+f6 <= "%wild%"
+f5 > 1e10
+f1 BETWEEN -3.5e-2 AND .5
+f1 IN (f5, "\n", "hello world")
+()
+f3 IN (f1, f5, "\t", 'O''Reilly', f2)
+f1 IN (-1e-10, "\n", ' ', f1)
+f3 > -1
+f3 BETWEEN "a_b%" AND 0.0000000001
+f5 <= "hello world"
+hasToken(f2, f2)
+((f5 BETWEEN "\n" AND 0.0000000001) OR (f1 BETWEEN '' AND f3)) AND (f3 BETWEEN ' ' AND .5)
+f4 BETWEEN TRUE AND 999999999999
+f1 BETWEEN "a_b%" AND 'test'
+f5 BETWEEN TRUE
+has(f3)
+NOT
+f6 = NULL
+f5 BETWEEN "hello world" AND -2.7
+f1 >= -.5
+f1 BETWEEN f4 AND -1
+f5 IN (-1e-10, 'test', TRUE)
+f5 ILIKE "hello world"
+f1 < "hello world"
+f4 IN (6.02e23)
+f5 BETWEEN 10 AND 1
+(f2 == 999999999999) OR (f4 IN ("\t", -1e-10, "%wild%"))
+(f1 CONTAINS "xyz%") AND (f3 > 'O''Reilly')
+(f4 NOT ILIKE "xyz%") AND (f5 BETWEEN '' AND 10)
+f3 IN (,)
+f3 BETWEEN TRUE AND 999999999999
+f3 <> f2
+f5 CONTAINS ''
+f1 IS NULL
+AND f1 = "xyz%"
+f1 IN (-3.5e-2, "hello world")
+f2 IN ("%wild%", -3.5e-2, -1e-10, -1e-10)
+f5 BETWEEN 0.0000000001 AND 0
+f3 BETWEEN "\t" AND -2.7
+f2 = 0.0000000001
+f4 NOT CONTAINS "xyz%"
+f6 <= f3
+f4 <= 6.02e23
+f5 BETWEEN AND ' '
+f2 BETWEEN "xyz%" AND f5
+f2 < -.5
+hasToken(f3, -10)
+f5 OR OR -.5
+(f6 IN (f3, -2.7, f4, f5, "a_b%")) OR (f1 ILIKE 'O''Reilly')
+f6 IN (0.0000000001, f2, 6.02e23, f4, 6.02e23)
+f2 != "a_b%"
+hasAll(f6, "\n")
+hasAll(f3, f6)
+f2 BETWEEN f5 AND "abc"
+f5 NOT LIKE "hello world"
+f1 = .5
+hasAny(f1, ' ')
+hasToken(f5)
+f1 IN ("xyz%", ' ', 1e10, "a_b%", .5)
+f2 BETWEEN 6.02e23 AND f5
+f6 IN (,)
+f4 != "\n"
+(hasToken(f6, -1e-10)) AND ((f6 <> -1e-10) OR (f3 IN (1, 'O''Reilly', f6, f5)))
+has(f3, "hello world")
+f1 BETWEEN '' AND "\n"
+(f6 = "xyz%"
+(f5 BETWEEN "a_b%" AND TRUE) AND (f2 IN (f5, f4, "a_b%", -3.5e-2))
+f5 IN (1, TRUE)
+f3 NOT LIKE "hello world"
+f2 = "a_b%")
+f5 BETWEEN "a_b%" AND "a_b%"
+f6 IN (,)
+f1 BETWEEN f1 AND "\n"
+(has(f5, "%wild%")) AND (f2 BETWEEN -2.7 AND 0.0000000001)
+f1 < 0.0000000001
+f1 BETWEEN 3.14 AND 1e10
+f1 = 6.02e23)
+hasToken(f4, 'O''Reilly')
+f1 =
+f2 NOT CONTAINS ' '
+f2 NOT REGEXP ''
+((f4 IN (.5, f1, -.5)) AND (f6 IN (.5, 6.02e23))) OR (f2 BETWEEN -10 AND -1e-10)
+f6 IN (-1)
+hasAny(f3, .5)
+f5 NOT LIKE "xyz%"
+hasAny(f4, TRUE)
+hasAll(f5, -2.7)
+hasAny(f6, .5)
+f1 <> f1
+f6 != 0
+f2 IN ("%wild%", -1e-10)
+f1 BETWEEN 0 AND "a_b%"
+f2 IN ("abc", "abc", 0)
+f5 === -3.5e-2
+f4 = NULL
+(has(f3, "\t")) AND (f4 NOT LIKE 'test')
+f1 IN (-10)
+(f2 BETWEEN 0.0000000001 AND 6.02e23) AND ((hasAny(f6, ' ')) AND (f6 NOT LIKE ''))
+((f4 NOT CONTAINS "%wild%") AND ((f6 NOT REGEXP "\n") AND (f6 == "hello world"))) AND (f5 != f3)
+f1 NOT CONTAINS ''
+f5 IN ("abc", 'O''Reilly', ' ', f5)
+((f6 BETWEEN "\t" AND "\n") OR ((hasAny(f4, ' ')) AND (f3 BETWEEN f2 AND 999999999999))) OR (hasAny(f5, "%wild%"))
+hasToken(f3, 0)
+f6 = TRUE)
+f1 IN ("\t", f5, 1, 0)
+hasAll(f4, f5)
+f6 IN ('test', "\t", "hello world", -10, f6)
+hasAll(f5, .5)
+f3 BETWEEN f3 AND "%wild%"
+(has(f5, "\n")) OR (has(f5, "xyz%"))
+f5 != f6
+f1 BETWEEN AND "a_b%"
+f5 IN (10, 1, 1e10, "hello world", "xyz%")
+f2 = -1e-10
+f1 = ' ')
+f2 BETWEEN AND 0
+((f5 > 999999999999) AND (f4 IN (-2.7, "xyz%", -1e-10))) OR (hasAll(f6, f1))
+f5 >= 1
+hasAny(f4, TRUE)
+f1 NOT
+()
+f4 BETWEEN "\n"
+f5 LIKE
+f2 IN ('test', f2)
+hasToken(f3)
+f2 IN (0.0000000001)
+f1 IN (3.14, -.5, 'test', "%wild%")
+f1 BETWEEN -3.5e-2 AND 10
+f4 BETWEEN -.5 AND 1e10
+()
+(hasAll(f3, "a_b%")) OR (f2 BETWEEN 'O''Reilly' AND -3.5e-2)
+f2 IN (-2.7, "\t", .5)
+NOT
+f1 = NULL
+f6 IN (' ', 6.02e23)
+hasAll(f6, .5)
+f4 BETWEEN AND .5
+f5 LIKE 'test'
+hasToken(f2, 3.14)
+()
+()
+f6 IN ("a_b%")
+f6 REGEXP "%wild%"
+(f6 IN (f4, f6)) AND (f5 == ' ')
+f2 REGEXP 'O''Reilly'
+hasToken(f4)
+f2 REGEXP "%wild%"
+f3 NOT REGEXP "abc"
+has(f5, -1)
+hasAll(f5, f4)
+f5 <> "%wild%"
+(hasToken(f5, 'test')) OR (f6 BETWEEN 'test' AND "\n")
+hasAll(f5, f3)
+f2 NOT REGEXP ' '
+(f5 IN (.5, 10)) AND (f1 BETWEEN f2 AND f3)
+has(f6, -.5)
+hasToken(f2, 3.14)
+f5 IN ('O''Reilly', "xyz%", "%wild%", -2.7, "hello world")
+f2 =
+hasToken(f3, .5)
+f5 LIKE
+hasAll(f1, "a_b%")
+f4 NOT ILIKE 'test'
+AND f3 = "a_b%"
+f6 == .5
+has(f1, "abc")
+f5 = "abc")
+f6 > -2.7
+f6 IS NULL
+f3 >= 999999999999
+f2 NOT CONTAINS "xyz%"
+f5 IN ("\t", "abc", 999999999999, ' ', "abc")
+hasToken(f1)
+f4 IN ("abc", f5, 1e10, ' ')
+f1 <= 'test'
+(f6 != f6) AND (f4 ILIKE ' ')
+f5 BETWEEN TRUE AND "\n"
+f2 IN (1e10, 3.14, "\n")
+f3 BETWEEN -2.7
+(f3 LIKE "a_b%") AND (f2 = -.5)
+f1 BETWEEN "xyz%" AND 6.02e23
+f4 BETWEEN -.5 AND f6
+f3 IN [1 2 3]
+f4 >= "\t"
+((f5 != 1e10) OR (hasToken(f5, "hello world"))) OR (f1 IN ("%wild%", f3))
+f1 NOT CONTAINS 'O''Reilly'
+f1 = 'unclosed
+hasToken(f1, 999999999999)
+f6 NOT REGEXP ''
+f2 BETWEEN "\t" AND 'test'
+f4 = 'unclosed
+(f2 != "\t") AND (f3 IN (-1, "xyz%"))
+f2 BETWEEN 3.14 AND -1
+f4 IN (-.5, 0, "hello world", "hello world")
+f6 >= "hello world"
+f2 BETWEEN "hello world" AND ''
+()
+f1 OR OR 999999999999
+f3 ILIKE "hello world"
+f6 IN (1e10, TRUE)
+has(f5, -1)
+f5 CONTAINS "xyz%"
+f1 BETWEEN f4 AND 0
+f4 ILIKE "abc"
+f2 IN [1 2 3]
+f5 LIKE "abc"
+f5 NOT REGEXP "abc"
+f2 ILIKE "a_b%"
+f5 IS NULL
+f1 <> "\n"
+(f1 CONTAINS ' ') AND (f1 BETWEEN 1 AND "xyz%")
+((f4 == -3.5e-2) AND (f1 NOT CONTAINS 'O''Reilly')) OR (f4 BETWEEN 10 AND 6.02e23)
+AND f3 = -.5
+f5 BETWEEN "hello world" AND 3.14
+((hasAll(f3, f2)) OR (f4 BETWEEN 1 AND 999999999999)) AND (f6 NOT REGEXP "a_b%")
+f4 BETWEEN TRUE AND 3.14
+has(f3, -.5)
+f6 IN (' ', .5, "\n")
+f1 == "a_b%"
+()
+hasToken(f6, -.5)
+f1 LIKE ''
+f4 IN (1, f6, 0.0000000001)
+(f5 == -1) OR (f5 IN (-.5, 3.14, f1, 'O''Reilly', -1))
+hasAny(f6, "\t")
+(f2 BETWEEN "a_b%" AND 0.0000000001) OR (hasToken(f3, "hello world"))
+f5 != .5
+hasAll(f4, "hello world")
+f6 BETWEEN 0 AND -3.5e-2
+f2 BETWEEN f5 AND 6.02e23
+()
+f3 BETWEEN "\t" AND f3
+f5 = 0
+has(f5, .5)
+f1 LIKE "\n"
+f1 BETWEEN AND "\n"
+hasAll(f6, 'O''Reilly')
+f5 <= f4
+f4 = "abc")
+f6 <> f2
+f5 == "a_b%"
+hasAll(f5, "xyz%")
+f5 BETWEEN 'O''Reilly' AND 6.02e23
+f2 = "hello world")
+f3 CONTAINS "\n"
+f3 IN ("hello world", "\t", f1, f2, 6.02e23)
+f1 != "hello world"
+f6 IN (,)
+f2 BETWEEN f6
+f4 IS NULL
+f1 IN (-2.7, -.5)
+f1 IN (.5, TRUE, -10, 1e10, "a_b%")
+f3 <= .5
+f1 BETWEEN AND f3
+hasAny(f2, f3)
+f6 != -1e-10
+f2 =
+f4 NOT REGEXP 'test'
+f6 = f2)
+f6 OR OR "%wild%"
+(f6 BETWEEN 'O''Reilly' AND f5) AND (f2 IN (TRUE, 3.14, f5))
+f5 IS NULL
+f5 IN ()
+f5 === f2
+(f1 IN (TRUE)) AND (hasToken(f3, 'O''Reilly'))
+(f2 = 'O''Reilly'
+f2 == "%wild%"
+f4 NOT
+hasToken(f6)
+(f3 BETWEEN 0.0000000001 AND "%wild%") OR (hasAny(f5, -10))
+f5 IN (1, "\t", "\t", "xyz%")
+f1 IN (,)
+(f6 != "abc") AND (f6 <= 10)
+(f1 NOT ILIKE ' ') AND (f6 <= 10)
+f2 NOT
+f2 < f4
+AND f2 = f5
+f3 =
+f2 >= "%wild%"
+has(f2, 1)
+f5 BETWEEN f2 AND 0
+f5 LIKE 'test'
+f1 CONTAINS "abc"
+hasToken(f1, 6.02e23)
+f6 BETWEEN "\n" AND "xyz%"
+f5 <> f5
+f1 BETWEEN f2 AND TRUE
+f1 != 'test'
+((f3 IN (f6, -1, 0, -3.5e-2)) OR ((f2 BETWEEN 999999999999 AND "\t") AND (f1 BETWEEN "\t" AND -1))) OR (hasToken(f6, ' '))
+f3 LIKE
+f6 IN (3.14, "a_b%")
+f4 < 6.02e23
+f4 = 999999999999
+f6 < -3.5e-2
+f6 BETWEEN .5 AND 0.0000000001
+f5 IN (f6, -10, 0.0000000001)
+f1 IN (-10, 0, "a_b%", 0.0000000001)
+f3 == "\n"
+f6 IN ("\n", 'test', "\t", "abc", 0.0000000001)
+hasAny(f3, 'O''Reilly')
+f1 > 1
+f3 BETWEEN f5
+hasAll(f3, .5)
+f4 >= "%wild%"
+(f2 = "xyz%"
+f6 IN (,)
+(f4 IN (f3, 6.02e23, -1, ' ')) AND (f1 LIKE ' ')
+has(f4, '')
+f6 IN (0.0000000001, f4, 10, 999999999999)
+f3 IN (1, 1e10)
+f3 === f6
+f3 IN ("\t", 6.02e23, f2, 1e10)
+f1 IN (TRUE, f1, "xyz%", -.5)
+((f4 BETWEEN -10 AND 999999999999) OR (f6 BETWEEN "\t" AND f4)) OR ((f5 IN (999999999999, f1)) OR (hasToken(f1, 1)))
+f5 =
+f6 != f4
+f6 NOT LIKE "a_b%"
+f4 REGEXP "abc"
+((f4 LIKE ' ') OR (f6 NOT REGEXP "a_b%")) OR (f4 BETWEEN -10 AND 1)
+hasAny(f3, 1e10)
+f6 ILIKE ' '
+f1 BETWEEN 1e10 AND 1e10
+f2 LIKE
+f1 NOT
+f4 IN [1 2 3]
+(f2 = "hello world"
+f1 <= 1
+f4 BETWEEN "\t"
+f3 <> 999999999999
+f2 REGEXP 'O''Reilly'
+f1 BETWEEN f2 AND -3.5e-2
+f4 NOT ILIKE ''
+f5 BETWEEN -1 AND "\t"
+AND f3 = 10
+f4 BETWEEN 1e10 AND 3.14
+hasToken(f1, 0.0000000001)
+f3 <= 10
+f6 CONTAINS ' '
+f2 IN (-3.5e-2, 'O''Reilly', ' ', 999999999999)
+f5 IN ('', 1, f2, 0, f6)
+f4 BETWEEN AND 'O''Reilly'
+(f5 != -1) AND (f1 BETWEEN '' AND 'O''Reilly')
+f2 = 'unclosed
+f1 BETWEEN -3.5e-2 AND "abc"
+f2 > "%wild%"
+f1 <> "%wild%"
+(f2 <= f6) OR ((hasAny(f2, -1e-10)) AND (f2 IN (-3.5e-2, f1, -.5, 0)))
+f1 IN [1 2 3]
+f5 IN ("a_b%", -.5, 10, .5)
+f4 NOT ILIKE "xyz%"
+f5 IN ("hello world", -3.5e-2, -10)
+f4 === 3.14
+f6 <> -2.7
+f6 BETWEEN "\t" AND -.5
+f3 =
+AND f4 = f2
+f2 BETWEEN -2.7 AND -10
+f3 BETWEEN ' ' AND 0
+f2 IN (-2.7, -2.7)
+(hasToken(f4, f3)) AND (f4 IN (-.5, '', "xyz%", -.5, 6.02e23))
+f5 = NULL
+f6 CONTAINS "\n"
+f2 BETWEEN -3.5e-2 AND f1
+f5 IN (-3.5e-2)
+((f3 LIKE '') OR ((f6 IN (-1e-10, -3.5e-2, "a_b%", f1, f4)) AND (f2 LIKE ''))) OR (f4 ILIKE "\t")
+f3 BETWEEN 'O''Reilly' AND 999999999999
+f6 OR OR -3.5e-2
+f5 != ' '
+(f2 REGEXP ' ') AND (hasAny(f4, "xyz%"))
+f6 IN [1 2 3]
+has(f1, TRUE)
+(f2 <= "\t") AND (f3 IN (''))
+f1 BETWEEN f4 AND 'test'
+f6 <> -10
+f5 <> "abc"
+f5 BETWEEN 1e10 AND -.5
+f1 NOT LIKE "\n"
+f6 = TRUE
+f5 LIKE
+NOT
+f1 IN ("a_b%")
+f2 BETWEEN "hello world" AND f1
+f6 ILIKE 'test'
+f2 BETWEEN TRUE AND .5
+hasAll(f3, 3.14)
+f3 = 'unclosed
+f4 CONTAINS ''
+f1 CONTAINS 'test'
+f5 BETWEEN f1
+has(f4, 3.14)
+f4 IS NULL
+f1 IN (-3.5e-2, 0.0000000001, "hello world", ' ')
+f2 IN ("\n", "xyz%", f2, 0, -3.5e-2)
+f5 IN (0.0000000001, "\n", -.5)
+hasAll(f1, f3)
+hasAll(f4, -10)
+f5 > 0.0000000001
+f6 IN (f4, "hello world", 1e10)
+(f3 BETWEEN 1 AND -1) AND (f5 NOT LIKE 'O''Reilly')
+f3 >= TRUE
+f2 IN (f6, "xyz%", "hello world", 999999999999)
+f6 CONTAINS "xyz%"
+f6 NOT REGEXP "%wild%"
+f4 ILIKE "\t"
+AND f2 = -10
+(has(f1, 'O''Reilly')) OR (f6 >= "\n")
+f3 BETWEEN TRUE AND f1
+f2 <> f2
+f5 NOT ILIKE 'test'
+f6 NOT CONTAINS "\t"
+f4 NOT LIKE ''
+f2 IS NULL
+hasAll(f4, 999999999999)
+f6 IN (-1, "\n", f4, 999999999999, TRUE)
+(((hasToken(f4, 1)) OR ((f1 < -.5) AND (f1 >= 10))) OR ((f6 NOT LIKE '') OR ((f4 = TRUE) OR (f2 != 10)))) AND (f2 LIKE ' ')
+hasAny(f5, f6)
+f1 IS NULL
+(hasAll(f4, "xyz%")) AND (f5 REGEXP "hello world")
+(hasAny(f5, 3.14)) AND (f3 IN (1, .5, 'test', ' ', TRUE))
+f5 ILIKE "xyz%"
+hasAny(f4, 0)
+hasAny(f5, "hello world")
+hasAll(f6, "abc")
+(f6 = f6
+(((f6 IN (10, -2.7, "\n", "xyz%", 6.02e23)) AND (f1 IN (f2, -1))) AND (f1 ILIKE "%wild%")) OR (f4 = 999999999999)
+(f5 == f3) AND (f2 ILIKE "\n")
+NOT
+hasAny(f3, f3)
+f1 <= 0
+has(f6, "\n")
+hasAny(f2)
+f1 ILIKE "%wild%"
+f3 IN (999999999999, "a_b%", "\n")
+f6 BETWEEN "xyz%" AND "%wild%"
+f6 === 3.14
+f2 IN (1, 3.14, 6.02e23, 0.0000000001)
+f1 BETWEEN 1e10 AND "hello world"
+f6 LIKE 'test'
+(f2 < "abc") OR (f2 IN (-1, ' ', ' '))
+f3 NOT LIKE ''
+f3 OR OR f6
+f5 = 'unclosed
+AND f2 = -1
+f5 IN (1e10, -.5, 10, "xyz%")
+hasAny(f4, -3.5e-2)
+f5 === "\n"
+f4 IN (6.02e23, "abc", 999999999999, "a_b%", f4)
+f4 IN (,)
+f5 IN (10, "xyz%")
+f2 =
+f3 < 10
+(f4 ILIKE "\n") AND (f6 IN (-1, 'test'))
+hasAny(f1, 'O''Reilly')
+f5 BETWEEN f5 AND "a_b%"
+(f2 LIKE "\n") OR (((f2 IN ('test', 0)) OR (hasAny(f6, 10))) AND (f3 BETWEEN 0.0000000001 AND 1))
+f4 CONTAINS "\n"
+f1 IN ()
+f2 IN (f2)
+f1 CONTAINS "\n"
+f2 REGEXP "abc"
+f4 IN (.5, -3.5e-2, "a_b%")
+f6 <> f4
+f4 IN (0)
+f4 NOT ILIKE "\t"
+f3 LIKE 'test'
+hasAny(f6, -1)
+f5 IN (-10, -1e-10, f4, -1e-10, 999999999999)
+f3 BETWEEN 1e10 AND 'test'
+f3 IS NULL
+hasAny(f4, 0.0000000001)
+f1 >= TRUE
+hasToken(f1, -1)
+f6 OR OR ' '
+f1 IN (-10, ' ', f6, 0, ' ')
+((f3 >= "xyz%") OR ((f6 NOT REGEXP 'test') AND (f1 NOT CONTAINS ' '))) AND (f3 = "abc")
+f1 === 'O''Reilly'
+hasAny(f1, "\n")
+f6 BETWEEN -1 AND "abc"
+hasToken(f5, "hello world")
+(f6 >= 0) AND (f3 ILIKE "\n")
+f4 < f1
+f2 BETWEEN "abc" AND "%wild%"
+f2 BETWEEN 10 AND -1e-10
+f3 REGEXP "abc"
+hasToken(f1, f5)
+(has(f4, -3.5e-2)) AND ((f5 == 'test') AND (f1 <> 6.02e23))
+(f4 = "%wild%"
+(f5 <= -1) OR (f6 ILIKE "hello world")
+f5 BETWEEN f4 AND 0
+f3 IN ('test', f4, 10)
+f6 IN [1 2 3]
+f5 BETWEEN "hello world" AND TRUE
+f4 =
+f2 <= -10
+f1 IN ('', f5)
+hasToken(f4)
+f2 CONTAINS "abc"
+f6 BETWEEN 3.14 AND f1
+f5 == 0
+AND f5 = .5
+f3 IN (-1e-10, f3)
+()
+f4 BETWEEN ' ' AND f5
+f6 IN (,)
+NOT
+f3 IN ("\t", -3.5e-2, -3.5e-2, '')
+f5 NOT CONTAINS "abc"
+f4 LIKE 'test'
+f4 IN (,)
+(f4 LIKE "hello world") AND (f1 IN (f6, '', 1))
+f6 BETWEEN 0 AND -10
+((f4 NOT LIKE "a_b%") OR (f3 >= 10)) OR (f2 BETWEEN "xyz%" AND 'O''Reilly')
+f5 BETWEEN "a_b%" AND 'O''Reilly'
+f1 IN ("xyz%", '', 999999999999, -2.7)
+f6 IN (10, "a_b%", f3, .5)
+(((hasToken(f4, 'O''Reilly')) OR (hasToken(f2, "%wild%"))) OR (f5 <> -1e-10)) OR ((f3 NOT CONTAINS "%wild%") AND (f6 IN (10, 1e10, "abc", f4)))
+f6 OR OR 1e10
+f2 BETWEEN -1e-10 AND 6.02e23
+hasToken(f6, 999999999999)
+hasAll(f2)
+f4 === 1e10
+hasAny(f3, -1)
+(f5 == "xyz%") AND (f4 <> 0.0000000001)
+f2 =
+f4 BETWEEN AND "%wild%"
+(f4 = 1
+f2 IS NULL
+f1 BETWEEN TRUE AND f6
+f4 <= 'O''Reilly'
+f4 = 999999999999
+f2 <= -1
+f2 IN (f6, 'O''Reilly', -.5, 'test', 3.14)
+f6 >= 'O''Reilly'
+f4 BETWEEN "hello world" AND 1
+f4 NOT REGEXP ''
+f4 ILIKE "a_b%"
+f4 != 0
+f2 IN (,)
+f3 IN (f5, 999999999999, -2.7, 999999999999, f5)
+hasAll(f6, -10)
+(f1 NOT REGEXP "a_b%") AND (f5 IN (6.02e23, TRUE))
+AND f4 = 999999999999
+(has(f6, -2.7)) OR (hasAll(f3, 0.0000000001))
+f6 == 1e10
+f6 ILIKE "hello world"
+NOT
+f5 != -.5
+hasToken(f6, 10)
+has(f3, "\n")
+f6 NOT LIKE 'test'
+f5 IN ("\t", 'O''Reilly', f3)
+hasAll(f5, "\t")
+(hasToken(f4, "hello world")) OR (f6 BETWEEN "abc" AND 0)
+f4 IN ()
+f1 BETWEEN -2.7 AND TRUE
+f6 IN (f6, TRUE, "hello world", "%wild%")
+hasAll(f4, "a_b%")
+f3 =
+f5 NOT CONTAINS "a_b%"
+f5 ILIKE 'O''Reilly'
+f1 IN ("\n", ' ', "xyz%", "a_b%")
+f3 BETWEEN 'O''Reilly' AND "xyz%"
+hasToken(f5, 'test')
+f2 BETWEEN TRUE AND f1
+f3 BETWEEN f4 AND -1
+f1 NOT ILIKE "%wild%"
+hasAll(f3, 6.02e23)
+f5 NOT
+f3 BETWEEN 0 AND f1
+hasToken(f4, f5)
+f3 IN ("hello world", .5)
+f5 REGEXP ''
+f1 IN (999999999999, ' ', "\n", f5)
+hasAll(f1, f5)
+f5 BETWEEN "xyz%" AND 1
+f5 BETWEEN AND -1
+AND f1 = -.5
+f5 >= f3
+hasToken(f4, '')
+f6 < -10
+f6 REGEXP "\t"
+f2 BETWEEN 0 AND f6
+(hasToken(f3, f6)) OR (f5 <= -3.5e-2)
+f2 BETWEEN f1 AND 1
+f6 IN ("\n", "hello world", -3.5e-2, f3, TRUE)
+f3 IN [1 2 3]
+(f3 == 3.14) OR (hasAny(f5, 'test'))
+AND f4 = "%wild%"
+f2 BETWEEN f4 AND .5
+has(f5, 6.02e23)
+()
+f4 NOT REGEXP 'O''Reilly'
+f4 NOT CONTAINS "a_b%"
+has(f5, -1)
+f6 BETWEEN AND 999999999999
+f3 IN ("\n", -3.5e-2, "\t", 999999999999, f6)
+hasToken(f4, 999999999999)
+f1 BETWEEN f4 AND "\t"
+f5 BETWEEN "\t" AND -2.7
+(hasAll(f1, 3.14)) AND (f5 BETWEEN "\n" AND -2.7)
+f1 BETWEEN f5 AND 0
+f4 IN [1 2 3]
+f5 NOT ILIKE 'test'
+(((has(f4, "abc")) OR (f4 >= "a_b%")) OR (hasToken(f5, 0.0000000001))) AND (f3 IN (0, f5, f2, "abc"))
+f6 BETWEEN 999999999999 AND -2.7
+f6 IN ("a_b%")
+f3 != 3.14
+hasAny(f5, "hello world")
+f3 IN ('O''Reilly')
+hasAny(f5, -2.7)
+f3 BETWEEN AND -10
+has(f4, "a_b%")
+f5 NOT LIKE "abc"
+f4 NOT CONTAINS ''
+f2 BETWEEN 'O''Reilly' AND "hello world"
+hasAll(f3, TRUE)
+f5 = -10)
+f5 BETWEEN "a_b%" AND f4
+f5 NOT ILIKE "xyz%"
+f3 NOT CONTAINS "hello world"
+(f6 BETWEEN f2 AND 0.0000000001) AND (hasAny(f4, -1))
+f3 > 'O''Reilly'
+f2 BETWEEN 1e10 AND 'O''Reilly'
+(f5 > "xyz%") AND (hasToken(f4, 1))
+f2 OR OR "\n"
+hasAll(f3, 3.14)
+f4 === f1
+f1 NOT
+f6 LIKE "\n"
+hasToken(f2, f2)
+(hasAny(f6, "\t")) OR ((f2 BETWEEN 1 AND 6.02e23) OR (((f5 <= 1e10) AND (f5 <> TRUE)) OR (f4 NOT LIKE "\n")))
+f4 CONTAINS "xyz%"
+f6 IN ("abc", "hello world", 1e10, -1)
+f2 BETWEEN 0.0000000001 AND "hello world"
+has(f1, 999999999999)
+f5 NOT ILIKE "%wild%"
+has(f6, -2.7)
+f5 NOT LIKE "a_b%"
+f3 IN (.5, "hello world", 'test', 1)
+f2 BETWEEN ' ' AND -10
+f3 CONTAINS 'O''Reilly'
+f1 NOT LIKE ''
+f2 CONTAINS 'test'
+hasToken(f3, "%wild%")
+f6 BETWEEN 1e10 AND f5
+f3 NOT LIKE 'O''Reilly'
+f2 > 0
+f6 = NULL
+hasAny(f5, 0)
+f2 BETWEEN -10 AND "xyz%"
+f3 IN ()
+(f5 NOT CONTAINS "\n") OR (f1 BETWEEN -.5 AND 0)
+hasAll(f3, "abc")
+(f1 NOT ILIKE "abc") OR (has(f1, -2.7))
+hasAny(f4, 3.14)
+hasAll(f1, 3.14)
+()
+f1 LIKE "\n"
+(f4 IN (-.5, "%wild%", f3)) AND (f6 LIKE "hello world")
+(f5 = -1e-10
+f2 BETWEEN 10 AND 1e10
+f4 LIKE
+f1 BETWEEN "\t" AND TRUE
+f3 == "xyz%"
+hasAny(f5, 1)
+f4 NOT ILIKE 'test'
+hasAny(f5)
+f5 LIKE
+f6 IN [1 2 3]
+f6 BETWEEN 1e10 AND ''
+f1 NOT ILIKE "hello world"
+hasAll(f3, TRUE)
+f2 IN ('O''Reilly', 1e10)
+f3 IN (f2, f1, 0, 1e10, "xyz%")
+f4 NOT ILIKE 'O''Reilly'
+f6 > "abc"
+f6 NOT CONTAINS "\t"
+f2 BETWEEN 0.0000000001
+f4 NOT REGEXP "a_b%"
+f3 >= "\n"
+f3 = NULL
+(f3 = f2
+f6 IN ("%wild%", 999999999999)
+((f6 BETWEEN "%wild%" AND "abc") AND (f2 IN (f5, 6.02e23, 'O''Reilly', -2.7))) OR (f1 ILIKE "\t")
+(f2 NOT ILIKE "a_b%") OR (f6 BETWEEN 'test' AND TRUE)
+hasToken(f6, "abc")
+f4 == "\t"
+f3 BETWEEN f4 AND "abc"
+has(f6, TRUE)
+f6 BETWEEN f6 AND 3.14
+hasAny(f6, f3)
+f1 BETWEEN f5 AND 999999999999
+f1 NOT CONTAINS "hello world"
+f1 IN [1 2 3]
+f1 BETWEEN 'test' AND "\t"
+(f5 = 6.02e23
+f3 =
+has(f3, .5)
+f6 CONTAINS 'O''Reilly'
+f5 <= f2
+(f1 = -1
+f5 IN (.5)
+(hasAll(f5, -1)) AND (f2 BETWEEN 0.0000000001 AND "hello world")
+f2 IN [1 2 3]
+(f6 = -10) OR (f5 NOT ILIKE "abc")
+f5 IN (-2.7)
+f5 IN (3.14, 1, 10, 'O''Reilly', -3.5e-2)
+has(f1)
+f2 < f6
+f3 = -10)
+f5 NOT LIKE ' '
+f5 IN ()
+f1 =
+has(f5, 'test')
+f5 BETWEEN f3 AND 'O''Reilly'
+f6 NOT LIKE "\n"
+f4 NOT REGEXP ' '
+f2 NOT LIKE 'test'
+f1 >= 'O''Reilly'
+f6 <= .5
+has(f3)
+f2 IN (10, TRUE, f1)
+f2 === TRUE
+f4 IS NULL
+hasAll(f6, ' ')
+hasAny(f3, 10)
+f5 > f1
+(f3 BETWEEN '' AND f6) OR (f2 BETWEEN f2 AND 3.14)
+f4 ILIKE "\t"
+f1 IN ("\n", 0, f4)
+f1 < "hello world"
+f1 BETWEEN "\n" AND f6
+f2 REGEXP "abc"
+f5 LIKE
+has(f2, f4)
+f5 BETWEEN .5 AND .5
+(f2 BETWEEN 6.02e23 AND 6.02e23) AND (f5 BETWEEN 6.02e23 AND 'test')
+f4 IN (6.02e23, -1e-10, ' ')
+f5 LIKE
+f6 == "abc"
+f3 <> "a_b%"
+f4 = NULL
+f5 >= "abc"
+has(f1, 1)
+f1 LIKE
+f3 IN ()
+(has(f2, "\n")) AND (f4 IN (1, 0.0000000001, f3, .5, 6.02e23))
+((f3 NOT ILIKE "%wild%") AND (f3 IN ("a_b%", ' ', f5, '', 'O''Reilly'))) AND (hasAny(f3, 0))
+f5 IN ()
+f3 CONTAINS ' '
+f3 NOT REGEXP ' '
+()
+has(f5, -.5)
+(hasAny(f3, f4)) OR (hasAny(f5, "\t"))
+f4 IN (1e10, "a_b%", 0, 'test')
+f6 BETWEEN 6.02e23 AND "xyz%"
+f5 IN (-1)
+f6 ILIKE 'O''Reilly'
+f3 IN ("\t", -2.7)
+f3 IN ('test', 1, "\n", 1e10)
+hasAll(f5)
+f2 BETWEEN ' '
+f5 BETWEEN "\n" AND 0.0000000001
+f2 <= "\t"
+(hasToken(f1, -3.5e-2)) AND (f3 ILIKE "\n")
+f1 BETWEEN 'O''Reilly' AND 3.14
+has(f2, ' ')
+hasToken(f2, "\n")
+f1 CONTAINS 'test'
+()
+f3 IN [1 2 3]
+f2 BETWEEN '' AND 0.0000000001
+f1 LIKE "abc"
+f2 > f1
+f2 BETWEEN "%wild%" AND "\n"
+((f5 > ' ') OR (f6 >= 6.02e23)) AND (f3 > 999999999999)
+f1 BETWEEN "\n" AND f3
+hasAll(f1, "%wild%")
+f6 REGEXP 'test'
+(hasAll(f3, -1e-10)) AND (f6 >= f5)
+f6 CONTAINS "a_b%"
+f6 BETWEEN f4 AND TRUE
+f5 != 3.14
+hasToken(f6)
+f4 >= f2
+((f3 BETWEEN "abc" AND -.5) AND (f6 BETWEEN f5 AND .5)) OR (has(f2, -.5))
+(((f4 IN (f5, 3.14)) AND (f2 IN ('O''Reilly', -1e-10, 1, -1, 1))) AND (f3 NOT ILIKE "\n")) AND (f6 BETWEEN -10 AND 999999999999)
+f3 CONTAINS "%wild%"
+f4 BETWEEN "xyz%" AND -2.7
+hasToken(f2, TRUE)
+f3 <> -.5
+f3 = "\n"
+f2 IN ()
+(f4 = f5
+f5 NOT CONTAINS "%wild%"
+f5 REGEXP "\n"
+f3 BETWEEN 'test' AND ''
+f1 BETWEEN 0
+f1 IN (10, TRUE)
+f4 NOT
+f2 IN (-.5)
+f4 IN (0, 1e10, 6.02e23)
+f3 OR OR f5
+has(f3, f3)
+f6 BETWEEN -.5 AND 3.14
+hasAny(f6, "abc")
+(f6 BETWEEN 10 AND "hello world") OR (f6 <= f5)
+(f4 <> TRUE) AND ((hasAny(f4, 0)) AND (f2 != 1))
+f1 = 'unclosed
+f6 CONTAINS "abc"
+f5 NOT
+f4 IN (-.5, 1, '', TRUE, "hello world")
+f1 <> 6.02e23
+f1 IN (999999999999, '', 10, 0, -10)
+f3 IN (.5, f4, ' ', 10)
+f2 = 'test'
+f1 < 10
+f3 <= "\n"
+f3 = NULL
+f3 IN (10, -1e-10, -1, 0, -2.7)
+f5 BETWEEN AND "a_b%"
+hasAny(f1, f3)
+f6 OR OR f1
+f4 CONTAINS "xyz%"
+hasToken(f4, f2)
+(hasAny(f2, -3.5e-2)) OR (f4 = "a_b%")
+f3 BETWEEN ' '
+f5 BETWEEN '' AND "abc"
+f2 BETWEEN f6 AND -3.5e-2
+f4 ILIKE "xyz%"
+(f5 IN (-10)) OR (hasToken(f3, f1))
+has(f2, -1e-10)
+hasAny(f3, -3.5e-2)
+f4 OR OR "xyz%"
+hasAny(f6)
+hasAny(f4, 0)
+hasAny(f4, 0)
+f5 BETWEEN -3.5e-2 AND f4
+NOT
+AND f2 = 10
+f2 IN ('test', 'test')
+(f6 IN (f2, f4, -2.7, f1)) AND ((hasToken(f6, -2.7)) OR (f6 IN (f1, ' ', "\t", "\t", f3)))
+f5 <= "abc"
+f1 IN ('')
+f2 IN ('', -1e-10, f3, -1e-10)
+f2 OR OR 0
+f6 NOT ILIKE "%wild%"
+f3 >= .5
+f1 IN (-1)
+(f1 LIKE '') AND (f4 BETWEEN ' ' AND 999999999999)
+f3 NOT CONTAINS ''
+f2 LIKE
+f4 NOT LIKE 'O''Reilly'
+(f6 CONTAINS 'O''Reilly') AND (f1 BETWEEN 999999999999 AND 3.14)
+()
+hasToken(f2, -.5)
+f1 != 1
+(f3 <= 1) OR (f5 = "%wild%")
+f4 BETWEEN .5 AND "\t"
+f2 =
+f1 = 10
+hasAny(f5, -10)
+has(f1, 'O''Reilly')
+f5 BETWEEN AND -1
+f1 BETWEEN "xyz%" AND 0.0000000001
+f4 NOT LIKE 'test'
+f4 OR OR -.5
+f5 IN ()
+f6 IN (999999999999, "abc", 0, f1, f5)
+f5 = -.5)
+f4 NOT REGEXP "\t"
+(f4 CONTAINS ' ') AND (hasToken(f4, "\t"))
+f2 === "abc"
+f2 ILIKE "hello world"
+f4 LIKE "\n"
+f4 BETWEEN "\t" AND 3.14
+AND f3 = 1e10
+hasToken(f4, f3)
+f5 IN ("\n", 'test', 1, -1e-10)
+(f3 = f2
+hasAny(f5, -10)
+NOT
+f6 > -1
+hasAll(f2, "hello world")
+(hasToken(f4, ' ')) OR (f6 <> 1)
+NOT
+(f3 ILIKE "\n") AND (f6 NOT REGEXP "hello world")
+f2 BETWEEN AND 0.0000000001
+f6 NOT ILIKE "abc"
+f3 = NULL
+f6 OR OR "hello world"
+f6 NOT
+NOT
+(hasAll(f2, 0.0000000001)) OR ((f6 ILIKE "%wild%") OR (f4 BETWEEN "\t" AND 'O''Reilly'))
+f2 BETWEEN 1 AND f3
+has(f4, f6)
+f3 BETWEEN "xyz%"
+()
+f2 LIKE "abc"
+f2 IN (-1e-10, -1, f3, f2, 0.0000000001)
+f4 = -10)
+has(f3, ' ')
+f6 BETWEEN 0 AND 'O''Reilly'
+f1 IS NULL
+((f2 BETWEEN f5 AND "%wild%") AND (f6 == .5)) AND (f6 BETWEEN ' ' AND 1)
+f4 BETWEEN ' ' AND 1e10
+f3 = NULL
+f5 BETWEEN ' ' AND ' '
+f3 <= -1
+f6 OR OR f4
+(((f2 NOT CONTAINS "hello world") AND (f4 NOT ILIKE 'test')) OR (f4 IN (-.5))) AND ((f3 CONTAINS "hello world") OR (f1 IN (f1, 1)))
+hasToken(f1, "\t")
+has(f5, f1)
+f5 <= "abc"
+f5 BETWEEN "%wild%" AND -10
+f1 REGEXP "a_b%"
+f6 IN (6.02e23, -.5, TRUE, f2, 0.0000000001)
+f2 <> "hello world"
+AND f5 = 'O''Reilly'
+f4 BETWEEN 'O''Reilly' AND ''
+(hasAny(f2, -2.7)) AND (f2 IN ('', '', f2, "\n"))
+has(f5, .5)
+f5 IN ('test')
+f1 BETWEEN -1e-10 AND 'O''Reilly'
+hasAny(f3, 3.14)
+AND f6 = f4
+f6 >= -.5
+f1 IN (999999999999, -3.5e-2, f6, .5)
+f2 IN [1 2 3]
+f5 NOT LIKE "a_b%"
+(f4 NOT LIKE "abc") OR (f5 BETWEEN f6 AND f2)
+f6 REGEXP "a_b%"
+f6 =
+f2 OR OR -1
+f2 NOT
+(f4 IN (' ', 'O''Reilly', -10, 6.02e23)) AND (f5 NOT LIKE "abc")
+f5 BETWEEN -.5 AND f2
+f3 == "abc"
+f1 NOT LIKE ''
+f1 BETWEEN -2.7 AND "abc"
+hasAll(f2, "abc")
+hasAny(f6, -10)
+f6 = NULL
+f6 BETWEEN AND "\n"
+f2 IN ("xyz%")
+f1 >= 0
+f2 REGEXP ''
+f6 > -2.7
+f1 NOT REGEXP "xyz%"
+AND f5 = "xyz%"
+f3 IN (.5, 1e10, f3, f1)
+f4 BETWEEN f2 AND .5
+(hasAny(f4, f1)) AND (hasToken(f3, -2.7))
+f4 NOT CONTAINS ''
+f3 > f5
+f2 >= 'test'
+(f1 = 'O''Reilly'
+f2 IS NULL
+f6 < 1e10
+f3 != 'test'
+f5 <= TRUE
+f3 NOT CONTAINS "abc"
+f4 =
+hasToken(f2, 0.0000000001)
+f6 BETWEEN 3.14 AND ' '
+f6 BETWEEN 6.02e23 AND .5
+f4 BETWEEN 10 AND "\n"
+f3 BETWEEN -10 AND -1
+f1 === -2.7
+f5 <> 1
+f4 <= 10
+f4 === "xyz%"
+f2 OR OR TRUE
+f5 == 0
+f2 NOT REGEXP "%wild%"
+f1 === -2.7
+f1 CONTAINS "\n"
+f2 NOT CONTAINS ''
+f5 <> 10
+f6 BETWEEN 10 AND .5
+f6 LIKE
+(f1 NOT ILIKE "xyz%") OR (hasAll(f5, "hello world"))
+f3 = "abc"
+f5 BETWEEN ' ' AND 'test'
+f5 IN ("%wild%", TRUE)
+f2 BETWEEN 999999999999
+f1 IN (1e10, "a_b%", -10, "xyz%", f5)
+f2 IN [1 2 3]
+f3 IN (999999999999)
+hasAll(f3, 0.0000000001)
+f2 LIKE "\n"
+f5 CONTAINS ''
+f5 IN (f1)
+f3 IN (f3, -.5, "hello world", -1, 1e10)
+f4 NOT ILIKE "a_b%"
+f4 <= f6
+f2 BETWEEN f4 AND -1e-10
+f4 === -.5
+(((f6 <> 10) OR ((f2 <> f1) OR (f3 = -2.7))) AND ((f3 IN ('test', "hello world")) AND ((f1 != "hello world") AND (f3 = 'O''Reilly')))) OR (f3 NOT LIKE "xyz%")
+has(f4, "%wild%")
+f1 IN ('test', -2.7, 'O''Reilly', f5, ' ')
+has(f5, -1e-10)
+f3 IN ('O''Reilly', "a_b%")
+f6 BETWEEN -10
+hasAny(f3, 1e10)
+f2 BETWEEN f4 AND "\n"
+f5 CONTAINS "\n"
+f5 BETWEEN ' ' AND 0.0000000001
+f1 REGEXP "xyz%"
+f6 =
+(hasAny(f6, "hello world")) OR (f2 BETWEEN 'O''Reilly' AND 0.0000000001)
+NOT
+f3 IN ('test', "abc")
+f4 BETWEEN -.5 AND "%wild%"
+f3 NOT ILIKE "a_b%"
+f1 = f1)
+f3 BETWEEN -2.7 AND f4
+f3 >= .5
+f5 = 'unclosed
+f3 = 1)
+f6 LIKE "%wild%"
+f3 >= 3.14
+f5 BETWEEN "xyz%" AND f2
+f4 NOT REGEXP "%wild%"
+f1 IN (-10, f6, f1)
+f6 = 'unclosed
+f3 = TRUE)
+()
+f6 ILIKE "a_b%"
+f1 = f5)
+f3 NOT LIKE "\t"
+f5 BETWEEN 'test' AND "abc"
+f4 IN ()
+f2 >= "\n"
+f5 <> 0
+f6 BETWEEN AND f6
+f4 IN (,)
+f6 BETWEEN "xyz%" AND "\t"
+hasAny(f4, 0.0000000001)
+f6 != -1e-10
+f6 CONTAINS "xyz%"
+(f2 NOT LIKE ' ') OR (f3 IN (f3, f1, 1e10, TRUE))
+f4 NOT
+f3 = 'unclosed
+f3 LIKE 'test'
+f4 NOT CONTAINS 'O''Reilly'
+f1 BETWEEN f4 AND TRUE
+f3 >= ' '
+f1 > f4
+f6 OR OR "hello world"
+(f2 BETWEEN 'test' AND "xyz%") OR (f5 BETWEEN "%wild%" AND f1)
+f2 IN (-.5, TRUE)
+f6 = -1
+f5 == -10
+f3 BETWEEN '' AND TRUE
+hasToken(f6, "a_b%")
+f1 IN ()
+f4 IN (f1, 3.14, f6, TRUE)
+(f6 IN (TRUE, "\t", "\n", 6.02e23)) AND (((f4 IN ('', 1, -10)) OR ((f6 <> 0.0000000001) AND (f6 != 1e10))) OR (f3 LIKE "a_b%"))
+f6 NOT ILIKE "\n"
+f2 BETWEEN -10 AND "xyz%"
+f2 == "\n"
+f4 IN (f2, "abc", 999999999999)
+f3 >= f6
+f4 IN ('O''Reilly', -.5, 0)
+hasAll(f3, -2.7)
+(f6 BETWEEN 0.0000000001 AND f6) OR ((f1 IN (TRUE, TRUE, 'O''Reilly', f5, f4)) OR (f2 == 999999999999))
+f1 NOT
+()
+f5 IN (10, 'O''Reilly', -10, -3.5e-2, "\n")
+hasToken(f1, f3)
+hasAny(f2, 999999999999)
+(f1 = -10
+f6 BETWEEN 1e10 AND 'O''Reilly'
+f1 BETWEEN -2.7
+f3 BETWEEN 3.14 AND 3.14
+f1 NOT ILIKE 'test'
+(f2 IN (-10)) OR (f1 BETWEEN -1e-10 AND 10)
+()
+f3 IN (TRUE, f1, "abc", 'O''Reilly')
+f1 IN (1e10, -2.7, 6.02e23, TRUE, "hello world")
+f4 < 3.14
+f6 BETWEEN AND -2.7
+NOT
+f2 =
+(f5 NOT LIKE "abc") AND (f5 IN (-.5, ' '))
+f5 BETWEEN f3 AND 10
+f2 BETWEEN 1 AND -1
+f6 LIKE
+f1 IN ("%wild%", 1e10, -1)
+has(f6, 6.02e23)
+f5 NOT
+f3 IN ("xyz%", f2, "\t", "%wild%")
+hasAll(f1, 3.14)
+(hasToken(f3, "\t")) OR (f1 BETWEEN -2.7 AND "\n")
+f4 IN (0.0000000001, f6)
+hasToken(f5, "\n")
+(has(f2, 999999999999)) OR ((f6 ILIKE "hello world") AND (f1 <> "\n"))
+f4 IN ("hello world", f2, 3.14, 0, 999999999999)
+f3 BETWEEN .5 AND "xyz%"
+f5 IS NULL
+f6 IN ()
+f4 =
+()
+f5 BETWEEN -3.5e-2 AND 0
+NOT
+hasAll(f6, f1)
+f6 NOT CONTAINS ''
+f3 NOT REGEXP ''
+f6 IN ("a_b%", f4, "%wild%")
+f3 BETWEEN -1e-10 AND 3.14
+f3 IN ()
+f5 IN (-3.5e-2, f1, f2, "a_b%")
+f6 OR OR 0.0000000001
+f1 =
+f1 BETWEEN AND 999999999999
+(hasAny(f4, 1e10)) OR (f2 BETWEEN "hello world" AND 999999999999)
+(f4 BETWEEN "\n" AND TRUE) AND (hasAll(f6, f1))
+f1 = "hello world"
+f2 BETWEEN 'O''Reilly' AND 0
+f2 IN ("abc", '', "\t", "\t")
+hasAll(f4)
+f1 CONTAINS ' '
+f6 IN (,)
+f1 != ' '
+((has(f3, -3.5e-2)) AND (f3 IN ("abc", 1))) OR (f3 NOT REGEXP '')
+f4 BETWEEN 1e10 AND TRUE
+hasToken(f3, f4)
+f3 IN (0, f2, 1, f4)
+AND f1 = f6
+(f1 IN (-3.5e-2, "%wild%", 999999999999)) AND (f3 ILIKE '')
+f2 BETWEEN f2
+f4 = ''
+(f6 IN ('O''Reilly', 0.0000000001)) OR (hasToken(f4, -2.7))
+f5 ILIKE "hello world"
+has(f3, f5)
+(f1 IN (999999999999, '', f3)) OR (f1 = .5)
+f6 IN (f3, f3, 0.0000000001)
+f5 OR OR -.5
+hasToken(f3, "xyz%")
+f3 IN ('O''Reilly', -2.7, "\t", "%wild%")
+f3 OR OR 6.02e23
+(hasToken(f3, 'O''Reilly')) OR (f5 IN (TRUE))
+f5 BETWEEN "xyz%" AND .5
+f4 IS NULL
+f5 NOT CONTAINS "\t"
+f6 IN (f5, "abc", 'test', .5)
+(has(f3, 999999999999)) OR (f3 IN (-1, .5, f3, 1))
+f1 LIKE "xyz%"
+has(f6, -1)
+NOT
+(f6 ILIKE "xyz%") OR (hasToken(f2, f2))
+f3 BETWEEN -1e-10 AND f1
+f3 BETWEEN ' ' AND TRUE
+f4 != -.5
+f3 BETWEEN 3.14 AND 999999999999
+f1 IN (0, -10)
+f5 >= 'O''Reilly'
+(hasToken(f2, "\t")) AND (f4 IN (TRUE, f2, -10, "hello world", 1))
+((f6 NOT ILIKE "a_b%") OR (f5 IN ("\n", 1))) AND (f2 IN ("abc", f4, "xyz%", -10))
+hasToken(f5, f1)
+f1 BETWEEN -3.5e-2
+f4 IS NULL
+f6 IN (,)
+f1 =
+f1 BETWEEN 999999999999 AND -2.7
+f4 BETWEEN f1 AND f6
+f5 < f5
+has(f3)
+f1 == 1e10
+hasToken(f2, 0)
+hasToken(f4, 'test')
+f1 LIKE "%wild%"
+f4 NOT LIKE ''
+f4 ILIKE "\n"
+f4 NOT CONTAINS "xyz%"
+f1 BETWEEN f5 AND 6.02e23
+hasToken(f5, 10)
+f5 <= 0.0000000001
+(f3 NOT REGEXP "%wild%") OR (hasToken(f4, 'O''Reilly'))
+hasToken(f1, -1)
+(has(f6, "\n")) OR (hasToken(f1, 0))
+f3 BETWEEN .5 AND f2
+f5 == ''
+f2 <= 6.02e23
+f1 NOT CONTAINS 'O''Reilly'
+f2 IN ("abc")
+f6 ILIKE "a_b%"
+f4 OR OR 1
+f5 = 'unclosed
+has(f6, 0)
+f2 NOT REGEXP "xyz%"
+f3 IN (999999999999, ' ', .5, 1)
+f6 IN [1 2 3]
+hasToken(f6, 0)
+f3 BETWEEN AND f3
+has(f4, 'O''Reilly')
+f6 IN (0, "%wild%", 3.14, "\t")
+f6 BETWEEN "a_b%" AND 999999999999
+f5 REGEXP "xyz%"
+hasToken(f4)
+(hasToken(f6, 0.0000000001)) AND ((f1 BETWEEN 0.0000000001 AND 0.0000000001) AND (f5 IN (f2, "%wild%", f5, "xyz%")))
+f3 LIKE
+f4 IN ("%wild%")
+f2 LIKE
+f5 NOT CONTAINS "%wild%"
+f3 REGEXP "\t"
+f3 NOT CONTAINS "hello world"
+f2 ILIKE "%wild%"
+f3 BETWEEN f6 AND "%wild%"
+(f5 BETWEEN 0 AND f6) OR ((hasToken(f3, 0)) OR (f6 ILIKE "\t"))
+f1 NOT ILIKE ''
+f5 NOT CONTAINS "abc"
+f4 NOT CONTAINS ' '
+f1 NOT ILIKE "\n"
+f2 CONTAINS 'test'
+hasToken(f2, -10)
+f1 >= "abc"
+f1 = 'unclosed
+f6 BETWEEN "abc" AND 10
+f2 IN [1 2 3]
+()
+f3 BETWEEN AND -.5
+f3 REGEXP ''
+f5 NOT
+f3 IN (0, "a_b%")
+f4 REGEXP "hello world"
+f4 <= f2
+f6 != -1
+hasAny(f2, .5)
+f4 = 3.14
+(hasToken(f4, 999999999999)) AND (hasToken(f4, -3.5e-2))
+f5 === -10
+f4 <= 'O''Reilly'
+f1 NOT ILIKE 'test'
+f5 === f4
+f3 IN (6.02e23)
+f2 IN ()
+hasAny(f4, -10)
+f4 IN (-.5, f3, "a_b%", 1)
+(f3 = 10
+hasAll(f3, -1e-10)
+hasToken(f3, 6.02e23)
+f6 IS NULL
+f2 LIKE
+f1 NOT LIKE "a_b%"
+f5 <= f5
+f6 ILIKE "abc"
+f1 IN (-.5, -1, .5, 6.02e23, ' ')
+f6 BETWEEN 6.02e23 AND f2
+f3 LIKE
+f5 BETWEEN f2 AND 3.14
+f1 BETWEEN f3 AND "%wild%"
+f4 === 'O''Reilly'
+f5 IN ("abc")
+f3 BETWEEN f4 AND f2
+((f2 REGEXP 'O''Reilly') AND ((f6 BETWEEN "%wild%" AND 'O''Reilly') OR (hasAny(f4, "\n")))) OR (f1 NOT REGEXP "%wild%")
+AND f3 = -1
+has(f4, 1)
+has(f3, -10)
+f4 IN (f4, TRUE)
+f4 BETWEEN "\n" AND -.5
+f5 IN (-1, 0.0000000001)
+has(f2, 3.14)
+f6 IN (-2.7)
+f4 BETWEEN "abc" AND -2.7
+f1 BETWEEN 'O''Reilly'
+f1 == "hello world"
+hasAny(f2, "%wild%")
+(f3 ILIKE "hello world") AND ((hasToken(f4, f4)) OR (f3 <> 1))
+f2 BETWEEN AND f1
+f5 BETWEEN 1 AND -1
+(f3 NOT CONTAINS "%wild%") AND ((f2 IN (f6, f5, "abc", "a_b%")) OR (f6 IN ('test')))
+f1 BETWEEN "\t" AND f5
+(((f3 REGEXP "\n") AND (hasAll(f2, 0.0000000001))) OR (hasAll(f1, "a_b%"))) AND ((hasAll(f2, 1e10)) OR (hasAny(f6, "%wild%")))
+f5 BETWEEN -2.7 AND 0.0000000001
+f2 REGEXP "a_b%"
+(f2 <> f1) OR (f2 != 'test')
+f3 OR OR 10
+f4 = -.5
+f3 BETWEEN -2.7 AND 1
+f3 > "a_b%"
+f1 REGEXP "\t"
+f1 IN ()
+f3 BETWEEN '' AND 3.14
+f5 BETWEEN -1 AND f5
+f1 IN ()
+f1 NOT REGEXP ' '
+AND f3 = f5
+f4 = '')
+f1 BETWEEN 0 AND f3
+f3 = 'test'
+f5 IN ("\n", f6, ' ', TRUE, f2)
+f3 <> 999999999999
+f1 LIKE "\n"
+f1 < TRUE
+f6 <> 6.02e23
+has(f5, 999999999999)
+f6 NOT LIKE "%wild%"
+f5 BETWEEN AND .5
+NOT
+f2 NOT CONTAINS "hello world"
+f6 = ' ')
+f5 NOT ILIKE "abc"
+()
+f1 REGEXP "%wild%"
+hasToken(f1, "\n")
+(f3 NOT LIKE '') OR (f1 NOT LIKE "%wild%")
+f1 NOT REGEXP "\t"
+f4 IN ('O''Reilly', "abc")
+f1 OR OR 1
+f4 IN (999999999999, "abc", f4)
+f2 LIKE "\t"
+f4 NOT CONTAINS "xyz%"
+f4 BETWEEN -2.7 AND ''
+f6 ILIKE "abc"
+f2 BETWEEN AND "xyz%"
+NOT
+f3 BETWEEN "\n" AND -2.7
+f2 < "abc"
+(f1 == 'test') AND (f2 IN ('O''Reilly', 0.0000000001, 1, f5, "hello world"))
+hasToken(f5, "a_b%")
+f4 === f6
+f4 BETWEEN "a_b%" AND "\t"
+f2 BETWEEN "abc" AND -1
+f1 IN ("\n", f3, f2)
+NOT
+f1 = 'unclosed
+f5 REGEXP 'O''Reilly'
+hasToken(f1, -1e-10)
+f2 IN ("\t", "a_b%", 'test', 'O''Reilly')
+f2 != "xyz%"
+f3 BETWEEN "\t" AND -1e-10
+f4 BETWEEN "abc" AND f3
+f1 IN (-10, .5)
+f1 =
+f3 >= 3.14
+f5 = f5)
+(f1 IN (0.0000000001)) OR (f3 == -1e-10)
+f5 === -2.7
+f4 = 'O''Reilly'
+f5 > TRUE
+(f4 >= -2.7) OR ((f5 NOT ILIKE "xyz%") AND (f1 BETWEEN "xyz%" AND ' '))
+f4 NOT
+f4 =
+f2 BETWEEN -2.7 AND 0.0000000001
+has(f3, 1e10)
+f4 IS NULL
+f6 = ' '
+f2 NOT LIKE "\t"
+hasAll(f1)
+f3 LIKE "abc"
+f5 IN (f3, 'O''Reilly', "\n", "hello world")
+hasToken(f1, 0)
+f2 IS NULL
+f6 BETWEEN f4 AND "a_b%"
+f5 IN (-1e-10, -1)
+f1 == f2
+(f1 < 1) AND (f3 < 'test')
+f3 IN (f1, f2, "hello world", 0.0000000001, 0.0000000001)
+(f6 IN (TRUE, "%wild%", '', -3.5e-2, 0.0000000001)) AND (f6 LIKE 'test')
+f2 IN (10)
+(hasToken(f2, "\t")) OR (f6 BETWEEN "\n" AND .5)
+AND f5 = f3
+f6 ILIKE 'test'
+f5 IN ()
+f2 < -1e-10
+f4 = NULL
+(f3 = "%wild%"
+hasAny(f5, '')
+f4 OR OR -2.7
+f5 BETWEEN "abc" AND "xyz%"
+f6 NOT LIKE ''
+(f4 = 1
+f1 = -10)
+hasAny(f4, "xyz%")
+AND f6 = 3.14
+f5 BETWEEN 'O''Reilly' AND "\n"
+f5 NOT
+hasToken(f1, f3)
+NOT
+f1 BETWEEN TRUE AND 999999999999
+AND f5 = 'test'
+f1 IN ("abc", f1, f6, -1e-10)
+(hasToken(f1, f3)) OR (f1 IN (6.02e23, 0.0000000001))
+f6 LIKE
+hasToken(f2, "xyz%")
+hasAll(f5, -3.5e-2)
+()
+f1 == 'O''Reilly'
+f2 = NULL
+f3 IN (10, "\n", -3.5e-2)
+(f5 = 1
+AND f4 = .5
+has(f3, 0)
+f3 IN (f5, f3, 0.0000000001, f3, -1e-10)
+f4 IN ("a_b%", ' ', -10, 6.02e23, "xyz%")
+f6 IN (-10)
+(f4 LIKE 'test') OR (f3 BETWEEN "\t" AND f3)
+f1 =
+f4 IN (-1, f6)
+hasAll(f2, -.5)
+f2 BETWEEN .5 AND -1
+()
+f1 BETWEEN f4 AND -.5
+has(f4, 'test')
+f3 NOT LIKE "%wild%"
+f4 BETWEEN f1 AND 999999999999
+f1 IN ("a_b%", ' ')
+(f1 > 3.14) AND (hasAll(f1, "xyz%"))
+f4 BETWEEN 1e10 AND 999999999999
+f2 <= 0
+f2 NOT
+(f4 BETWEEN "%wild%" AND 999999999999) AND (f5 ILIKE '')
+hasToken(f1, "\t")
+f4 CONTAINS ''
+(f2 <> 0) OR (f3 IN (-10, 1, "\n"))
+f3 NOT CONTAINS "abc"
+hasAll(f3, "%wild%")
+f3 == f5
+f5 BETWEEN TRUE AND -3.5e-2
+hasAll(f2, -2.7)
+f3 = TRUE
+(f6 <> .5) OR (f6 BETWEEN "%wild%" AND '')
+f6 BETWEEN -3.5e-2 AND -.5
+hasAll(f1, f6)
+f2 = NULL
+f2 === ''
+hasToken(f3)
+f3 LIKE 'test'
+f5 IN (0, f4, .5, f1, -10)
+f3 BETWEEN AND -.5
+f5 IN (f2, "a_b%", f2, f5)
+f1 <> f2
+f5 NOT
+(f4 = ' ') OR (f1 > -3.5e-2)
+f2 BETWEEN "\n" AND "\n"
+hasAll(f2, f3)
+(f6 BETWEEN f6 AND 0.0000000001) AND ((f4 IN (.5)) AND ((hasToken(f6, -.5)) OR (f6 > "\t")))
+NOT
+hasAny(f3, f3)
+f1 BETWEEN 0 AND 0
+f5 REGEXP "\n"
+hasAll(f6, "hello world")
+((f3 IN (-1)) OR (f5 ILIKE "%wild%")) AND (f6 NOT REGEXP 'O''Reilly')
+f4 IN (-2.7, "\t", 1)
+f6 OR OR 10
+f4 IN (0.0000000001, f5, "%wild%", TRUE, -10)
+hasAny(f3, 'O''Reilly')
+f6 NOT ILIKE "abc"
+f6 =
+hasToken(f2, -3.5e-2)
+f6 BETWEEN f6 AND "a_b%"
+f2 BETWEEN TRUE AND "%wild%"
+has(f3, 1e10)
+f6 BETWEEN "\t" AND "a_b%"
+f2 NOT REGEXP "\t"
+f3 >= 6.02e23
+(f2 BETWEEN -.5 AND "abc") OR (f4 NOT LIKE 'O''Reilly')
+has(f3, "abc")
+f3 IN (f2, -1, 6.02e23)
+f1 NOT CONTAINS 'O''Reilly'
+f3 REGEXP "a_b%"
+f4 NOT LIKE "hello world"
+has(f2, 6.02e23)
+(f3 LIKE ' ') OR (f2 != 6.02e23)
+hasToken(f5)
+f3 IN ("a_b%", "%wild%", "%wild%")
+f2 NOT REGEXP "%wild%"
+f4 REGEXP 'test'
+f4 BETWEEN TRUE AND -1e-10
+hasAll(f1, TRUE)
+hasAny(f2, "\t")
+(f4 BETWEEN 1 AND 1e10) AND (f1 BETWEEN f2 AND '')
+f6 IN ()
+f6 BETWEEN AND -2.7
+hasAny(f4, .5)
+(hasAny(f6, "abc")) AND (has(f6, -3.5e-2))
+f6 ILIKE "xyz%"
+f2 IN (f4)
+f4 BETWEEN -1 AND 10
+f2 BETWEEN AND 6.02e23
+hasAll(f5, f5)
+hasAny(f4, 6.02e23)
+f2 BETWEEN -3.5e-2 AND 1
+f2 IN [1 2 3]
+(f4 LIKE "\n") OR (((f4 IN ("xyz%", "%wild%")) AND (f4 IN (f2, f3))) OR (f4 REGEXP "abc"))
+(hasToken(f3, "a_b%")) OR (f4 LIKE "%wild%")
+hasToken(f5, 6.02e23)
+f4 BETWEEN 10 AND -.5
+f4 BETWEEN -10 AND "\n"
+f1 LIKE "a_b%"
+f1 CONTAINS "abc"
+(f5 LIKE 'test') AND ((f4 REGEXP ' ') OR ((f4 BETWEEN -1e-10 AND .5) AND (f2 IN ('', "abc", '', "hello world", 3.14))))
+f1 =
+(f4 NOT LIKE "a_b%") AND (f4 >= -2.7)
+f4 < 10
+f4 BETWEEN '' AND f2
+f6 ILIKE "\t"
+f4 = NULL
+f4 > 1
+f3 = 6.02e23
+f5 IN (-3.5e-2, 0.0000000001, 1e10, -1)
+(hasAll(f4, f4)) OR ((((f3 <> f1) OR (f5 >= 'O''Reilly')) OR (f3 BETWEEN 6.02e23 AND "\n")) OR ((f1 BETWEEN 'test' AND 3.14) OR (f1 IN (999999999999, f2, 'test'))))
+(f2 <> f3) AND (f4 CONTAINS "\n")
+f6 IN ()
+f4 NOT
+f5 = 999999999999
+f3 NOT
+hasToken(f5, 999999999999)
+f2 IN (6.02e23, f2, -2.7)
+f1 = ''
+f1 OR OR -3.5e-2
+f4 BETWEEN AND .5
+f2 BETWEEN f5
+f5 BETWEEN f4 AND -2.7
+f1 BETWEEN 'test' AND f4
+f3 IS NULL
+f4 === 1e10
+hasAll(f1, ' ')
+f5 BETWEEN f6
+f5 IN (f2, 'test', -10)
+f1 != 999999999999
+f6 > f1
+f3 NOT LIKE "\n"
+f2 LIKE "xyz%"
+f5 IN ('test', f4, "abc")
+(f1 NOT LIKE "a_b%") OR (hasAny(f4, -.5))
+f1 BETWEEN f3 AND 1
+f5 IN (1, "a_b%", 0.0000000001)
+f2 != f2
+f2 IN (10, 999999999999)
+f6 OR OR 'test'
+f1 != -10
+(f5 ILIKE '') OR (hasToken(f1, TRUE))
+(f5 IN ("%wild%", f6, "\t", "\n", 0.0000000001)) OR (f3 REGEXP "xyz%")
+f2 != "%wild%"
+f6 BETWEEN "\n" AND f1
+f5 IN ("\n", 'O''Reilly', 1e10)
+f6 BETWEEN 'test' AND f2
+f3 === "abc"
+f1 BETWEEN 999999999999 AND f1
+()
+f2 IN (6.02e23, f3, "\n", 1)
+f1 BETWEEN f6 AND f4
+f3 BETWEEN f2 AND 3.14
+hasAny(f1)
+f2 NOT ILIKE "\t"
+f4 LIKE "abc"
+f3 BETWEEN ' ' AND f4
+f4 BETWEEN 0.0000000001 AND -.5
+f4 IN ('O''Reilly')
+f1 IN ("%wild%", "%wild%")
+f5 NOT ILIKE "\n"
+f4 IN [1 2 3]
+f4 IN (0.0000000001, "\t", "%wild%", "\n")
+f3 IN ("xyz%", f1, f5, 0.0000000001, 999999999999)
+f5 BETWEEN -10 AND -3.5e-2
+hasAll(f3, f3)
+f4 === f1
+f4 <= 1
+hasAny(f3, 10)
+(f2 BETWEEN f6 AND 1) AND (f6 BETWEEN f6 AND f5)
+f2 NOT ILIKE 'test'
+has(f5, "a_b%")
+f5 NOT
+NOT
+f1 = NULL
+f5 IN ('', '', 1, "%wild%", "a_b%")
+f2 IN (,)
+f5 IS NULL
+f5 IN ()
+f4 IN ('test', "a_b%", 6.02e23)
+f1 BETWEEN -.5 AND f4
+hasToken(f3, -1e-10)
+(f3 BETWEEN 10 AND -1e-10) OR ((f6 BETWEEN 3.14 AND -3.5e-2) OR (f1 IN (-1e-10, f1)))
+(has(f3, 1e10)) AND (hasAll(f1, -3.5e-2))
+has(f3, 1)
+f5 REGEXP "xyz%"
+(f3 BETWEEN 'O''Reilly' AND TRUE) AND (f5 == .5)
+f6 IN ("xyz%", f6)
+f1 NOT ILIKE 'test'
+(f6 ILIKE ' ') OR (has(f4, 1e10))
+f2 IN (.5)
+f5 BETWEEN 3.14 AND 999999999999
+f1 BETWEEN 3.14 AND 'test'
+f5 IN (-3.5e-2)
+has(f1, "\n")
+f3 IN (-1e-10, .5)
+()
+(f4 != 0.0000000001) OR ((f1 REGEXP "xyz%") OR (f1 <> 3.14))
+hasAll(f4, -1)
+f1 <> 999999999999
+f1 NOT
+f4 IS NULL
+f4 <> .5
+f6 BETWEEN f5 AND f6
+f6 = "a_b%"
+f6 IS NULL
+f5 IN ("hello world", "\t", "\t", "\t", "abc")
+NOT
+f1 = 'unclosed
+f4 > f5
+((hasAny(f2, "abc")) OR (f5 IN (f5))) AND (f5 BETWEEN "a_b%" AND 6.02e23)
+hasAll(f3, ' ')
+f2 == TRUE
+(f2 = f5
+f6 NOT
+hasToken(f3, TRUE)
+AND f3 = f4
+f1 BETWEEN f3 AND "%wild%"
+f5 BETWEEN f2 AND f4
+f3 > f6
+has(f1, "hello world")
+f3 >= 1e10
+(((f1 <= "\n") AND (f3 <= 1)) AND (f1 NOT LIKE '')) AND (f6 LIKE "a_b%")
+(f4 IN ("xyz%", 1e10, "\t")) AND (f5 REGEXP 'test')
+f3 = -1e-10
+((f3 IN (' ', TRUE, f1)) AND (f2 = 3.14)) AND (hasAny(f4, 6.02e23))
+f2 BETWEEN "\n" AND f4
+f6 IN [1 2 3]
+(f1 NOT ILIKE 'O''Reilly') AND ((hasToken(f1, '')) AND (has(f1, -1e-10)))
+(f2 < "xyz%") OR (f6 BETWEEN f4 AND f3)
+(f4 BETWEEN "%wild%" AND "%wild%") AND (f2 IN (' ', "xyz%", 'test', "\n", f1))
+f2 IN (f4)
+f6 =
+(f6 >= 999999999999) OR (f4 IN ('test', "a_b%", 1e10, 0.0000000001, "a_b%"))
+f6 NOT ILIKE ''
+f4 BETWEEN "hello world" AND f6
+((f1 == f2) AND (f5 NOT LIKE "hello world")) OR ((f4 IN (-10, "abc", -1, "hello world")) OR (has(f3, 'test')))
+(f3 BETWEEN ' ' AND 6.02e23) AND ((f2 NOT CONTAINS "a_b%") OR ((has(f5, 999999999999)) AND (f4 BETWEEN "a_b%" AND "\n")))
+f6 NOT CONTAINS "xyz%"
+f3 IN [1 2 3]
+f1 NOT LIKE 'O''Reilly'
+f3 OR OR "abc"
+f2 IN (,)
+(f1 LIKE ' ') AND ((f2 IN ("%wild%", -2.7)) AND (f6 = -3.5e-2))
+f4 OR OR 1
+f2 LIKE
+f1 = NULL
+f5 <= f1
+NOT
+f6 BETWEEN f1 AND f5
+hasToken(f4, 1e10)
+f1 IN ('test', "hello world", "%wild%", "\t")
+f4 BETWEEN f4 AND "\t"
+f1 IN (f6, -3.5e-2, f6, -2.7, f2)
+AND f3 = f4
+(f1 = 999999999999
+f3 IN ('', f2)
+f5 = f3
+AND f3 = "\n"
+f4 IN (f4, '', .5, -.5)
+hasToken(f2, 1)
+f2 IN (TRUE, 999999999999, -1e-10, -.5)
+f2 BETWEEN "xyz%" AND -.5
+f6 IN (-3.5e-2, 0.0000000001, f3, -.5)
+hasAll(f2)
+((f5 < 6.02e23) AND (f1 IN (f2, 0))) OR (f2 BETWEEN 0.0000000001 AND -1e-10)
+(hasAny(f5, "hello world")) OR (f6 NOT LIKE "hello world")
+f5 LIKE 'O''Reilly'
+f1 NOT REGEXP "\t"
+f4 CONTAINS ''
+(f3 NOT REGEXP "a_b%") OR (f6 IN (-2.7, ''))
+(f4 BETWEEN -3.5e-2 AND f1) OR (f3 <> 6.02e23)
+f2 CONTAINS ''
+hasAll(f2, -.5)
+has(f2, 0.0000000001)
+hasToken(f5, 999999999999)
+f6 > 1
+f5 > TRUE
+NOT
+(f6 NOT CONTAINS 'test') OR (f4 NOT CONTAINS "xyz%")
+f5 === 6.02e23
+f4 ILIKE "hello world"
+f5 IN ("abc", f2, 'test', 999999999999)
+f2 REGEXP "\n"
+has(f3, -1e-10)
+f3 IN (TRUE, '', f1)
+f6 BETWEEN AND ''
+(f6 != f3) AND (f6 CONTAINS 'test')
+f3 BETWEEN "\n" AND f3
+(f6 BETWEEN 999999999999 AND 'test') OR (f5 IN (-10, f1))
+f1 == -1
+f5 IN (f1, "\t", 1, f2, 999999999999)
+f6 OR OR -1e-10
+(f4 <= 10) AND (hasToken(f2, -2.7))
+f3 = "hello world")
+hasAll(f3, f5)
+(f6 = 1
+f5 <> f2
+f6 IN (f2, 3.14, f6, "abc")
+NOT
+f6 BETWEEN "a_b%" AND 10
+f5 <= "hello world"
+hasAny(f6, "xyz%")
+f3 LIKE
+f1 NOT ILIKE ''
+f5 = 999999999999
+f4 IN ('test', "\n", f1, 0, 'O''Reilly')
+f2 >= "\t"
+f4 IN (.5, 3.14, f1, 3.14)
+f3 = "abc"
+((f5 IN (f6, -10, -1, -1)) OR (f3 <> 999999999999)) AND (f2 IN (TRUE, "\t", 0, -2.7, 0.0000000001))
+f6 IN (1)
+f4 IN (0, -2.7)
+()
+(f5 < .5) AND (f6 NOT REGEXP "abc")
+f3 = NULL
+f5 = 'O''Reilly'
+f5 BETWEEN 999999999999 AND -3.5e-2
+f5 = 'unclosed
+f1 BETWEEN AND -1e-10
+f2 IS NULL
+f4 <= -2.7
+f4 BETWEEN -.5 AND -1
+f4 > -10
+f6 NOT LIKE "hello world"
+has(f4, -10)
+f6 != 0.0000000001
+f5 IN [1 2 3]
+f1 BETWEEN f1 AND 6.02e23
+f6 IN (f1, f6, -2.7)
+f5 === "\t"
+f1 BETWEEN 999999999999 AND f1
+f4 < -2.7
+f5 NOT
+hasAll(f2, f1)
+f3 IN (' ', 1, "\t", 0, "%wild%")
+()
+hasAll(f6, -1)
+f5 BETWEEN "hello world" AND 3.14
+((f5 IN (f3, f2, f1)) AND (f2 IN ('test', f3, "\t", "\n", 3.14))) OR (f1 BETWEEN -2.7 AND "\t")
+f3 IN [1 2 3]
+AND f2 = -.5
+()
+(f4 LIKE "xyz%") OR (f4 IN (f5, f5))
+AND f3 = -3.5e-2
+f2 IN ("%wild%", 6.02e23)
+(f1 > 'O''Reilly') OR (f4 != -2.7)
+f3 != 0
+(f2 IN (-1e-10)) AND (hasAll(f3, TRUE))
+hasAny(f5, 'test')
+f2 BETWEEN -.5 AND .5
+f2 < "xyz%"
+f2 NOT
+f6 BETWEEN f3 AND f4
+hasAll(f2, -1)
+NOT
+f1 <= 6.02e23
+f2 = NULL
+f3 IN (TRUE, 999999999999)
+f3 === -1e-10
+f2 IN (.5, -10, f3)
+has(f6)
+hasToken(f2, -3.5e-2)
+f4 IN (f4, f1, "\n", "\n")
+hasToken(f2, 'O''Reilly')
+(f1 ILIKE "abc") OR (f2 IN (999999999999))
+f5 NOT REGEXP "\n"
+f6 IN ("\t", -.5)
+(f3 NOT LIKE 'O''Reilly') OR (f1 BETWEEN .5 AND 0)
+f1 IN (,)
+f2 BETWEEN -10 AND f4
+f6 > 0.0000000001
+f3 BETWEEN f2 AND -3.5e-2
+has(f4, 3.14)
+f6 <> 'O''Reilly'
+f5 IN (f5, '', ' ', TRUE, -10)
+has(f5, f4)
+f6 != .5
+hasToken(f2, "xyz%")
+f2 ILIKE ' '
+f5 BETWEEN -3.5e-2
+f4 = 'test'
+(f6 IN (999999999999, "\t", f3, 'O''Reilly', f3)) OR ((f1 IN (1, 0.0000000001, "\t", "\n")) OR (f4 IN (0)))
+f4 ILIKE "hello world"
+()
+hasToken(f3, -.5)
+(hasAny(f2, 0)) OR (((f5 ILIKE "\t") AND (f4 CONTAINS "abc")) OR (hasAny(f3, -2.7)))
+f6 IN (999999999999, "%wild%", "hello world")
+has(f1, 'O''Reilly')
+hasAll(f4)
+(f6 LIKE 'O''Reilly') AND (f3 NOT LIKE "xyz%")
+(hasAll(f3, '')) OR (f1 BETWEEN "abc" AND f5)
+f1 BETWEEN 999999999999 AND TRUE
+(f5 IN (1e10, f5, "\t", f3)) OR (hasToken(f4, f5))
+f3 BETWEEN f1 AND -10
+f1 IN ("xyz%", -10, ' ', 0.0000000001)
+f5 =
+f4 NOT LIKE "a_b%"
+f1 IN (,)
+(f3 NOT CONTAINS "\n") AND (f3 = 3.14)
+(f1 CONTAINS 'O''Reilly') OR ((f3 == "%wild%") OR (f5 BETWEEN 1 AND "\n"))
+hasToken(f4, 0.0000000001)
+f1 BETWEEN "\t" AND .5
+f2 BETWEEN f3 AND 1e10
+f6 BETWEEN 1e10 AND 10
+f5 NOT CONTAINS "hello world"
+f3 IS NULL
+f6 > 'O''Reilly'
+f4 >= 999999999999
+f6 BETWEEN TRUE AND 0
+NOT
+hasAny(f4, ' ')
+f5 REGEXP 'test'
+AND f2 = "hello world"
+f6 CONTAINS "a_b%"
+f6 IN (f2, "\n", "\n")
+hasAll(f6, f2)
+f3 IN ("hello world", f2)
+f3 === "xyz%"
+f5 < "\t"
+f6 BETWEEN "xyz%" AND "%wild%"
+()
+(f4 IN (-1e-10, 1e10, .5, "abc", TRUE)) OR (f6 IN (-1, "hello world", 1, f4, 0.0000000001))
+f3 == ' '
+f2 ILIKE 'O''Reilly'
+f3 = 'unclosed
+f4 IN ("hello world", f1, "hello world", "\t")
+f6 LIKE
+f1 BETWEEN 'test' AND -10
+f1 != f5
+f5 NOT LIKE "\t"
+NOT
+f1 BETWEEN f1 AND 3.14
+f3 BETWEEN f2 AND ''
+f5 NOT ILIKE "a_b%"
+f6 IN (TRUE, -1)
+f1 CONTAINS ''
+f4 LIKE ' '
+((f5 BETWEEN 1e10 AND "abc") OR (f2 == -.5)) AND (f4 REGEXP "a_b%")
+hasAll(f5, -2.7)
+f2 BETWEEN f5 AND TRUE
+f4 OR OR -10
+f4 < -1
+f5 NOT ILIKE ''
+f4 IN ("hello world", f6, -1e-10, 0, 0.0000000001)
+f4 IN (f1, "%wild%")
+(f3 < -.5) OR (f5 BETWEEN 10 AND 0)
+f5 NOT ILIKE "\t"
+f3 NOT
+f5 = '')
+(f4 BETWEEN 10 AND .5) OR (f2 BETWEEN -1 AND -.5)
+hasToken(f6, "\n")
+f5 != "abc"
+f3 REGEXP "abc"
+f1 === ' '
+f6 BETWEEN ' ' AND 999999999999
+f1 IN ('test')
+f6 != -1
+f6 OR OR -1
+f6 IN (999999999999, ' ', f2, f5)
+f5 BETWEEN 6.02e23 AND "hello world"
+f3 = 'unclosed
+f2 OR OR f6
+f6 CONTAINS ''
+f6 IN [1 2 3]
+(f3 IN (f6, f3, "\n")) AND ((f6 < f6) OR (has(f6, "a_b%")))
+hasAny(f5, "xyz%")
+(f2 > 1) OR (f5 NOT REGEXP "a_b%")
+f5 IS NULL
+f3 IN (f2, f5, f5, "hello world")
+f3 BETWEEN 'test' AND .5
+hasAny(f4, 'test')
+f4 BETWEEN f4 AND -1
+f6 < "%wild%"
+AND f5 = 'O''Reilly'
+hasToken(f3, f5)
+f3 IN (0.0000000001, "%wild%", 1, -3.5e-2, f2)
+f5 IN ("\n")
+f2 BETWEEN f5 AND 6.02e23
+f3 NOT ILIKE "xyz%"
+f3 IN (,)
+f3 LIKE
+hasAny(f6, 999999999999)
+((f5 LIKE '') OR (f3 == 1)) OR ((f2 IN (f4)) AND (f3 IN ("a_b%", -3.5e-2, 3.14, f3)))
+f4 BETWEEN "\n" AND -1
+f5 BETWEEN AND "abc"
+has(f2, 3.14)
+f2 BETWEEN -1 AND -3.5e-2
+f1 <> "abc"
+hasAny(f4, f5)
+f1 BETWEEN "abc" AND f2
+(hasAny(f5, 'O''Reilly')) OR (f5 NOT LIKE "%wild%")
+f4 IN ()
+f6 BETWEEN "\t" AND f1
+f2 IN ('O''Reilly', "hello world", 1, "xyz%")
+hasAny(f2, f5)
+f4 NOT ILIKE ' '
+(hasToken(f1, f2)) OR (f5 IN (-3.5e-2, 'O''Reilly', "\n", f2, 3.14))
+f4 IN (999999999999, "%wild%", "abc", 3.14, "a_b%")
+f4 REGEXP "\t"
+has(f3, 6.02e23)
+hasToken(f1, "hello world")
+has(f5)
+((f4 IN (f5, -.5, 1e10, 10, 0.0000000001)) OR (f2 BETWEEN f5 AND "hello world")) AND (f6 NOT LIKE 'test')
+f3 NOT REGEXP ' '
+f3 > "a_b%"
+((((f3 >= f6) OR (f5 = 10)) OR (f1 IN ("\t", f4))) OR (f6 IN ("xyz%", 999999999999, TRUE))) AND (f4 BETWEEN -1 AND '')
+f4 IN (-1e-10, "xyz%", "xyz%")
+f3 != 3.14
+hasToken(f5)
+(f5 > 1) OR (f3 NOT LIKE 'test')
+has(f3, 3.14)
+f2 BETWEEN 1e10 AND f6
+f4 = 'unclosed
+f1 <= -1
+f6 IN ()
+f4 IN (TRUE, '', 1)
+f4 BETWEEN 1 AND 1e10
+has(f4, .5)
+f2 OR OR 0
+f4 == 0
+f2 BETWEEN -2.7 AND "\t"
+f3 NOT REGEXP 'test'
+AND f1 = f2
+f1 BETWEEN 1e10 AND TRUE
+f4 IN (1e10)
+f1 CONTAINS "a_b%"
+f4 != "xyz%"
+f3 IN (TRUE, f3)
+f1 =
+f6 IN (f5, -1, f1, 0)
+f1 != 3.14
+f4 >= -1e-10
+f2 IN [1 2 3]
+f4 > f4
+f4 === 6.02e23
+f4 IN ("%wild%", "%wild%", .5, 1, 6.02e23)
+f1 IN ("a_b%")
+has(f5, "a_b%")
+hasAny(f2, 'test')
+f6 IN (0.0000000001, TRUE)
+f1 BETWEEN "a_b%" AND f4
+f6 IN (-1e-10, f3, 10)
+has(f3, "\t")
+f3 NOT
+f2 > -3.5e-2
+(f6 BETWEEN f4 AND 3.14) OR ((f4 IN (-2.7, f3, "\n", f2, '')) AND (f5 IN (f5)))
+()
+(f4 <> "\n") OR ((f5 < 'O''Reilly') AND (f3 REGEXP "a_b%"))
+f6 =
+f2 LIKE ' '
+(f2 ILIKE ' ') AND (hasAny(f6, TRUE))
+f6 BETWEEN "\n" AND -10
+f5 LIKE "xyz%"
+hasToken(f2, 0)
+f5 < 0
+NOT
+((f4 NOT CONTAINS ' ') AND (f3 >= -.5)) OR (has(f2, -2.7))
+f6 CONTAINS 'O''Reilly'
+f4 NOT ILIKE "\t"
+hasToken(f3, .5)
+f2 IN [1 2 3]
+f6 LIKE
+((f6 NOT CONTAINS 'test') OR (hasAny(f1, .5))) OR ((f5 IN ('test', f5, f2, "abc")) OR (hasAll(f5, 'O''Reilly')))
+f3 BETWEEN "\n" AND f4
+f2 = "xyz%")
+f2 <= f5
+f5 <= -1e-10
+f6 BETWEEN -1 AND 999999999999
+f5 BETWEEN f4 AND 999999999999
+(hasToken(f2, '')) AND (f3 BETWEEN "%wild%" AND 1e10)
+f1 BETWEEN -.5 AND "hello world"
+f4 IN [1 2 3]
+AND f5 = 'test'
+f4 >= f6
+f2 < f2
+(f3 > f4) OR ((hasToken(f1, 'O''Reilly')) AND (f2 < 999999999999))
+f2 IN ("abc", f6, -10)
+f4 IN (-1, 6.02e23, f3)
+has(f3, -1e-10)
+(f6 NOT REGEXP "%wild%") AND (hasAny(f3, -1e-10))
+f5 CONTAINS ' '
+f5 LIKE
+(f3 != f5) OR (f5 IN (' ', "hello world"))
+AND f2 = 0
+f6 LIKE
+(f2 < f3) OR (f1 NOT LIKE "%wild%")
+(f2 REGEXP "a_b%") OR (f4 IN (0, 1e10))
+f2 = NULL
+f1 BETWEEN "hello world"
+f3 IS NULL
+f1 IN (-1e-10, "%wild%", -.5, -10)
+((f2 != 'test') AND (f3 CONTAINS "xyz%")) OR (hasAll(f1, f1))
+f5 > "hello world"
+f6 BETWEEN -1e-10 AND f1
+(f5 BETWEEN "%wild%" AND -10) OR (f6 NOT REGEXP '')
+(f6 > f4) AND (hasAll(f1, 1e10))
+f5 IN (-3.5e-2, 3.14)
+f1 IN (,)
+f2 > "\t"
+f5 LIKE
+f6 IN (,)
+f5 CONTAINS "%wild%"
+f5 IN (6.02e23)
+hasAny(f1, "\n")
+(hasToken(f1, 'O''Reilly')) OR ((hasAll(f1, -1e-10)) AND ((has(f6, -2.7)) AND (f1 BETWEEN "a_b%" AND -.5)))
+f4 IN (-3.5e-2, "abc", 'test', 1e10, "xyz%")
+hasToken(f1)
+f2 IS NULL
+(f4 = f5
+f3 === f5
+f6 = NULL
+f2 IN (,)
+()
+hasAny(f2, "\n")
+(f4 BETWEEN f1 AND 1) OR ((f2 IN (' ', f3)) AND (f5 > "abc"))
+f6 <= 1e10
+(f2 IN (f3, 10, ' ')) AND (f6 LIKE ' ')
+f6 < 'test'
+hasToken(f5, -1e-10)
+f4 BETWEEN -.5
+f3 IN [1 2 3]
+f2 <> -1
+hasAll(f1, 'test')
+f2 NOT REGEXP "xyz%"
+f6 = 0.0000000001)
+f6 IN (0, "%wild%", 1, "xyz%", -10)
+f2 ILIKE 'test'
+f6 NOT CONTAINS ''
+f4 IN ()
+f5 === 'O''Reilly'
+f5 IN ("abc", f5, 999999999999, -10)
+hasAny(f2, -2.7)
+f5 =
+has(f1, "abc")
+f5 IN (3.14, -1, -1)
+hasAll(f2, -10)
+f5 == f2
+hasToken(f3, -10)
+hasToken(f4, -1e-10)
+f3 >= 0
+f1 BETWEEN "hello world" AND -1e-10
+(f2 IN ('O''Reilly', 'O''Reilly')) AND (f1 <= '')
+f1 < "\t"
+f6 < .5
+f3 BETWEEN '' AND "%wild%"
+f4 = ' ')
+f6 = NULL
+(f1 IN (f6, f4)) OR ((f2 BETWEEN 3.14 AND 0.0000000001) OR ((f1 BETWEEN "hello world" AND f6) OR (f1 BETWEEN "hello world" AND '')))
+f3 IN (f6, TRUE, f6)
+f1 BETWEEN AND f3
+(f4 IN (f6, "%wild%", -1e-10)) AND (hasAll(f6, "abc"))
+(f3 < 'O''Reilly') AND (f5 BETWEEN 1e10 AND f2)
+hasAll(f3, 1)
+f2 OR OR 10
+hasAll(f6, 1e10)
+f3 IN ("%wild%", 0.0000000001, "a_b%")
+f4 <= f3
+hasAny(f5, -.5)
+f1 = NULL
+()
+f1 IN ('O''Reilly')
+f4 NOT LIKE ''
+f2 IN (-.5, 'test', 'O''Reilly', f5)
+f5 IN (TRUE, f4, 3.14, .5, 1)
+f5 BETWEEN AND f3
+(f1 BETWEEN f3 AND "abc") AND (f4 IN (f4, "xyz%", 10, 999999999999))
+f3 <> f6
+f4 =
+has(f1, -1e-10)
+hasAll(f4, "abc")
+f3 > "\n"
+f1 =
+f4 BETWEEN "hello world" AND -1e-10
+f3 BETWEEN "\n" AND f4
+(f4 BETWEEN -.5 AND "a_b%") AND ((f2 BETWEEN .5 AND -10) OR (f1 IN (.5)))
+f6 != 1
+f1 NOT ILIKE "%wild%"
+f1 BETWEEN -1 AND ''
+f2 = 'unclosed
+(f4 IN (.5)) OR (f6 > 'O''Reilly')
+f4 BETWEEN 3.14 AND "hello world"
+f3 BETWEEN AND "a_b%"
+f5 IN ('O''Reilly', -1, 1e10, -1e-10, -.5)
+hasAny(f3, ' ')
+((((f5 = "%wild%") AND (f4 > -1)) OR ((f5 == f2) AND (f3 < 'test'))) AND (f2 IN (f4, f5, f5))) OR (f3 IN ("\n", "xyz%", "abc"))
+f3 LIKE "abc"
+f5 ILIKE "%wild%"
+f2 NOT CONTAINS "a_b%"
+AND f2 = f3
+f1 IN (-3.5e-2, '', "xyz%", ' ')
+has(f4, 3.14)
+AND f1 = 6.02e23
+f6 >= 'test'
+(f2 != '') AND ((((f3 <> f6) OR (f3 != f3)) OR (f6 BETWEEN "abc" AND f1)) AND (f5 REGEXP "\n"))
+f3 IN (' ', ' ', f3)
+f2 >= -1e-10
+f6 REGEXP "\t"
+(f6 NOT LIKE '') AND (f2 BETWEEN "hello world" AND 1)
+hasToken(f2, -.5)
+f4 <= "hello world"
+(f3 <= "%wild%") OR (f1 != "\n")
+f1 = ' '
+f6 BETWEEN -.5 AND -3.5e-2
+((f5 IN (-3.5e-2, -.5, f2)) OR (f4 REGEXP "hello world")) AND (hasAll(f2, "xyz%"))
+f6 BETWEEN f3 AND -1e-10
+f6 BETWEEN f2 AND 999999999999
+(f1 BETWEEN ' ' AND .5) AND (f2 <= 0)
+f1 BETWEEN "xyz%" AND -1e-10
+f6 OR OR f5
+f1 > 1e10
+hasAny(f5, -10)
+f1 BETWEEN '' AND 10
+f2 BETWEEN f3 AND f2
+f2 BETWEEN AND -2.7
+f2 = NULL
+f5 >= 3.14
+hasAny(f1)
+f5 IN (f3, ' ', .5, f3, '')
+hasAny(f1, -3.5e-2)
+has(f5, f1)
+hasAll(f5)
+()
+f5 > -2.7
+f3 >= 1e10
+f4 BETWEEN f2
+f3 != -1
+f6 BETWEEN "hello world" AND "a_b%"
+f6 IN (,)
+f5 BETWEEN 'test' AND -2.7
+(f3 LIKE ' ') OR (hasAll(f5, "a_b%"))
+has(f1, 10)
+f4 ILIKE "%wild%"
+f5 >= "abc"
+f5 NOT REGEXP 'test'
+f1 != "hello world"
+f4 < ' '
+hasAny(f5, "xyz%")
+(f4 = f4
+hasAll(f4, "\t")
+f2 = NULL
+f4 IN (1e10, -10, 6.02e23, "abc")
+hasToken(f3, f6)
+(f3 = "%wild%"
+has(f5, "%wild%")
+hasAny(f5)
+f4 =
+f4 = 1
+f1 REGEXP 'test'
+f1 LIKE 'O''Reilly'
+f6 >= 'O''Reilly'
+f3 = f3)
+f3 >= f5
+()
+f1 IN (-3.5e-2, f5, f6)
+f6 BETWEEN -10 AND "xyz%"
+(hasToken(f5, 1e10)) OR (f6 BETWEEN "xyz%" AND 1e10)
+f2 BETWEEN 999999999999 AND 0.0000000001
+hasAny(f5, .5)
+f1 >= .5
+f6 BETWEEN 0 AND 'test'
+hasAll(f3, TRUE)
+f1 NOT REGEXP "\t"
+((f4 LIKE 'O''Reilly') OR (f5 NOT ILIKE "\n")) AND (f4 < '')
+f4 NOT CONTAINS "%wild%"
+AND f4 = "\n"
+(f6 IN (f1, 'O''Reilly')) OR (f2 IN (f5))
+f5 IN (f5, -.5, f6, f5, 6.02e23)
+f6 IN (6.02e23, -3.5e-2, 0)
+(has(f3, TRUE)) AND (hasToken(f5, 0.0000000001))
+f6 REGEXP "abc"
+f2 REGEXP "%wild%"
+f4 = 'unclosed
+(hasAny(f2, 1)) AND (f1 < 1)
+f5 IN ("a_b%", "%wild%", f5, "a_b%", '')
+f3 IN ("\t", -2.7)
+f2 IN (f3, "xyz%", ' ', f3)
+hasAll(f2, -10)
+f5 = "\t")
+f4 BETWEEN "xyz%"
+f4 = NULL
+f5 BETWEEN -1e-10 AND "\t"
+f6 = -1e-10)
+(f1 = -.5) OR (f5 = "a_b%")
+f6 OR OR -2.7
+hasAll(f1, ' ')
+f2 REGEXP 'O''Reilly'
+f2 BETWEEN -1 AND -2.7
+f4 NOT ILIKE "\t"
+AND f5 = ' '
+(f3 = "abc") AND ((f3 IN ('test', -10, "hello world", -3.5e-2, 10)) AND (f5 IN (-1e-10, ' ', 10)))
+f1 IN (999999999999, "abc", 1e10, f6, 10)
+f6 IN ()
+hasToken(f1, f4)
+hasAny(f2, "%wild%")
+f2 BETWEEN f5 AND f4
+f4 BETWEEN f1 AND ' '
+f4 NOT LIKE ' '
+f4 IN ("%wild%", "a_b%")
+f3 >= -2.7
+f4 CONTAINS "xyz%"
+(hasAny(f2, "hello world")) AND (f6 LIKE "hello world")
+f3 === 999999999999
+(hasAll(f6, f6)) AND (f4 IN (-1e-10, 999999999999, -10, -.5))
+hasAny(f1, f2)
+f6 IN ()
+f2 IN ()
+(f2 IN ("xyz%", 999999999999, "\t", "hello world")) OR (f2 IN (TRUE, 3.14))
+f6 BETWEEN 0 AND 10
+f2 BETWEEN f2 AND "\t"
+f3 BETWEEN -3.5e-2 AND f3
+(f5 NOT REGEXP "\t") OR (f1 <> -1e-10)
+f2 IN (0)
+f1 <= 999999999999
+f3 BETWEEN f6 AND f1
+f4 NOT REGEXP 'O''Reilly'
+has(f4, f4)
+(f6 LIKE 'test') OR (f4 IN (0.0000000001, 1e10))
+f3 CONTAINS ''
+f3 < TRUE
+f1 IN ("a_b%", f5, 999999999999, "a_b%")
+f1 IN [1 2 3]
+f1 LIKE "\t"
+AND f2 = f2
+hasAny(f2, -.5)
+(f3 IN ('', -1e-10, f3, -.5)) AND (f4 CONTAINS "abc")
+f2 IN ('O''Reilly', 999999999999, 10, 1e10)
+f1 NOT LIKE 'test'
+f2 = 'unclosed
+f5 BETWEEN '' AND -1
+(f5 IN (-.5, "xyz%", 1, f3)) OR (((f2 IN (10, f3, 999999999999, 'test', f5)) OR (f6 LIKE "abc")) OR (hasAll(f2, 'O''Reilly')))
+f4 REGEXP ''
+(((f5 BETWEEN TRUE AND f6) AND ((f3 = "a_b%") OR (f5 != "%wild%"))) OR (f5 BETWEEN f4 AND 1e10)) OR (f5 ILIKE 'test')
+f2 = NULL
+f6 = f1)
+f3 == 'O''Reilly'
+(f5 = "\n") OR (f5 BETWEEN "\n" AND f4)
+NOT
+hasAny(f5)
+f5 IN [1 2 3]
+f6 BETWEEN 999999999999 AND f5
+f5 = 'unclosed
+f2 IN (0)
+f5 BETWEEN -2.7 AND ''
+f2 <> "\t"
+((f1 IN (1e10, 3.14, -3.5e-2, f5, -1)) AND (f1 BETWEEN f1 AND f4)) AND (f1 != ' ')
+f1 BETWEEN f3 AND f5
+f5 LIKE "abc"
+(((f4 <= "%wild%") AND (f3 BETWEEN 'O''Reilly' AND "abc")) OR (f5 BETWEEN f4 AND .5)) OR (f3 < f5)
+has(f1, f3)
+f1 BETWEEN AND f2
+f6 BETWEEN 0 AND -1e-10
+((f2 BETWEEN -3.5e-2 AND .5) OR ((f1 > 999999999999) AND (f6 IN (0.0000000001)))) AND ((f2 IN ("\n", -3.5e-2, '', 6.02e23)) AND (f1 BETWEEN 0.0000000001 AND .5))
+f5 NOT REGEXP 'O''Reilly'
+(f4 BETWEEN f5 AND 1) AND ((f4 NOT LIKE "xyz%") OR (f6 CONTAINS "hello world"))
+f1 === -2.7
+f1 BETWEEN -3.5e-2 AND -3.5e-2
+has(f3, f4)
+f2 IN ('test')
+f1 IS NULL
+f1 IN ("xyz%", f6, "a_b%", -3.5e-2, 'test')
+f4 LIKE 'test'
+f5 IS NULL
+(f3 <> "a_b%") OR ((f4 != f2) AND (f6 NOT CONTAINS 'test'))
+f2 IN ()
+f1 BETWEEN AND -1e-10
+f3 BETWEEN -1 AND "\t"
+f6 >= "hello world"
+f4 IN [1 2 3]
+hasToken(f5, -1e-10)
+f2 < 10
+(f3 < 3.14) AND (has(f6, 10))
+f1 IN ()
+f2 IN ("\t", 1, -2.7)
+has(f2, f2)
+f1 IN (f3, -1, -.5, 6.02e23)
+hasAll(f1, ' ')
+AND f3 = f6
+f6 IN (1e10, "hello world", f4, "abc", '')
+f2 NOT CONTAINS "hello world"
+f2 BETWEEN "%wild%" AND f4
+f6 = 'unclosed
+hasToken(f3, 'test')
+f2 IN ("abc", 0.0000000001, "a_b%", "\t")
+f3 = NULL
+f2 BETWEEN 'O''Reilly' AND 0
+f6 BETWEEN AND -3.5e-2
+(f3 <= -1e-10) OR ((f4 BETWEEN 999999999999 AND "\t") AND (hasToken(f5, 1e10)))
+f2 LIKE
+(f3 BETWEEN 'test' AND 6.02e23) AND (f1 >= "%wild%")
+hasAll(f3, "%wild%")
+f2 IN ('O''Reilly')
+(f2 NOT LIKE "a_b%") AND (f5 BETWEEN .5 AND .5)
+f4 IS NULL
+f6 NOT ILIKE "a_b%"
+hasToken(f5, '')
+f5 NOT
+(hasAll(f2, f4)) AND ((f3 >= -3.5e-2) OR (f6 IN (-10, 1)))
+f2 < "\t"
+f2 = "hello world")
+f6 CONTAINS "xyz%"
+f5 CONTAINS 'test'
+f5 IN (6.02e23)
+f1 IS NULL
+has(f1, -2.7)
+f3 BETWEEN AND 0
+f2 CONTAINS ''
+AND f6 = .5
+f5 CONTAINS "%wild%"
+(hasAny(f3, -1)) AND ((f1 IN ("hello world", -.5, "xyz%")) OR (f6 >= 0.0000000001))
+f2 IS NULL
+f6 BETWEEN f6
+f5 NOT CONTAINS "\t"
+f6 BETWEEN AND 999999999999
+f5 BETWEEN "hello world" AND -2.7
+f2 IN (10, "abc", "%wild%", f1, 1)
+f5 IN (,)
+f1 NOT CONTAINS "a_b%"
+(f2 = -3.5e-2
+(f5 = -.5) OR (f5 IN (10, f6, ' '))
+hasAll(f5)
+f6 NOT REGEXP "abc"
+AND f6 = ''
+f2 BETWEEN "%wild%" AND 'test'
+has(f6, 3.14)
+f2 IN (f4, 1e10)
+hasToken(f6, "a_b%")
+f2 NOT
+f1 < 3.14
+(f3 BETWEEN 6.02e23 AND TRUE) OR (f3 NOT ILIKE '')
+((f4 NOT ILIKE "a_b%") AND (hasToken(f3, -10))) OR (f6 BETWEEN f1 AND -3.5e-2)
+f5 > 6.02e23
+f2 BETWEEN "xyz%" AND TRUE
+hasToken(f5, f5)
+f5 BETWEEN 1e10 AND "\n"
+f5 IN ()
+f4 IN (,)
+(f4 BETWEEN f1 AND 10) AND (((f1 BETWEEN 0.0000000001 AND f4) AND ((f6 == -1) AND (f4 >= TRUE))) OR (f4 NOT CONTAINS 'test'))
+f3 = 'unclosed
+hasAll(f1, "xyz%")
+(f1 = -.5) OR (hasAll(f2, ''))
+f5 != -1e-10
+f6 BETWEEN 3.14 AND 999999999999
+(f6 IN ("a_b%", "%wild%", 1, f3, 1)) AND (f3 LIKE "%wild%")
+f1 CONTAINS ' '
+f3 == 'O''Reilly'
+hasToken(f4, -3.5e-2)
+f3 NOT ILIKE 'O''Reilly'
+f6 NOT CONTAINS 'test'
+has(f3, f1)
+f2 NOT REGEXP "hello world"
+f2 BETWEEN '' AND f6
+f4 NOT LIKE "hello world"
+f5 BETWEEN "xyz%" AND 3.14
+(f5 IN (3.14, "\n", "%wild%")) AND (((f3 IN ('test', 'O''Reilly', f1, "xyz%")) OR (f2 BETWEEN 0 AND 1)) OR (f3 != 'O''Reilly'))
+NOT
+f5 NOT REGEXP "abc"
+(f4 LIKE "\n") AND (f4 ILIKE "\t")
+f1 BETWEEN AND -.5
+has(f4)
+f6 >= -.5
+f6 OR OR "a_b%"
+f6 BETWEEN f6 AND -1e-10
+(f5 = 10
+hasAll(f1, ' ')
+f6 > ''
+hasToken(f6)
+f6 LIKE "a_b%"
+f3 IN (TRUE)
+f2 <> "%wild%"
+f2 BETWEEN -.5 AND "xyz%"
+AND f1 = 6.02e23
+f5 NOT CONTAINS 'O''Reilly'
+(hasAll(f4, f4)) OR ((f5 <= 0.0000000001) AND (f2 IN (10, "xyz%", 999999999999, "\n")))
+f2 BETWEEN ' ' AND 3.14
+f2 BETWEEN 0 AND .5
+f4 IN (0, .5, f5, "\n", 999999999999)
+hasAny(f5)
+f1 = ' ')
+(f4 IN ('', "\t", 'test', -3.5e-2)) OR (f1 < 0)
+f6 IN (,)
+f2 = "%wild%")
+hasAny(f5, 0)
+f5 IN ()
+f6 != f6
+(f4 = "\t"
+hasToken(f3, 1e10)
+(f4 BETWEEN "a_b%" AND f6) OR (f1 IN (-1e-10, f5))
+((has(f3, 0.0000000001)) OR (f2 IN (-1e-10, -2.7, -1e-10))) AND (((f6 BETWEEN f2 AND "%wild%") OR (f1 NOT REGEXP "abc")) AND (f3 <= f6))
+f4 == -.5
+f3 ILIKE 'O''Reilly'
+NOT
+f1 NOT
+f4 BETWEEN 3.14 AND TRUE
+f4 NOT
+has(f6, -.5)
+hasAll(f3, -1e-10)
+((f4 CONTAINS "%wild%") AND ((hasToken(f5, "%wild%")) OR (f6 = 3.14))) OR (hasToken(f3, f2))
+f2 BETWEEN '' AND -1e-10
+f1 < 3.14
+f1 CONTAINS "%wild%"
+f6 IN (TRUE, -1)
+f5 LIKE ' '
+(f2 <> -2.7) AND (f1 BETWEEN f1 AND "\t")
+f4 NOT
+f3 CONTAINS ' '
+(has(f6, ' ')) OR ((f3 NOT ILIKE "\n") OR (f4 LIKE "a_b%"))
+f2 NOT ILIKE "xyz%"
+(f5 > "hello world") OR (hasToken(f6, "abc"))
+f3 <= .5
+f3 BETWEEN 999999999999 AND -2.7
+hasToken(f2, TRUE)
+f4 IN (10, -1, "a_b%", 10, 'O''Reilly')
+f3 <= .5
+f5 = 'unclosed
+f3 IN (f2, 0.0000000001, 'O''Reilly', f5)
+f5 NOT ILIKE "\n"
+f5 < -2.7
+hasAll(f5, "\n")
+hasAny(f2, -2.7)
+f3 < -.5
+f5 OR OR 3.14
+(hasAny(f3, 'test')) AND (f3 BETWEEN f2 AND -1)
+f2 BETWEEN "abc" AND f2
+f4 CONTAINS "abc"
+()
+f3 REGEXP "\t"
+f1 BETWEEN -2.7 AND f6
+f2 BETWEEN 999999999999 AND f2
+f4 BETWEEN "\n" AND "abc"
+f4 == ' '
+NOT
+f4 IN ("\t", f2, f5, -10)
+(hasAny(f5, -1)) AND (f2 >= "a_b%")
+f3 =
+f5 NOT CONTAINS "xyz%"
+(f5 IN (1e10, "\n", "a_b%", "%wild%")) OR (f2 <= 'test')
+f4 REGEXP "a_b%"
+(f2 IN (' ', 1e10, ' ', f2)) OR (f6 IN (6.02e23, "a_b%", -.5, TRUE, 10))
+has(f3, -2.7)
+f3 = f3)
+f4 LIKE "\t"
+(hasAny(f1, f6)) AND (f5 <> "xyz%")
+(f4 BETWEEN "a_b%" AND f6) OR (f2 < ' ')
+(f5 BETWEEN 6.02e23 AND "abc") OR (hasAny(f3, "hello world"))
+f4 = 'unclosed
+f6 <> -3.5e-2
+(f6 = -3.5e-2
+f6 REGEXP ' '
+f2 BETWEEN f4 AND 1
+hasAll(f3, f4)
+f6 ILIKE "%wild%"
+has(f2, 6.02e23)
+has(f3, 1e10)
+f6 IN [1 2 3]
+(hasAll(f3, "%wild%")) OR (f1 IN (-3.5e-2, "a_b%", "abc", 3.14, "xyz%"))
+AND f1 = ' '
+f3 BETWEEN 'O''Reilly' AND 0
+f5 CONTAINS "a_b%"
+f5 CONTAINS "\t"
+f2 BETWEEN '' AND 10
+f5 BETWEEN TRUE AND "a_b%"
+(f4 IN (10, 1e10, 999999999999, 1)) AND (f5 IN (1e10, 'test', "\t", f3))
+()
+f1 >= -3.5e-2
+f5 BETWEEN 0 AND "abc"
+f6 = 3.14)
+f2 = "\n")
+f4 ILIKE "hello world"
+f3 IN (-10, 'test', 0)
+f4 IN ("\n", 6.02e23, -3.5e-2, ' ', -10)
+f1 BETWEEN AND 0
+f2 <= 0
+has(f1, f2)
+(f5 BETWEEN -2.7 AND "\n") AND (f3 IN (1))
+(hasAll(f5, "a_b%")) OR (f2 BETWEEN -10 AND f1)
+f6 BETWEEN "hello world" AND 6.02e23
+f5 =
+f5 BETWEEN '' AND 1
+(f3 = f1) OR (f1 REGEXP '')
+f6 BETWEEN -1e-10 AND .5
+f3 >= "a_b%"
+(f5 BETWEEN -3.5e-2 AND 'test') AND (f1 BETWEEN 1e10 AND f6)
+f5 IS NULL
+f5 BETWEEN f1
+has(f4)
+hasAny(f6)
+hasAll(f3, 10)
+()
+()
+f2 BETWEEN -1 AND f6
+f3 = "hello world"
+f5 IS NULL
+f1 = f4
+f4 IN (0.0000000001, -2.7, -10, f4, .5)
+f6 IN (1)
+f3 IN (f6, "hello world", "\t", "%wild%")
+f2 NOT CONTAINS 'O''Reilly'
+(f5 = 0.0000000001
+f4 IN (-2.7, 6.02e23, 0)
+hasAny(f1, f1)
+f5 BETWEEN 6.02e23 AND ' '
+f2 =
+hasAll(f6, f4)
+f3 = 'unclosed
+hasToken(f1, "a_b%")
+(f2 > "abc") OR (f3 ILIKE "\n")
+(f5 = ''
+(f2 IN (f3, "abc")) OR ((f1 < f5) OR (f3 REGEXP ' '))
+(f1 REGEXP "\n") AND (hasToken(f4, -10))
+f4 IN (f4, f2, 0.0000000001)
+f1 <> "xyz%"
+f2 CONTAINS ''
+f6 NOT
+(f1 = f1
+f2 NOT ILIKE "%wild%"
+f1 = "xyz%"
+f4 IN (TRUE, f2, .5, 6.02e23, "\n")
+f6 ILIKE ''
+f5 IN [1 2 3]
+f5 = 'unclosed
+f1 BETWEEN "hello world" AND 999999999999
+f2 NOT LIKE ''
+hasToken(f4, 1)
+f4 < "xyz%"
+f3 < 0
+(f1 IN ('', TRUE, -1, 6.02e23)) AND (f1 <= 'O''Reilly')
+f1 IN (,)
+f6 BETWEEN "hello world" AND "xyz%"
+f6 BETWEEN f4
+f4 = 'unclosed
+f6 = 'unclosed
+f6 == f4
+f6 BETWEEN 1 AND "xyz%"
+f3 BETWEEN "\n" AND 10
+f2 == TRUE
+f4 NOT REGEXP "hello world"
+f4 == 6.02e23
+f5 IN (,)
+(f5 BETWEEN 1 AND 'test') AND (has(f5, f5))
+f4 IN (,)
+f4 <> -10
+f4 IN (f4, -.5, "%wild%")
+f4 IN (f6, -3.5e-2, -1, 999999999999)
+f4 == "a_b%"
+(f6 != "\t") AND (f3 BETWEEN 1 AND f4)
+f2 BETWEEN 10 AND f1
+f4 NOT REGEXP 'O''Reilly'
+f2 IN ("hello world", -3.5e-2)
+((hasAny(f3, "%wild%")) AND ((hasToken(f6, -10)) OR (has(f6, '')))) AND (f5 BETWEEN -1 AND "%wild%")
+f1 BETWEEN 0.0000000001 AND "\n"
+f4 BETWEEN ''
+f1 NOT REGEXP "\t"
+f1 NOT REGEXP "hello world"
+f1 IN ("\t", f5, "hello world", 'test', 3.14)
+f3 BETWEEN f1 AND 1e10
+(f3 = 1
+f6 IN (-10, '', 3.14)
+hasAll(f4, -10)
+f2 NOT
+f3 NOT
+f4 < "\n"
+f6 BETWEEN f1 AND "%wild%"
+f2 BETWEEN "xyz%" AND f2
+(f1 == "hello world") AND (f5 BETWEEN f2 AND -10)
+has(f3, "xyz%")
+f5 IN (-.5)
+()
+f5 = 'unclosed
+f3 = .5
+f3 <= 0.0000000001
+((f5 LIKE "\t") AND (f2 == -2.7)) OR ((hasToken(f3, 1)) AND ((f3 BETWEEN f1 AND f2) OR (f2 IN (.5, 6.02e23, ' ', -1e-10, "\t"))))
+f1 =
+f2 OR OR f1
+f4 <= ' '
+has(f6, 999999999999)
+hasAll(f5, 10)
+hasToken(f5, 'test')
+f3 NOT REGEXP "abc"
+f6 BETWEEN "a_b%" AND -1e-10
+f2 NOT
+f4 BETWEEN -2.7 AND 999999999999
+hasAll(f3, f5)
+has(f4, f6)
+(hasAny(f2, 'O''Reilly')) AND (hasAll(f2, "hello world"))
+f2 IN (f6, ' ', f6, .5)
+f4 <= ''
+f2 BETWEEN '' AND TRUE
+f4 = NULL
+f1 IN (999999999999, ' ', "%wild%", f4, -1)
+f5 BETWEEN 1 AND 3.14
+(f4 = 1
+hasAll(f3, f3)
+f6 IN ("hello world", -2.7)
+NOT
+(f4 LIKE "%wild%") OR (((f4 ILIKE "abc") AND (f6 = 'test')) AND (hasAll(f2, "abc")))
+hasToken(f2, 1)
+AND f6 = f4
+hasAny(f2, -.5)
+f4 IN (f2, 1e10, f3, f3)
+f6 NOT REGEXP "abc"
+f6 > 1e10
+f5 IN (f1, -1, 0.0000000001)
+f5 BETWEEN 0.0000000001 AND "\t"
+hasAll(f4, 1e10)
+f1 = NULL
+f5 NOT ILIKE "\t"
+hasAny(f3, -.5)
+f2 > 'O''Reilly'
+f6 NOT CONTAINS "\n"
+f4 IN [1 2 3]
+((has(f2, .5)) OR ((f2 BETWEEN "%wild%" AND 10) AND (hasToken(f3, 999999999999)))) OR (f5 CONTAINS "hello world")
+f5 BETWEEN "\n" AND ' '
+hasToken(f5, f3)
+(hasAny(f6, -.5)) AND (f5 == 1)
+f1 BETWEEN TRUE
+f3 NOT REGEXP "xyz%"
+hasToken(f1, f2)
+(f6 = 0) OR ((hasToken(f6, 1e10)) OR (f6 BETWEEN 1e10 AND f4))
+f6 OR OR 'O''Reilly'
+f5 >= 6.02e23
+f2 <> "xyz%"
+f3 BETWEEN 0.0000000001 AND f1
+((f4 NOT ILIKE 'O''Reilly') AND (f3 NOT CONTAINS "a_b%")) AND (f6 BETWEEN -10 AND 0)
+(f5 NOT LIKE 'O''Reilly') AND (f4 NOT LIKE "\t")
+(f6 = f4
+(hasAll(f4, f4)) AND ((f1 ILIKE 'O''Reilly') AND (f4 IN (f6, "abc", 10, 999999999999)))
+f4 BETWEEN '' AND 6.02e23
+f3 BETWEEN AND f2
+f5 BETWEEN 0.0000000001 AND 'O''Reilly'
+(f4 = "xyz%"
+f1 BETWEEN "\t" AND 1e10
+f4 BETWEEN 0.0000000001
+f2 LIKE "abc"
+f4 BETWEEN 6.02e23 AND .5
+f1 BETWEEN AND ' '
+f5 OR OR f4
+f4 OR OR f4
+has(f5, f4)
+f6 BETWEEN "\n" AND -2.7
+(f4 BETWEEN 0 AND 10) AND (hasAny(f2, -2.7))
+f4 BETWEEN f6 AND -1e-10
+f4 IN (-3.5e-2)
+f5 REGEXP "xyz%"
+f1 ILIKE "\n"
+f5 = f4)
+f3 IN (-3.5e-2, 6.02e23, 0.0000000001, '', '')
+()
+f6 OR OR f2
+f3 BETWEEN TRUE AND 'O''Reilly'
+f4 BETWEEN 'O''Reilly' AND f5
+f6 IN ("a_b%", -1, f3)
+has(f2, 0)
+f1 =
+f5 IN (0)
+f1 = TRUE
+f3 REGEXP ' '
+hasToken(f2, f1)
+f6 REGEXP "%wild%"
+f2 = 'unclosed
+f5 =
+f3 NOT ILIKE ''
+f4 =
+(f4 IN (TRUE, 1)) OR ((f2 NOT LIKE 'O''Reilly') OR (hasToken(f4, "abc")))
+has(f4)
+f2 IN (f2, ' ', f2, 'O''Reilly', f6)
+(f6 IN (f2, .5, "abc")) AND ((hasAll(f3, "xyz%")) OR (f4 <> "a_b%"))
+f3 NOT CONTAINS ' '
+f4 BETWEEN -3.5e-2 AND 3.14
+hasToken(f3, f2)
+f5 == f4
+f5 NOT ILIKE "hello world"
+has(f1, 10)
+f3 < ' '
+f2 CONTAINS "a_b%"
+f1 IN (-10, 0.0000000001, "hello world")
+f3 BETWEEN TRUE AND -.5
+f6 BETWEEN 0.0000000001
+f2 IN (f4, "a_b%", 1)
+f5 BETWEEN 1e10 AND .5
+f5 >= f5
+f3 BETWEEN AND f4
+f4 NOT ILIKE "\n"
+hasAny(f6, f1)
+f4 NOT
+f6 IS NULL
+((f3 ILIKE ' ') AND (f3 IN ("abc", 1, "%wild%", 'O''Reilly'))) AND ((f4 NOT LIKE "xyz%") OR (f3 NOT ILIKE "\n"))
+(f3 BETWEEN "a_b%" AND 3.14) OR ((hasAll(f6, 0)) OR (f6 IN (-1e-10, 0, '')))
+f3 NOT CONTAINS "hello world"
+f5 BETWEEN '' AND -1
+f6 === 3.14
+f5 BETWEEN -2.7 AND "a_b%"
+f5 BETWEEN f2 AND 1
+f2 IN (,)
+f1 NOT CONTAINS 'test'
+f6 NOT ILIKE "\n"
+hasAny(f3, -1)
+f6 IN (999999999999, f1, .5, f1, f2)
+hasToken(f4, "%wild%")
+f4 >= f4
+f5 IN (f2, "abc", "a_b%")
+f3 >= f4
+f2 =
+f3 IN (f2, 6.02e23, 999999999999, "%wild%", f5)
+f4 IN (-1, 1)
+f1 < 3.14
+f6 REGEXP "\n"
+f4 LIKE ''
+f6 NOT LIKE "xyz%"
+f6 IN (f1, 3.14, 0.0000000001, 'test')
+f4 IN (-1, -1, -1)
+f3 IN [1 2 3]
+f6 <= 'O''Reilly'
+f5 IN ("%wild%", f1)
+((f6 <> "\t") AND (hasToken(f2, 'test'))) OR (f2 BETWEEN 'O''Reilly' AND '')
+has(f6, f5)
+(f3 BETWEEN -10 AND 'test') AND (f3 IN (TRUE, "\t", "abc", -1, -1))
+f3 IN (1, "hello world")
+(hasToken(f6, f5)) AND (f1 IN (0, "\n", .5))
+f5 >= 999999999999
+f5 == "\t"
+()
+f1 <= "xyz%"
+f4 ILIKE "a_b%"
+f2 > 0.0000000001
+f4 BETWEEN "\t" AND f6
+f2 BETWEEN ' ' AND f5
+f6 LIKE
+f6 BETWEEN 0.0000000001 AND 3.14
+f4 NOT
+f3 LIKE 'O''Reilly'
+f3 != f1
+f6 IN (6.02e23, TRUE, 'test', '', "xyz%")
+(f2 >= -1) OR (hasToken(f5, f1))
+hasAny(f2, f2)
+f3 ILIKE 'O''Reilly'
+f4 NOT
+f4 BETWEEN .5 AND -1e-10
+f2 IN (' ', "%wild%", "\n")
+f2 BETWEEN f1 AND 6.02e23
+AND f2 = .5
+f6 BETWEEN AND ''
+f6 IN (1e10, 0, f2, -3.5e-2, f4)
+f2 NOT ILIKE 'O''Reilly'
+((f4 BETWEEN -2.7 AND "abc") AND (f4 ILIKE ' ')) AND (f2 BETWEEN TRUE AND -.5)
+(f3 CONTAINS "\n") OR (has(f5, 'test'))
+f5 = 'unclosed
+f6 IN (-3.5e-2, "\t", TRUE, f6)
+hasAll(f1, 0.0000000001)
+f4 NOT ILIKE "hello world"
+f4 == 999999999999
+f4 = 'unclosed
+((f5 = -2.7) OR (f3 LIKE "hello world")) AND (f2 LIKE "xyz%")
+f2 IN [1 2 3]
+f3 >= "abc"
+f3 == 1
+f1 CONTAINS "hello world"
+f3 LIKE 'O''Reilly'
+f4 BETWEEN 1e10 AND 6.02e23
+f5 ILIKE "hello world"
+AND f3 = 6.02e23
+has(f3, -10)
+f5 NOT CONTAINS "\t"
+f6 BETWEEN -10 AND -1
+hasAll(f4, 1e10)
+()
+f6 BETWEEN AND -3.5e-2
+f1 REGEXP 'test'
+f5 BETWEEN 0 AND 6.02e23
+f3 <= 1e10
+f4 = 1e10
+f3 === f6
+hasAll(f1, 1e10)
+f2 BETWEEN -.5 AND f3
+f3 BETWEEN "xyz%" AND -1
+hasAny(f6, 'test')
+f3 IN (3.14, f6)
+f3 IN ("hello world", f3, 10, 10, f4)
+f5 OR OR TRUE
+(f6 IN ("hello world")) OR (hasToken(f2, ''))
+((f5 = -1e-10) AND (f2 NOT LIKE "\t")) AND (f3 BETWEEN f6 AND 0)
+f2 BETWEEN .5 AND ''
+hasAll(f4, 1)
+f3 <= 1
+hasAny(f6, 999999999999)
+f4 != 1e10
+hasToken(f4)
+f1 REGEXP "abc"
+f2 IN [1 2 3]
+f6 REGEXP "abc"
+f5 > 1
+has(f6, 0)
+f3 OR OR TRUE
+f2 NOT REGEXP "hello world"
+f6 BETWEEN 1 AND 6.02e23
+hasToken(f4, -2.7)
+f3 CONTAINS "abc"
+hasAny(f2, '')
+f4 = NULL
+f2 BETWEEN f5 AND f5
+(f4 BETWEEN .5 AND "a_b%") OR (has(f5, "\t"))
+f5 NOT
+f1 IN ('test', f6)
+f3 IN (f2, 999999999999, -10, 999999999999)
+((f5 = TRUE) OR (hasAll(f3, "a_b%"))) AND (hasToken(f3, 0))
+f1 == f5
+f4 = "\n"
+(f1 != f2) AND (has(f2, 3.14))
+f2 > f4
+f4 IN (0, 1, -10)
+((f2 IN (10, f2, 6.02e23, 'test')) AND (f4 < 999999999999)) OR ((f6 IN (.5)) OR (f3 REGEXP "\t"))
+f2 REGEXP ''
+f1 BETWEEN f1 AND 'test'
+f1 <= f6
+f2 > -2.7
+f5 IN ("abc", "hello world")
+f4 BETWEEN f5
+f1 BETWEEN f1 AND "hello world"
+f1 IN (-1, "a_b%", 'test', -2.7)
+f4 BETWEEN -2.7 AND 0.0000000001
+f6 IN ("abc", -2.7, 0, f5)
+((hasAll(f4, f2)) OR (f1 <> 0)) OR (f6 > "hello world")
+f3 NOT CONTAINS 'test'
+(f6 IN (f4, "abc", f1, f4, -1)) AND ((hasAny(f3, '')) AND (f6 >= "a_b%"))
+f5 <> f4
+(hasToken(f3, f2)) OR (((f2 IN (1, "a_b%", ' ', -1, ' ')) OR (has(f2, "hello world"))) OR ((f4 LIKE "%wild%") AND ((f5 != 'test') AND (f4 == 3.14))))
+f1 IN (1e10, f5, f6, 1)
+has(f6, "\t")
+f1 BETWEEN .5 AND 6.02e23
+f1 === -.5
+f4 ILIKE "a_b%"
+(f5 BETWEEN ' ' AND f1) AND (f2 NOT CONTAINS "xyz%")
+f3 = 'unclosed
+f2 NOT CONTAINS 'O''Reilly'
+f6 < 6.02e23
+f2 IN (f2)
+f3 NOT LIKE "a_b%"
+f1 REGEXP "hello world"
+(hasAll(f2, 0.0000000001)) AND (hasAll(f3, f5))
+(f4 BETWEEN 'test' AND 1e10) OR (f4 BETWEEN ' ' AND f3)
+has(f6, f1)
+hasAny(f1)
+f1 = f4
+f6 IN (1e10)
+hasAny(f4)
+hasToken(f1)
+hasToken(f3, 999999999999)
+f1 BETWEEN 0.0000000001 AND .5
+(f2 BETWEEN "\n" AND 10) AND (hasAny(f5, f2))
+f5 <> -10
+has(f5)
+f2 <> f2
+f5 IN ("\t", -3.5e-2, 'O''Reilly')
+f3 OR OR 0
+hasAny(f5, 999999999999)
+AND f5 = .5
+hasToken(f3, f4)
+hasAll(f2, f6)
+f2 IN (-10, '', f1, 'test')
+f2 BETWEEN -1 AND f2
+f4 LIKE
+f6 <= 3.14
+f5 = 'unclosed
+f2 >= f5
+f1 NOT ILIKE ' '
+(f4 == -.5) AND (f3 > -.5)
+f1 BETWEEN "\t" AND 1e10
+f4 OR OR f4
+f3 IS NULL
+f2 = f2
+()
+hasAll(f4, "hello world")
+f6 IN (3.14, f2, "xyz%", 'test')
+f1 = NULL
+f3 BETWEEN AND 0
+(f1 = ' '
+f5 == "xyz%"
+f3 IN (,)
+f6 IN ("xyz%", ' ', "xyz%", f3)
+f3 BETWEEN f2 AND ' '
+f1 REGEXP ''
+f3 BETWEEN "\t" AND f1
+f4 LIKE "xyz%"
+f5 LIKE
+f4 IN (,)
+f1 IN (-10, f5, "xyz%", -10)
+(f4 CONTAINS 'test') AND (((f6 BETWEEN "abc" AND .5) OR (f4 LIKE "hello world")) OR (f4 IN (TRUE)))
+f3 IN (TRUE, 'test', '', f6)
+f3 BETWEEN 'O''Reilly' AND 3.14
+f5 NOT
+NOT
+hasAll(f5)
+(f5 = "abc"
+(f3 NOT CONTAINS 'test') OR (hasAll(f1, "abc"))
+f3 BETWEEN .5 AND -2.7
+f4 = f3)
+f1 NOT LIKE "\n"
+f3 BETWEEN -3.5e-2 AND "\n"
+f2 = ' ')
+f4 BETWEEN AND "a_b%"
+f4 IN (f4, .5, "hello world", -1)
+f4 LIKE "hello world"
+()
+f2 IN ("\n", 999999999999, f5)
+f6 IN ("hello world", ' ', "%wild%", "%wild%", f4)
+(f2 BETWEEN "%wild%" AND "hello world") AND (f6 > 1)
+f3 = NULL
+f6 IN (f5, 10, "hello world", -3.5e-2, f1)
+f1 NOT
+(f2 IN (-1, 10, f4)) OR (f4 > 0.0000000001)
+f6 REGEXP "hello world"
+f4 < -10
+f2 CONTAINS "\n"
+(f3 BETWEEN 1e10 AND ' ') AND (f4 == ' ')
+f5 LIKE ' '
+f2 BETWEEN 10 AND f4
+f5 == -1e-10
+((f2 <> f4) OR (f2 BETWEEN f1 AND 1e10)) OR (has(f3, 0))
+f6 NOT REGEXP "\n"
+f6 != 'O''Reilly'
+f1 IN (-10, -2.7)
+has(f4, "xyz%")
+f5 IN (-2.7, 3.14, 6.02e23)
+f2 BETWEEN 10 AND ''
+f4 CONTAINS "\t"
+f2 BETWEEN 'test' AND -1e-10
+f6 BETWEEN f4 AND ' '
+hasAll(f6)
+hasAll(f6, 10)
+f6 != f2
+f6 BETWEEN 3.14 AND f3
+f4 != ' '
+f3 IN (-3.5e-2, f1)
+hasAll(f2, 'O''Reilly')
+(f6 BETWEEN f3 AND 6.02e23) OR (hasToken(f6, f5))
+f6 BETWEEN f6 AND "hello world"
+f1 = NULL
+(f4 = -3.5e-2
+(f6 > f5) AND (f6 = 6.02e23)
+f3 == 0
+f5 == -.5
+f2 IN (f3, 10)
+f2 BETWEEN 'test'
+hasAll(f2, 999999999999)
+f6 IS NULL
+f1 IN ()
+f4 IS NULL
+f2 BETWEEN f4 AND -1
+f1 < -3.5e-2
+f5 != -3.5e-2
+f6 NOT
+f5 BETWEEN "a_b%"
+f3 >= 3.14
+has(f6, -1)
+f3 BETWEEN AND 10
+f2 BETWEEN AND f4
+f3 NOT
+f4 IN (10, "\n", "xyz%")
+(f1 NOT CONTAINS "a_b%") OR (f6 != f5)
+f1 IN [1 2 3]
+f3 IN (-1, -3.5e-2, "\t", f5)
+f3 LIKE 'O''Reilly'
+f1 IN ("hello world", -.5, "xyz%")
+f6 LIKE
+((f4 BETWEEN f6 AND "xyz%") OR (f3 != "xyz%")) AND (f6 NOT LIKE 'O''Reilly')
+f4 <= 3.14
+f1 <= -10
+f2 LIKE
+f3 IN (f3)
+f3 LIKE
+has(f1, f2)
+f5 LIKE
+f4 NOT CONTAINS "abc"
+f2 NOT LIKE "\n"
+f5 BETWEEN 0.0000000001 AND 'O''Reilly'
+f3 <> 0
+()
+f4 REGEXP "abc"
+f6 IN [1 2 3]
+has(f5, 3.14)
+f3 BETWEEN "\t" AND -.5
+f4 BETWEEN -2.7 AND 0
+f5 BETWEEN AND -1
+f6 NOT ILIKE ' '
+f3 IN (' ', -2.7, "a_b%", .5, "\t")
+f1 CONTAINS "%wild%"
+hasAll(f4, "\t")
+f6 = NULL
+f1 BETWEEN 6.02e23 AND 1e10
+f3 IN (1)
+f1 IN (f2, f3, 999999999999, f5, -2.7)
+f5 BETWEEN 10
+hasAny(f3, 0.0000000001)
+f1 BETWEEN AND "hello world"
+hasAny(f6, f4)
+f3 < f3
+NOT
+f4 BETWEEN f1 AND "xyz%"
+f1 BETWEEN 10 AND "a_b%"
+f1 =
+f4 BETWEEN 'O''Reilly' AND 1
+hasAll(f2, 0)
+f3 IN (1e10, 0)
+f5 BETWEEN '' AND -10
+f1 IN (-1e-10)
+f4 IN (3.14)
+NOT
+f5 = ' '
+f1 IN (1, 0)
+(f6 IN (-10, "%wild%", f1)) AND (f2 BETWEEN f4 AND TRUE)
+f4 BETWEEN "xyz%" AND f2
+f5 NOT ILIKE "abc"
+f6 BETWEEN '' AND 1e10
+f5 IS NULL
+f1 IN (f4, 999999999999)
+f5 IN (-.5)
+hasAny(f1, f1)
+f2 IN ('O''Reilly', 999999999999, f1, ' ')
+f1 BETWEEN 'O''Reilly' AND "a_b%"
+hasAll(f3, TRUE)
+f3 = "a_b%"
+f3 BETWEEN AND "\n"
+f3 != 999999999999
+f6 BETWEEN "abc" AND -2.7
+f1 ILIKE "a_b%"
+((f1 REGEXP "abc") AND (f2 IN (f1, "\n", f1, f6, 'O''Reilly'))) OR (f4 != "\n")
+f4 BETWEEN "a_b%" AND f4
+hasToken(f4, -1e-10)
+f3 <> f5
+f5 != -1e-10
+f5 >= 1
+hasAny(f5, 'test')
+f6 >= ''
+(f1 BETWEEN 0 AND f6) OR (f4 BETWEEN f3 AND 1e10)
+(f5 CONTAINS "abc") AND (f4 NOT LIKE "hello world")
+f3 != ''
+(f3 LIKE "%wild%") AND ((hasAny(f2, 'test')) AND ((hasToken(f4, 0)) AND (f1 = 999999999999)))
+(hasAll(f5, "xyz%")) OR (has(f4, "hello world"))
+(f5 = f3
+f2 == f6
+f6 CONTAINS "%wild%"
+f6 IN (f4, 'O''Reilly', 0.0000000001, 1, f5)
+f6 <> f2
+((f1 ILIKE "%wild%") OR (f3 == "%wild%")) OR (f5 NOT LIKE 'test')
+f2 NOT LIKE 'O''Reilly'
+hasAny(f1)
+f4 != f2
+f3 >= TRUE
+f5 < 0
+f4 IN (,)
+f2 NOT LIKE "\n"
+f5 NOT REGEXP "%wild%"
+f3 BETWEEN "%wild%" AND 'O''Reilly'
+f5 IN ("\t", f3, 1e10, 1e10)
+f4 != -.5
+f4 LIKE
+f4 BETWEEN 0.0000000001 AND TRUE
+hasAny(f2, -.5)
+f5 === 6.02e23
+f1 LIKE 'test'
+f4 IN (10, 'O''Reilly', -1e-10)
+f6 < -3.5e-2
+f2 NOT REGEXP "abc"
+f1 == 6.02e23
+f4 =
+f4 <= ' '
+f5 = NULL
+AND f3 = -.5
+(hasToken(f5, -1e-10)) AND (f2 ILIKE "xyz%")
+f3 CONTAINS "\n"
+f1 NOT
+f3 BETWEEN -1 AND 1
+f2 BETWEEN f3 AND TRUE
+f3 BETWEEN AND "abc"
+f2 === f5
+(f2 IN (f5, "%wild%", ' ', f5, "a_b%")) AND (f3 == ' ')
+has(f2)
+f5 BETWEEN f5 AND f3
+f6 IN (0.0000000001, 0.0000000001, 6.02e23)
+f3 IN (f1, f5, 'test', 10)
+f4 ILIKE 'O''Reilly'
+f6 REGEXP "\n"
+(f6 BETWEEN 'test' AND -2.7) AND (f4 NOT LIKE "abc")
+hasAll(f4, 'test')
+AND f5 = -3.5e-2
+f3 NOT REGEXP "\n"
+f2 < -10
+(f5 NOT LIKE "a_b%") OR (f3 BETWEEN ' ' AND "\n")
+f6 != 0.0000000001
+f3 IN (f3)
+hasToken(f1, 999999999999)
+(hasAll(f3, "abc")) OR (f5 REGEXP "a_b%")
+(f6 BETWEEN .5 AND 6.02e23) AND (f6 == -10)
+f6 IN (-2.7, f6)
+f3 IN (f6, 999999999999, f3, f3)
+f3 = f2
+f6 IN ("\t")
+f4 = -.5)
+f1 BETWEEN f5 AND 10
+f1 NOT CONTAINS ''
+(f4 BETWEEN f5 AND f5) OR (f6 BETWEEN -1e-10 AND f1)
+NOT
+f4 LIKE
+(f2 IN ('test', f2, f5, -2.7)) OR (((f2 BETWEEN -10 AND f2) AND (f6 <> 'O''Reilly')) OR (f4 IN (f1)))
+f4 NOT REGEXP "\t"
+f1 = -1
+hasAll(f4, ' ')
+NOT
+f1 = 'unclosed
+hasAny(f4, f5)
+f2 ILIKE "%wild%"
+f6 = 'unclosed
+f6 BETWEEN 1 AND f2
+has(f2, 'O''Reilly')
+f3 NOT
+has(f3, 6.02e23)
+f4 BETWEEN AND -10
+f5 != ' '
+f1 <> 3.14
+f4 ILIKE "abc"
+hasAll(f1, "hello world")
+f3 IN ()
+f6 < "abc"
+f1 = 1e10
+f3 IN ("\n", 'O''Reilly', f3, '')
+(f6 IN (-1e-10, -.5, f4, f4)) OR (f1 > 0)
+f5 IN (6.02e23)
+f5 < f1
+has(f2)
+NOT
+f2 NOT ILIKE "abc"
+(f6 = 10
+hasAny(f1, f1)
+f4 IS NULL
+(f5 < TRUE) OR (f5 <= 10)
+f5 IN (-10, 6.02e23, 6.02e23, f6)
+hasToken(f6, 'O''Reilly')
+f5 ILIKE 'O''Reilly'
+f4 === "\t"
+f2 IN [1 2 3]
+f1 BETWEEN f2
+(f3 = -3.5e-2) AND (f4 IN (.5, "abc", f2))
+f1 IN ("hello world", -3.5e-2, 999999999999, -2.7, '')
+NOT
+(f5 LIKE "abc") OR (f5 LIKE 'O''Reilly')
+f3 IN ("xyz%", 10, ' ', -10, "%wild%")
+f5 BETWEEN "xyz%" AND 6.02e23
+has(f1, -3.5e-2)
+has(f5, 1)
+f6 LIKE "\t"
+hasAll(f1, 'O''Reilly')
+f4 === -2.7
+f4 NOT
+f4 NOT REGEXP ' '
+f1 <> 10
+f1 IN (TRUE, 3.14, f2, ' ', f1)
+f6 BETWEEN 'O''Reilly' AND 'O''Reilly'
+f4 REGEXP "\t"
+f5 IN ()
+f2 NOT ILIKE 'O''Reilly'
+f2 = -3.5e-2)
+f5 BETWEEN '' AND ''
+(f5 IN (3.14, "abc")) AND (f1 > "%wild%")
+has(f3, '')
+f1 =
+f5 BETWEEN f5 AND "abc"
+f2 IN (6.02e23, 0.0000000001, 6.02e23)
+f6 IN (-2.7, 999999999999)
+(hasAll(f4, f1)) AND (hasToken(f1, -1e-10))
+NOT
+f1 IN (-3.5e-2, "\n", 1e10, '')
+hasAny(f4, -1e-10)
+(f6 = f3
+f3 > -.5
+f2 IN ()
+f2 BETWEEN f2 AND 1
+f2 = f6)
+f1 NOT ILIKE ' '
+f5 === 1
+((f3 NOT CONTAINS "a_b%") AND ((f3 REGEXP "a_b%") AND (f6 BETWEEN "a_b%" AND "\n"))) AND (f2 BETWEEN 0 AND 999999999999)
+f4 IN ()
+f1 CONTAINS "\n"
+(hasAll(f5, "%wild%")) AND (f4 <> 6.02e23)
+f4 != "\n"
+(f5 NOT REGEXP ' ') AND (f2 <= -1e-10)
+f4 IN ("%wild%", TRUE, 1e10, "a_b%", -1)
+f5 REGEXP "xyz%"
+f2 IN (0, f6, "\n", 1, -10)
+f4 == 'test'
+f2 BETWEEN "\t" AND 1
+f5 LIKE ''
+hasAll(f6, "xyz%")
+f3 = NULL
+has(f2)
+hasToken(f4, "%wild%")
+f4 NOT
+hasAny(f1, -2.7)
+f3 NOT CONTAINS 'O''Reilly'
+f1 BETWEEN -.5 AND 999999999999
+f4 == f2
+()
+f1 BETWEEN TRUE AND 999999999999
+f1 IN (' ', -.5, f3, -3.5e-2)
+f1 IS NULL
+f3 BETWEEN -10 AND 0.0000000001
+(f2 BETWEEN 1 AND -10) AND ((f2 = 3.14) OR (f1 < "\n"))
+f6 <> "\t"
+f4 ILIKE ' '
+(f3 IN (0)) OR (((f2 IN (999999999999, '')) AND (f4 != TRUE)) AND (f1 IN ('O''Reilly')))
+f5 BETWEEN "abc"
+f6 BETWEEN -.5 AND 1
+f2 LIKE "\n"
+f2 = TRUE)
+f5 BETWEEN 10 AND 0.0000000001
+f2 =
+f5 < -2.7
+(f3 LIKE "xyz%") OR (f5 NOT ILIKE "\t")
+f3 LIKE "abc"
+f6 IN ('', f6, 'test')
+((f1 == 1) AND (f2 BETWEEN 0 AND -2.7)) OR (f1 IN (0, "\t", 1, .5, f5))
+f1 =
+f4 != 6.02e23
+hasAll(f6, -1e-10)
+(f4 IN (f5, -3.5e-2, 0, 6.02e23, 0)) OR (has(f4, 1))
+f4 IN (,)
+f6 OR OR 999999999999
+f1 IN (10, 10, 6.02e23, 1, f1)
+f3 IN (-1e-10, "a_b%", f1, "xyz%")
+f6 ILIKE "\n"
+f6 NOT LIKE "abc"
+f5 IN (,)
+f2 BETWEEN TRUE AND 0
+f4 = f1
+f3 BETWEEN -3.5e-2 AND "%wild%"
+f6 BETWEEN 3.14 AND -1e-10
+f4 <= 1e10
+f5 LIKE
+f5 LIKE "a_b%"
+f3 =
+f5 IN (,)
+(f4 REGEXP ' ') OR (f2 NOT REGEXP "abc")
+f1 IN ('O''Reilly')
+hasAny(f5, ' ')
+f5 != f6
+f2 > "%wild%"
+f1 === 6.02e23
+f6 BETWEEN AND TRUE
+hasToken(f3)
+has(f3, -2.7)
+(f4 ILIKE "xyz%") AND ((f1 IN (-2.7, f3, -1, ' ')) OR (f3 IN ("hello world", 1, f1)))
+f3 <> f6
+f4 NOT ILIKE ''
+f1 BETWEEN "a_b%" AND ''
+f5 NOT REGEXP "\n"
+f5 === 1e10
+f2 BETWEEN -1
+f3 == 0.0000000001
+f4 <= 0.0000000001
+hasToken(f5, "\n")
+f5 === -1
+f2 BETWEEN f1 AND "abc"
+(f4 BETWEEN "abc" AND -1) AND (f1 BETWEEN "xyz%" AND -1e-10)
+f3 BETWEEN f4 AND .5
+f6 === .5
+f3 BETWEEN f3 AND f4
+f2 IS NULL
+f2 = NULL
+f1 < 0.0000000001
+f1 < ''
+(f3 CONTAINS "abc") AND ((f5 = -.5) OR (f4 IN (-3.5e-2, f1)))
+f3 BETWEEN "\n" AND -1
+NOT
+f2 ILIKE "\n"
+has(f6, 'O''Reilly')
+(f6 <> "hello world") AND ((f3 NOT CONTAINS "%wild%") OR (hasToken(f2, -1e-10)))
+f5 NOT LIKE 'test'
+f6 = 'unclosed
+f3 BETWEEN f6 AND "abc"
+f1 BETWEEN -1e-10 AND "\t"
+f1 NOT ILIKE 'test'
+f6 >= f3
+f5 BETWEEN f5 AND 'O''Reilly'
+f4 != TRUE
+f6 = 3.14)
+f2 <> f2
+f5 BETWEEN "%wild%" AND 0.0000000001
+f1 IN [1 2 3]
+f5 ILIKE 'test'
+f2 BETWEEN f6
+(f1 BETWEEN "\n" AND f5) AND (f6 < "\n")
+f3 == 6.02e23
+f3 < f2
+f1 BETWEEN -1e-10 AND TRUE
+hasAll(f4, f6)
+f2 BETWEEN f2 AND f1
+f2 ILIKE ' '
+f1 CONTAINS 'test'
+(f6 IN ("abc")) OR (has(f5, f1))
+f3 NOT LIKE "%wild%"
+f6 IN (TRUE, "\t")
+hasToken(f2)
+f4 NOT CONTAINS ''
+f6 BETWEEN "hello world" AND "%wild%"
+f1 NOT ILIKE ' '
+hasAny(f5, -1e-10)
+f4 OR OR "a_b%"
+(f4 = "%wild%"
+hasToken(f6)
+()
+f5 =
+f6 === 999999999999
+f5 IN (1e10, ' ', -1)
+f3 NOT CONTAINS "a_b%"
+f3 CONTAINS 'test'
+has(f1, f5)
+f3 <= 10
+f3 =
+f1 CONTAINS "\t"
+f6 IN (,)
+f4 IN (f3, 3.14, f6, 3.14, 'test')
+(hasAll(f4, f3)) OR (f3 IN (1, "\n", -1e-10, "hello world"))
+f2 IN [1 2 3]
+(has(f6, f6)) OR (f5 IN (-1, 'test', -2.7, 'test', 1))
+f3 BETWEEN f2 AND "xyz%"
+f6 BETWEEN "\n" AND .5
+f2 = 'unclosed
+f1 BETWEEN AND -3.5e-2
+f4 IN (f5, -.5, "abc", 10)
+f4 BETWEEN ' ' AND f2
+(f2 = -2.7
+f4 NOT CONTAINS "\n"
+hasAny(f6, -.5)
+f3 BETWEEN "\n" AND f4
+f5 <= f4
+f5 NOT LIKE "hello world"
+hasAll(f3, "xyz%")
+f5 BETWEEN "hello world" AND 'O''Reilly'
+(f4 BETWEEN f2 AND "\t") OR (f2 <= "\n")
+hasToken(f5, f6)
+has(f4, f4)
+f5 BETWEEN 3.14 AND 'O''Reilly'
+(f5 IN ('test')) AND ((f3 IN ("hello world", 1e10, f3, 10)) OR (f3 BETWEEN 'O''Reilly' AND "hello world"))
+f4 BETWEEN TRUE AND -10
+f3 IN (-3.5e-2, f4, "hello world", 10)
+f5 <> .5
+NOT
+f5 OR OR f3
+f5 BETWEEN 999999999999 AND 1e10
+f4 IN ()
+f4 BETWEEN TRUE AND f2
+has(f4, "\t")
+AND f2 = 999999999999
+hasToken(f5, 'O''Reilly')
+f4 IN ('', "hello world", f5, f2)
+f2 IN ('O''Reilly', "hello world", "abc", "xyz%")
+f6 BETWEEN AND "%wild%"
+f6 =
+f5 OR OR "a_b%"
+f5 CONTAINS "\n"
+f5 != 999999999999
+f2 IN (0, "hello world", .5)
+f6 IN ()
+f4 BETWEEN f2 AND -1e-10
+f2 NOT
+f4 IN (,)
+f1 BETWEEN 'O''Reilly' AND -10
+f2 ILIKE "\t"
+f2 BETWEEN "xyz%" AND f1
+f3 IN (-10, -.5, 10, 0.0000000001)
+f5 IN ()
+f5 NOT
+NOT
+(f1 IN ("xyz%", -1)) OR ((hasAll(f1, 1)) OR ((f6 BETWEEN "xyz%" AND 10) OR ((f3 <= ' ') AND (f2 = "\t"))))
+((f1 > f3) AND ((f3 BETWEEN "abc" AND 0) AND (f3 < "\n"))) OR (f5 BETWEEN "xyz%" AND "hello world")
+f2 IN [1 2 3]
+f4 >= "abc"
+f6 IN (1, -1)
+f6 IN (1e10, -3.5e-2)
+f2 IN (,)
+f4 IN (f2, 0.0000000001, 0.0000000001)
+hasAll(f5, 999999999999)
+hasAll(f6, 3.14)
+f5 === f2
+hasToken(f2, -1e-10)
+f5 <= ''
+hasAll(f6, "\t")
+f6 IS NULL
+f2 BETWEEN f2 AND -2.7
+f6 BETWEEN AND f6
+(f3 <= 10) OR (f2 IN (1, "\t", "xyz%", "xyz%", f4))
+hasAll(f2)
+has(f4, 0)
+f1 BETWEEN -1e-10 AND "\t"
+f5 BETWEEN -10 AND "\t"
+(f4 BETWEEN 3.14 AND "\t") OR ((f4 IN (1)) OR ((f3 BETWEEN 1e10 AND f2) OR (f3 ILIKE "abc")))
+f6 <> 0
+f6 <= 3.14
+hasAny(f2, 3.14)
+has(f1, f5)
+(f6 REGEXP 'test') AND (has(f4, 'test'))
+(f4 >= -.5) AND (f3 BETWEEN "\n" AND "xyz%")
+has(f4)
+f5 ILIKE "xyz%"
+has(f1, 10)
+hasAll(f1, f4)
+has(f6, -2.7)
+f1 NOT REGEXP "%wild%"
+(f6 NOT REGEXP '') OR (f3 NOT CONTAINS "\n")
+f6 BETWEEN 0.0000000001 AND "\t"
+(((f5 NOT LIKE "abc") AND ((f5 < "\t") OR (f2 <> -1))) AND (f3 IN (-1e-10, "xyz%"))) AND (f3 != 1)
+f1 IS NULL
+(f3 NOT LIKE "%wild%") AND (hasAll(f2, 3.14))
+f6 BETWEEN -1e-10 AND 10
+f5 IN (3.14, f4)
+f2 = f6)
+(f1 = 0.0000000001
+(f6 = f2
+f5 == f3
+f4 = 'unclosed
+f4 NOT
+(f3 >= "abc") OR (hasToken(f3, "%wild%"))
+f3 ILIKE "a_b%"
+f4 CONTAINS ''
+hasToken(f6, f4)
+f2 = NULL
+f1 < 1
+hasAll(f3)
+f4 IN (6.02e23, "%wild%", TRUE, -10)
+f6 IN (' ', 0.0000000001, 0.0000000001, f6, 'test')
+f6 BETWEEN 1 AND f1
+(f3 <= "\t") AND ((f5 = ' ') AND ((f3 BETWEEN -1e-10 AND "hello world") AND (f2 NOT REGEXP "%wild%")))
+(f4 NOT ILIKE 'O''Reilly') OR (f3 BETWEEN "xyz%" AND -2.7)
+f4 ILIKE "xyz%"
+f4 = 'unclosed
+hasAll(f2, f4)
+(f5 BETWEEN "%wild%" AND -2.7) OR ((has(f6, 'O''Reilly')) OR (f5 IN ("\n", -.5)))
+f2 BETWEEN -2.7 AND 1e10
+f2 >= "\t"
+f2 = f3)
+f2 BETWEEN 'O''Reilly' AND "\t"
+f4 IS NULL
+f6 IN ('O''Reilly', "a_b%")
+f1 NOT REGEXP "abc"
+f4 IN ("%wild%", -1, f5)
+f5 IN ('O''Reilly', .5, 0.0000000001, "abc")
+f4 LIKE ' '
+f2 BETWEEN ' ' AND 'test'
+(f3 IN ('test', .5)) OR (f6 <> '')
+f3 LIKE
+has(f6, -1)
+f6 IN (0.0000000001, 3.14, -3.5e-2, f6)
+f2 IN ()
+f4 NOT LIKE "a_b%"
+hasAny(f3, 0)
+f1 =
+()
+f2 <> f3
+f2 IN ("a_b%", f2, -.5, 0)
+f2 OR OR -1
+f6 == f6
+(f1 > -1e-10) OR (hasToken(f2, f4))
+((f2 = f3) AND (f5 == f1)) AND (f2 BETWEEN f3 AND "\n")
+f4 IS NULL
+(f6 ILIKE "\n") AND ((f2 IN (TRUE, 999999999999, "%wild%", "abc", 'O''Reilly')) AND ((f5 BETWEEN f5 AND "hello world") OR (f5 IN (10))))
+(f3 BETWEEN '' AND f6) OR (f2 NOT ILIKE 'O''Reilly')
+f6 BETWEEN -2.7 AND f1
+hasAll(f1, "a_b%")
+f5 IN [1 2 3]
+f6 < -10
+hasAny(f3, -1)
+has(f5, "hello world")
+f5 IN (-10)
+hasToken(f1, -3.5e-2)
+f5 IN (f4, "hello world", "xyz%")
+f5 != TRUE
+hasAll(f4, 1)
+f4 IN [1 2 3]
+f3 OR OR -.5
+()
+f4 BETWEEN 6.02e23 AND "hello world"
+f5 IN (f4, -1, 0)
+f1 IN (-1, "\t", f2, -.5, 'O''Reilly')
+f1 NOT REGEXP ' '
+f3 BETWEEN f4 AND f5
+f2 LIKE "\t"
+f4 IN (1, -2.7)
+NOT
+f2 IN (6.02e23)
+f3 >= ' '
+f4 BETWEEN 1e10 AND f6
+f4 = f6)
+f5 NOT REGEXP "abc"
+f4 REGEXP ''
+f6 BETWEEN "\t" AND 'O''Reilly'
+f5 OR OR 10
+(f2 IN ('test', f2)) OR (f5 BETWEEN "xyz%" AND f6)
+f1 REGEXP "xyz%"
+f3 IN ("%wild%")
+f2 NOT ILIKE ' '
+has(f3, -10)
+has(f4, -1e-10)
+f3 NOT REGEXP "a_b%"
+f2 BETWEEN -2.7 AND -1e-10
+(f1 IN (f3, f3, 3.14, 3.14, 0)) AND ((f4 NOT CONTAINS 'O''Reilly') AND (f1 REGEXP ''))
+f5 > 6.02e23
+f2 IN ("hello world", f4, "xyz%", 999999999999)
+f3 IS NULL
+(has(f6, 'test')) AND (f5 <= "a_b%")
+f6 >= -1
+f3 <> -10
+f1 NOT REGEXP "a_b%"
+f3 LIKE "hello world"
+f5 === ''
+f2 = f5
+f2 NOT LIKE ''
+f3 BETWEEN 'O''Reilly' AND -2.7
+f6 BETWEEN "xyz%" AND "a_b%"
+f2 BETWEEN 1e10 AND ''
+f6 != 'test'
+f1 NOT LIKE "%wild%"
+f6 = f6)
+f6 LIKE "hello world"
+f3 LIKE "hello world"
+f1 <= 0
+f4 =
+(f2 BETWEEN '' AND "\t") OR (f6 <= 1e10)
+hasToken(f6, -1)
+f3 = NULL
+f6 BETWEEN "\n" AND f6
+f6 IN ('', -3.5e-2, "\n")
+f6 BETWEEN "abc" AND "%wild%"
+f2 ILIKE 'O''Reilly'
+f6 IN ("abc", -1, "\t")
+f1 === 0
+f5 >= -1
+f4 OR OR "\t"
+f5 != "xyz%"
+f5 = 'unclosed
+f2 IN (,)
+f1 IN (f3)
+()
+f5 NOT
+f4 <> -10
+f4 >= -2.7
+f4 BETWEEN "abc" AND "%wild%"
+(f6 IN (10, 6.02e23)) OR (f2 != 999999999999)
+f6 NOT LIKE 'O''Reilly'
+f6 BETWEEN 'test' AND "%wild%"
+f3 BETWEEN 6.02e23 AND -3.5e-2
+f2 <> -.5
+f1 NOT
+f1 IN (f5, -2.7, 0.0000000001, "%wild%", 0.0000000001)
+f5 = "hello world")
+f3 LIKE ''
+()
+(f5 = "\t") AND (f4 BETWEEN 10 AND -.5)
+f1 BETWEEN "%wild%" AND f1
+(f1 NOT CONTAINS 'test') OR (f5 BETWEEN 6.02e23 AND 'test')
+hasToken(f6, f2)
+f2 === -1e-10
+f5 BETWEEN 0.0000000001 AND -1e-10
+f2 > 1e10
+f3 BETWEEN 1 AND "\n"
+(hasAll(f6, -1)) AND (f3 IN (-3.5e-2))
+f2 BETWEEN 6.02e23 AND "xyz%"
+f4 === 0.0000000001
+hasAny(f6, -1e-10)
+f3 NOT LIKE "a_b%"
+f3 BETWEEN AND 0.0000000001
+(f5 IN ('', ' ', 10, f6)) AND (f4 IN (0.0000000001, 1e10))
+(f1 >= 0) OR (f5 <= 'O''Reilly')
+f4 IN ('test', f3, ' ', -3.5e-2)
+f3 <> ''
+f4 BETWEEN -.5
+f6 === -2.7
+f2 <= TRUE
+(f6 < 10) OR (hasAll(f4, f4))
+f4 BETWEEN "hello world" AND -3.5e-2
+f3 = -.5)
+f2 IN (10, 999999999999, f4)
+f6 BETWEEN "hello world" AND -1e-10
+f1 === TRUE
+f2 IN ("hello world", f2, 'test', f2)
+f4 >= "\n"
+f5 BETWEEN TRUE AND 0.0000000001
+(f4 == -1) AND ((f2 < 'test') AND (f4 IN ('O''Reilly', -.5, -2.7, .5, f6)))
+((f3 < -10) AND ((f4 != -1e-10) AND ((f5 != 1) OR (f5 <> 1)))) OR (f1 IN (3.14, -.5, -10))
+f6 < 999999999999
+f3 IN (999999999999)
+(hasAll(f4, -1)) OR (f1 CONTAINS ' ')
+(f3 = -10
+f1 IN (-.5, f3, f4)
+f1 BETWEEN "%wild%" AND 0.0000000001
+f1 > .5
+(f6 BETWEEN f4 AND -2.7) OR (f3 BETWEEN -1e-10 AND "xyz%")
+f1 CONTAINS "a_b%"
+f6 IN (1e10, "a_b%", ' ', 999999999999)
+(f2 NOT CONTAINS "xyz%") AND (f1 BETWEEN f2 AND 6.02e23)
+f5 < "a_b%"
+hasToken(f6)
+f4 =
+f5 IN (,)
+f6 IN ("xyz%", 6.02e23, ' ', "xyz%", -1e-10)
+f1 IN ("\t", f1)
+f4 BETWEEN "abc" AND f1
+f4 REGEXP ''
+f1 > -10
+f2 = NULL
+hasToken(f2, f3)
+f1 >= 0
+f3 BETWEEN 10 AND f6
+f6 BETWEEN ' ' AND 3.14
+f2 BETWEEN -2.7 AND ' '
+f1 BETWEEN 1e10 AND "abc"
+f4 LIKE
+f6 CONTAINS "abc"
+f5 =
+f6 BETWEEN f4 AND "\t"
+(f2 = ' '
+f6 NOT CONTAINS "%wild%"
+(f1 IN (1, -1, "%wild%", 10, 10)) AND (f4 != '')
+(hasAll(f1, '')) OR (f3 IN ('test'))
+f2 === TRUE
+has(f5, f2)
+has(f1, 'O''Reilly')
+hasToken(f2, f5)
+hasAny(f1, -.5)
+f1 BETWEEN .5
+(f3 <> f5) OR (((f4 IN (-.5, 1e10, "a_b%")) AND ((f2 <= -1) AND (f5 = 999999999999))) OR (f3 CONTAINS ' '))
+f4 = NULL
+hasToken(f2, 0)
+f1 BETWEEN f3 AND -1
+AND f6 = 999999999999
+f1 IN [1 2 3]
+f6 NOT REGEXP "xyz%"
+f4 NOT
+hasToken(f3, -10)
+(f6 BETWEEN -3.5e-2 AND f3) OR (f4 BETWEEN -2.7 AND 1)
+(f6 BETWEEN "\n" AND 1) AND (hasAll(f6, TRUE))
+f5 IN (3.14, "a_b%")
+hasAll(f4, 999999999999)
+()
+f4 NOT LIKE "\t"
+f2 IN (f2, 0.0000000001)
+(f5 = f6) OR (f3 NOT ILIKE ' ')
+f4 NOT ILIKE "xyz%"
+f6 BETWEEN "xyz%" AND 1e10
+f1 != 'test'
+f2 IN ()
+f2 =
+f3 NOT CONTAINS ''
+(f6 BETWEEN '' AND TRUE) OR (hasAny(f2, "%wild%"))
+((f6 IN ("%wild%", 1, 0.0000000001)) OR (f5 BETWEEN -1e-10 AND "xyz%")) OR (f5 LIKE '')
+f3 IN ("\t", -1, -.5, "\t", "%wild%")
+f2 LIKE
+f6 IN (f5, f1, 1, -10, ' ')
+(f2 BETWEEN "hello world" AND "a_b%") AND (f5 BETWEEN 6.02e23 AND "xyz%")
+f5 <> -1e-10
+f5 IN (,)
+f1 BETWEEN -1e-10 AND ' '
+f1 =
+f2 IN (f4, "\n", 10)
+f4 NOT ILIKE 'test'
+f1 = 3.14)
+f5 BETWEEN "a_b%" AND f1
+f6 < f6
+NOT
+f6 NOT REGEXP ' '
+f4 == "xyz%"
+f4 BETWEEN AND 1
+(f3 BETWEEN TRUE AND f6) AND ((hasToken(f6, -.5)) OR (hasToken(f2, f4)))
+f3 IN (-.5)
+f1 REGEXP "a_b%"
+f4 BETWEEN "hello world" AND 0
+f5 = NULL
+f4 BETWEEN '' AND "xyz%"
+f1 IN ('O''Reilly', f6)
+f5 === ''
+f5 < f2
+f3 IN ("\t", ' ', f6, -1e-10)
+(f5 >= "\n") AND (f1 REGEXP 'test')
+f6 IN (f2, -10)
+()
+f2 IN (10, 6.02e23, "xyz%")
+f5 NOT
+f2 IS NULL
+f4 BETWEEN 3.14 AND "%wild%"
+hasToken(f1)
+(f1 BETWEEN 'test' AND 1) AND (f5 == "\t")
+(f2 REGEXP "\t") OR (hasToken(f6, f4))
+AND f4 = -10
+f6 CONTAINS ' '
+(f4 >= 3.14) OR (hasAll(f6, f3))
+f4 IN ('', 1e10, -1e-10, "a_b%", 6.02e23)
+f1 <> 'test'
+f2 LIKE
+f3 IN ()
+f1 = 'unclosed
+f3 NOT REGEXP 'test'
+f4 BETWEEN 'test' AND -3.5e-2
+f2 > "abc"
+(((f1 != "%wild%") OR ((f4 > -10) OR (f5 > f2))) OR (f2 == f4)) AND (f4 IN (-.5, '', -1e-10, 1e10, -1))
+f2 IN ('O''Reilly', '', "\n")
+f2 = "abc")
+f6 IN ('O''Reilly', f6, .5)
+f2 ILIKE "%wild%"
+AND f2 = 1
+f1 = NULL
+f1 BETWEEN 999999999999 AND f6
+f1 != 1
+f6 BETWEEN f6 AND -1e-10
+has(f1, '')
+(f6 = f1
+f1 BETWEEN 'O''Reilly' AND 1
+f6 IN (TRUE, 1, 3.14)
+f2 NOT
+f6 == .5
+f3 IN ()
+f1 IN (TRUE, "a_b%", -.5, 1)
+f3 LIKE
+f3 = 'unclosed
+hasAny(f4, -.5)
+has(f4, .5)
+f2 IN (' ')
+f4 IN ('O''Reilly', 1)
+f3 LIKE
+hasAny(f6, -3.5e-2)
+f3 >= 'test'
+(f3 BETWEEN -1e-10 AND -2.7) AND (f5 BETWEEN -10 AND "\t")
+NOT
+NOT
+f3 BETWEEN "a_b%" AND f4
+f5 BETWEEN -1 AND -1e-10
+f4 BETWEEN f4 AND 999999999999
+f2 NOT
+hasAny(f1, "xyz%")
+has(f6)
+(f4 = 0) AND (f5 IN ('O''Reilly', -2.7, -.5))
+(has(f1, 'test')) OR (f3 BETWEEN "a_b%" AND "abc")
+f2 NOT REGEXP "a_b%"
+f3 IN (6.02e23)
+((has(f4, -10)) AND (hasAny(f2, .5))) OR (f5 BETWEEN "xyz%" AND -2.7)
+f1 NOT LIKE "xyz%"
+f3 = -.5)
+f2 IN ()
+f2 BETWEEN 1 AND .5
+hasAll(f4, '')
+f6 NOT CONTAINS 'test'
+hasAny(f6, "\n")
+f3 <> 'O''Reilly'
+f2 BETWEEN f6 AND 1
+f6 IN (10, "a_b%", -1e-10, f6, 0)
+has(f3, "hello world")
+(f5 NOT ILIKE "%wild%") AND (f4 IN (1e10, 3.14, 1, f6))
+f3 NOT LIKE "abc"
+()
+f6 IN (-3.5e-2, f1, "xyz%")
+f2 IN (-2.7, f4)
+hasAny(f3, "xyz%")
+(f4 = f3
+f6 <> "xyz%"
+f6 IN (f5, .5, "abc")
+f4 IN ('', 0.0000000001)
+f2 < -10
+f1 == 999999999999
+f3 REGEXP "hello world"
+f4 BETWEEN f4 AND f6
+(f3 IN (-.5, -.5, f4, f4, 1)) AND (f1 REGEXP "\n")
+hasToken(f6, f2)
+f4 IN (f1, 'O''Reilly', -10, -10, 999999999999)
+f6 CONTAINS 'O''Reilly'
+f4 ILIKE ' '
+f2 BETWEEN TRUE AND f6
+f4 == -2.7
+f4 IN (10, ' ', 1e10)
+f1 != f4
+()
+f2 IN (.5, TRUE)
+f1 = NULL
+hasAll(f5, -10)
+f1 LIKE
+f5 IN (0, 1e10, "\t", 'O''Reilly')
+f2 REGEXP "a_b%"
+f5 OR OR "hello world"
+f5 NOT
+f6 BETWEEN f5 AND "xyz%"
+(f5 = 999999999999
+f3 < "\t"
+f6 IS NULL
+f4 IN ('test', TRUE, f2, 'test')
+f4 BETWEEN "abc" AND "abc"
+((hasAll(f1, TRUE)) OR (f3 IN (999999999999))) OR (f6 IN ("%wild%", f2, f3))
+f6 >= 10
+f6 LIKE 'O''Reilly'
+f3 IN (1, 1)
+f1 BETWEEN "xyz%" AND -2.7
+f3 BETWEEN 1e10 AND -2.7
+hasAll(f6, "\n")
+f3 BETWEEN 10 AND ''
+(f3 BETWEEN -2.7 AND f5) OR (f6 IN (' ', f1, "a_b%", 6.02e23, "\t"))
+f6 BETWEEN "hello world" AND 999999999999
+f5 BETWEEN -.5 AND 6.02e23
+f1 BETWEEN "hello world" AND -10
+f5 IN (-1, f3, -3.5e-2, "\n")
+(((hasToken(f4, 10)) OR (f2 NOT CONTAINS "hello world")) OR (f1 <> -3.5e-2)) AND ((f4 IN (-1e-10, 1e10, 10, '', 0)) OR ((f4 <= .5) OR (hasAll(f5, "hello world"))))
+f2 BETWEEN "\t" AND "xyz%"
+f1 IN (1)
+f6 = 10)
+f1 BETWEEN '' AND .5
+f3 NOT LIKE "\n"
+hasToken(f2, 1)
+f3 NOT ILIKE "xyz%"
+f6 = 'unclosed
+(f4 ILIKE "hello world") AND (hasAll(f4, "%wild%"))
+f5 = NULL
+f6 BETWEEN AND f4
+f6 BETWEEN 6.02e23 AND 999999999999
+f2 IN (999999999999, f3)
+f3 < 1
+f6 BETWEEN 1e10 AND "xyz%"
+(f5 REGEXP "%wild%") AND (f1 IN (TRUE, -2.7))
+(f6 IN (-.5, f3, "abc")) AND ((has(f4, -.5)) AND (f6 IN (-10, "\n", -1, 'O''Reilly')))
+f1 LIKE "hello world"
+f4 IS NULL
+f2 === -1
+f2 REGEXP "%wild%"
+f4 IN ('test')
+f1 IN (-1)
+f3 IN ()
+(f5 = 1e10
+f2 BETWEEN -.5 AND 6.02e23
+(f2 = 3.14
+f2 ILIKE "\t"
+f5 IN ("abc", f1, f1, 0, f5)
+f2 BETWEEN 'test' AND 10
+(f5 NOT ILIKE "%wild%") AND (f6 IN (1e10, "\n", TRUE, "\t", "\n"))
+f5 = f4
+f3 NOT ILIKE "abc"
+f2 BETWEEN f5 AND ''
+f6 BETWEEN TRUE AND 1
+f5 != -1
+f4 BETWEEN 3.14 AND "xyz%"
+f2 >= 'test'
+f4 BETWEEN 0.0000000001 AND 1e10
+((hasAll(f5, "a_b%")) OR (f4 BETWEEN TRUE AND -.5)) AND ((f4 BETWEEN f6 AND 999999999999) AND (f1 IN (1e10, f6, 3.14, ' ')))
+f6 <= -10
+f5 = 10
+hasAny(f2, "\t")
+f2 REGEXP 'O''Reilly'
+f2 BETWEEN f4 AND ''
+f4 BETWEEN f5 AND 0.0000000001
+AND f6 = 1e10
+f4 <> 1e10
+f3 NOT REGEXP "xyz%"
+(f6 IN (f1)) AND (hasAny(f4, 'test'))
+f3 BETWEEN f1
+f6 = 'unclosed
+f2 BETWEEN .5
+f1 OR OR "\n"
+has(f5, "\n")
+f4 IN (,)
+has(f3, 'test')
+((f6 BETWEEN "xyz%" AND 6.02e23) OR (hasToken(f1, 6.02e23))) OR (f1 BETWEEN f5 AND f3)
+f6 IN (6.02e23, 1e10, 6.02e23)
+f6 BETWEEN 'O''Reilly' AND -.5
+f1 = 'unclosed
+f1 IN (1e10)
+f5 IN ("a_b%", 0)
+f2 BETWEEN -3.5e-2 AND f4
+f3 IN ("a_b%", 3.14)
+(f3 = -10
+f3 BETWEEN "xyz%" AND f2
+(f2 IN (f6, -3.5e-2)) OR (f1 IN (TRUE, 6.02e23, 6.02e23, -1))
+hasAll(f2, "%wild%")
+f6 IN [1 2 3]
+f1 IN (,)
+(f1 IN (999999999999, f1)) AND (f4 BETWEEN f3 AND 'test')
+f1 IS NULL
+f6 NOT ILIKE "%wild%"
+f4 BETWEEN "xyz%" AND f4
+hasAny(f3, -10)
+f5 REGEXP "abc"
+f5 NOT CONTAINS "hello world"
+f4 IN ()
+f6 <= f2
+(f6 IN ("\n", "xyz%", f5, "xyz%", 0)) AND (hasAll(f2, ' '))
+f4 > "a_b%"
+has(f3)
+f2 CONTAINS ' '
+f4 IN (10, 'test', 3.14, "xyz%")
+(hasToken(f3, -1e-10)) OR ((f2 > "a_b%") AND (hasAny(f5, -1e-10)))
+f2 BETWEEN f1 AND f5
+f2 IN ('', -2.7, f3)
+f4 BETWEEN f6
+(f4 BETWEEN TRUE AND -1e-10) OR (f2 NOT CONTAINS "xyz%")
+f4 > 999999999999
+NOT
+f2 NOT
+hasAll(f2, 0.0000000001)
+has(f6, "xyz%")
+f3 < 'O''Reilly'
+f5 <= f3
+f2 OR OR -1
+(f6 NOT CONTAINS "abc") AND (f3 IN (f1, "\n", 0.0000000001, 10))
+f6 LIKE
+f1 IN (-3.5e-2, 0.0000000001, "hello world", TRUE)
+(f1 IN (f5)) AND (hasAny(f2, -.5))
+f3 BETWEEN 3.14 AND 999999999999
+f2 > -1
+(f4 IN (f2, 1e10, 10)) OR (f3 IN ("abc", f4))
+(f3 >= ' ') OR ((f4 IN ('test', 'test', -.5, "\n", 0.0000000001)) AND (f2 BETWEEN 'O''Reilly' AND TRUE))
+hasAny(f1, 'test')
+f5 != 'test'
+f1 <= 10
+f6 IN (-1, -1e-10, '')
+hasAll(f2, .5)
+()
+f1 BETWEEN -3.5e-2 AND 3.14
+NOT
+f6 = 10
+f5 BETWEEN "abc" AND "\t"
+f6 = ' ')
+(f5 <> ' ') OR (f6 ILIKE '')
+hasToken(f5, -3.5e-2)
+f6 != 0.0000000001
+f5 IN (10, 0.0000000001)
+(hasAll(f1, "a_b%")) AND (has(f1, -1e-10))
+f4 IN ("\n", "abc")
+f5 BETWEEN 3.14 AND 1
+(f2 BETWEEN 999999999999 AND 1e10) OR (f3 NOT ILIKE 'O''Reilly')
+f2 < "\n"
+hasAny(f5, "abc")
+f3 IN (,)
+f5 IN (f5, 6.02e23, 0)
+f3 == f3
+f6 BETWEEN -.5 AND -3.5e-2
+(f3 LIKE "hello world") OR (f6 IN ("abc", -10, 1, 999999999999, 1e10))
+f1 IN (0.0000000001)
+f5 BETWEEN -10 AND 10
+f5 = 6.02e23)
+f6 = f5
+(f4 = -2.7
+hasAny(f5, .5)
+f4 IN [1 2 3]
+f3 BETWEEN "\t"
+f1 = f2)
+f4 = NULL
+hasAll(f3, f5)
+f3 == TRUE
+f1 IN [1 2 3]
+f5 IN ("%wild%", TRUE)
+f3 != f1
+hasAll(f4, -1)
+f5 === "\t"
+f6 < -2.7
+f3 LIKE "\t"
+f6 != 1e10
+f2 <> 0
+(f3 IN (-.5, f5, "\n", "abc")) OR ((f5 IN ("xyz%", f4, 3.14, "a_b%")) AND (f6 BETWEEN "%wild%" AND "hello world"))
+hasAny(f5, "a_b%")
+(f5 IN (-10, f1, ' ')) AND (f6 IN ("%wild%", 6.02e23, -.5, f4, "a_b%"))
+f5 = -10
+f6 REGEXP "\n"
+f1 == 'test'
+f4 IN (,)
+f5 IN (-2.7, f2, "hello world", 10)
+(hasAll(f4, 999999999999)) OR ((f5 IN (-3.5e-2, 3.14, 1)) OR (f1 BETWEEN f6 AND 'test'))
+f5 BETWEEN -1
+(f1 IN (.5, 10, 999999999999)) OR (f4 IN (0, f2, "\n", 1))
+f6 === f1
+f3 BETWEEN AND 999999999999
+hasAny(f5, -.5)
+(f4 IN ("xyz%", 1, f1, 1, 1e10)) OR (f1 LIKE "abc")
+f3 BETWEEN -10 AND -.5
+hasAll(f3, "\n")
+f4 IN ("xyz%", "xyz%")
+f5 IN [1 2 3]
+f6 BETWEEN f4 AND f5
+f1 = 'unclosed
+f2 IN ("hello world", 3.14)
+f1 NOT CONTAINS "xyz%"
+hasToken(f4, "abc")
+has(f4, f6)
+f6 BETWEEN 1e10 AND 1e10
+hasAny(f2, 10)
+hasAny(f3, "a_b%")
+f5 NOT LIKE "%wild%"
+f5 =
+(hasAny(f3, -.5)) OR (f4 = .5)
+((f4 BETWEEN f5 AND "hello world") AND (f1 IN (10, "%wild%"))) OR (hasAll(f2, 3.14))
+f2 BETWEEN ' ' AND .5
+hasAny(f2, 10)
+f2 IN (f5, TRUE, '', 'test', "\t")
+f4 >= 0
+f2 LIKE ''
+f2 < 0
+(f3 NOT REGEXP "\t") AND (f2 ILIKE "xyz%")
+()
+f5 NOT
+(f6 IN (f2, 6.02e23, ' ', 'test', f3)) AND ((f4 IN ('O''Reilly', -.5, -2.7)) OR (f4 IN ("xyz%", 0)))
+f4 = NULL
+f3 > -3.5e-2
+(hasToken(f5, 'O''Reilly')) OR (f1 IN (0.0000000001, 1, "xyz%", "abc", 3.14))
+hasAny(f3, -10)
+hasAny(f1, f1)
+hasAll(f4, "xyz%")
+hasToken(f2, f5)
+f6 BETWEEN f2 AND .5
+NOT
+f1 IN ('test', f4)
+f4 BETWEEN 6.02e23 AND -1
+f5 >= ' '
+f1 LIKE "%wild%"
+f5 BETWEEN f5 AND f3
+f2 IN (0)
+hasToken(f2, '')
+hasToken(f2, 0.0000000001)
+f5 < ''
+()
+(f3 BETWEEN -.5 AND 0) OR (f2 IN ("a_b%", "%wild%"))
+f2 IN ('test', f3)
+hasAny(f4, 0)
+hasAny(f6, 1e10)
+f2 IN (1)
+f6 >= 0.0000000001
+f2 BETWEEN -.5 AND 'test'
+f6 >= -3.5e-2
+f5 NOT ILIKE "\n"
+f1 ILIKE "xyz%"
+f2 IN [1 2 3]
+f6 IS NULL
+has(f6, ' ')
+has(f2, 3.14)
+f5 BETWEEN AND f3
+f5 IS NULL
+f6 != 0.0000000001
+f3 BETWEEN f4 AND ''
+f1 <> "\n"
+f5 IN ()
+hasAll(f3, f6)
+f2 LIKE "hello world"
+hasAny(f1, -1e-10)
+f2 NOT REGEXP "xyz%"
+has(f6, 999999999999)
+f6 OR OR 0.0000000001
+f6 REGEXP ''
+f6 BETWEEN ' ' AND -3.5e-2
+hasToken(f2)
+hasAll(f4)
+(f2 BETWEEN f2 AND -3.5e-2) OR (f4 NOT CONTAINS "%wild%")
+f2 BETWEEN TRUE AND f4
+f3 NOT CONTAINS "\n"
+f3 IN (6.02e23, 'test')
+f6 BETWEEN -1 AND ''
+f3 ILIKE "a_b%"
+f5 LIKE "%wild%"
+f1 CONTAINS "abc"
+f3 BETWEEN f6 AND f5
+has(f2)
+f5 =
+f6 < 999999999999
+hasAny(f4)
+f3 IN (f2, '', f2, f4, "xyz%")
+(f6 BETWEEN 10 AND 'O''Reilly') AND (f5 ILIKE ' ')
+hasToken(f3, "a_b%")
+(hasToken(f6, f4)) AND (f2 IN (f6))
+hasToken(f1, f2)
+hasAll(f3, -2.7)
+hasAny(f2, 'test')
+f6 != f3
+f4 BETWEEN -2.7 AND 1
+f6 IS NULL
+f2 BETWEEN -1 AND "abc"
+f6 BETWEEN 1 AND -10
+f3 NOT LIKE "\n"
+(f2 = "a_b%"
+(f6 BETWEEN "hello world" AND -1) AND (f4 == -1e-10)
+()
+(f2 NOT LIKE "%wild%") AND (f3 ILIKE ' ')
+f1 = 1
+NOT
+f6 IN ("\n", -10, 0, "\n")
+hasAny(f3, f3)
+f1 LIKE "xyz%"
+f2 BETWEEN -.5 AND .5
+f5 NOT ILIKE "\n"
+f6 = .5
+f1 = f3)
+f1 LIKE "xyz%"
+f1 IN (f1)
+f5 BETWEEN 6.02e23 AND 6.02e23
+hasAll(f4, -.5)
+f5 IN ()
+f4 BETWEEN AND 1
+f6 IS NULL
+f5 = 'unclosed
+f2 IN (.5, f3)
+f5 IN (f5, .5, -1e-10, 6.02e23)
+f4 == 999999999999
+(f2 == TRUE) OR (f6 NOT CONTAINS 'O''Reilly')
+f2 BETWEEN f6 AND f5
+f2 LIKE "abc"
+f3 === -1
+f6 != f1
+f3 NOT
+hasToken(f3)
+(f3 <> "xyz%") AND (f5 NOT ILIKE "\t")
+f5 NOT
+f5 NOT
+f6 BETWEEN 1 AND 1
+f3 <> "\n"
+hasAll(f3, -1e-10)
+hasAny(f2, -.5)
+AND f3 = "abc"
+()
+f2 BETWEEN f3 AND "\t"
+hasAll(f1, f3)
+f1 < 3.14
+f3 == "\n"
+()
+(f1 IN (-10, "\n", -1e-10, f2, '')) AND (f4 IN (-.5, .5, '', -10, -1))
+has(f5, 10)
+hasAll(f3, 0.0000000001)
+f4 BETWEEN f5 AND 0.0000000001
+f6 <= "%wild%"
+f2 IN (TRUE, -1e-10, 0, 1e10)
+f2 BETWEEN "\t" AND f2
+f6 BETWEEN -2.7 AND 3.14
+f6 = f3
+hasToken(f5, 3.14)
+f2 IN ('test', -.5, 0.0000000001, 1)
+f6 IN ()
+f6 IN ("a_b%", 'O''Reilly')
+NOT
+f4 OR OR 1e10
+f6 < 6.02e23
+f1 < "\t"
+f4 NOT REGEXP 'O''Reilly'
+has(f6, ' ')
+hasToken(f5, "\n")
+AND f6 = 1e10
+(f5 BETWEEN "%wild%" AND 1e10) OR (f6 NOT ILIKE ' ')
+f4 BETWEEN AND 999999999999
+f6 == -10
+f4 <> 999999999999
+f4 BETWEEN 6.02e23 AND 'test'
+has(f6)
+has(f4, f3)
+f2 BETWEEN 10
+(f5 BETWEEN f1 AND "hello world") AND ((f4 == 6.02e23) AND ((hasToken(f2, f4)) OR (f6 BETWEEN f4 AND f4)))
+f2 IN (f2, -.5, 10, f2)
+NOT
+f3 IN (TRUE)
+hasAny(f2, -2.7)
+AND f1 = "a_b%"
+f4 = "abc"
+f4 IN ()
+f4 IN (-1e-10)
+f4 <> f6
+f1 =
+f3 IN (f5, f4, 'test', .5)
+f4 IN (-2.7, f6, 999999999999)
+f2 BETWEEN 1e10 AND ''
+f6 BETWEEN f1 AND -1e-10
+f6 NOT REGEXP ' '
+f4 LIKE ' '
+f2 IN [1 2 3]
+f1 IN ('', 6.02e23, f1, 3.14, 10)
+hasAll(f4, ' ')
+f6 IN ()
+f1 IN (-1e-10, f1, 'test')
+f3 BETWEEN "\n" AND 10
+f5 != 0
+f4 IN [1 2 3]
+hasAny(f5, -2.7)
+f5 IS NULL
+f4 LIKE "xyz%"
+hasToken(f4, "a_b%")
+f4 BETWEEN -.5 AND 'O''Reilly'
+f3 != 0.0000000001
+f4 <= "%wild%"
+f1 IN [1 2 3]
+f3 BETWEEN -.5 AND f5
+f2 NOT REGEXP "a_b%"
+f4 NOT REGEXP "xyz%"
+hasAll(f2, f1)
+f4 LIKE
+f3 BETWEEN -1e-10
+f3 BETWEEN "\t" AND 0
+f5 IN (f6, f2, "a_b%", f2)
+(f6 NOT REGEXP 'O''Reilly') OR (has(f2, f6))
+f4 = NULL
+f3 = 999999999999
+f3 = "a_b%")
+f6 NOT ILIKE ''
+f3 IN (f5, 3.14, 0.0000000001, 'O''Reilly')
+f6 IN ("abc", "xyz%")
+f1 OR OR f2
+f6 BETWEEN -1 AND TRUE
+f6 NOT
+f1 < -1e-10
+f6 == 1e10
+f1 = NULL
+f4 <> -.5
+f1 OR OR "\t"
+hasToken(f3, f6)
+f4 IN [1 2 3]
+f3 == f3
+f5 LIKE
+((f4 BETWEEN "\t" AND "\t") OR (hasAll(f6, 6.02e23))) AND (f2 != "\n")
+f3 NOT
+f1 IN [1 2 3]
+f4 IN (10, "abc", TRUE, -10)
+()
+f2 >= TRUE
+f1 BETWEEN -1e-10 AND "%wild%"
+f4 IN ("hello world")
+f3 <> f6
+(hasAll(f6, "abc")) AND (f1 BETWEEN -1 AND "%wild%")
+f3 = 1
+f3 = NULL
+f1 BETWEEN 999999999999 AND 'O''Reilly'
+f2 === 'test'
+AND f4 = 'test'
+f5 IN (3.14, "%wild%")
+f4 NOT
+(f5 IN (3.14, TRUE, "a_b%", 3.14)) OR (f2 NOT CONTAINS "xyz%")
+f1 CONTAINS "a_b%"
+f5 IS NULL
+(f2 == -1e-10) AND (f4 NOT CONTAINS "abc")
+f6 LIKE "abc"
+(hasAny(f4, "hello world")) OR (f2 IN (f6, 'test', -1e-10, 0))
+f2 >= f6
+f4 < f1
+f3 === TRUE
+(f2 BETWEEN "\n" AND "\t") OR (f6 <> f4)
+(hasAll(f3, "a_b%")) OR ((f3 NOT ILIKE "abc") AND (f6 IN ('test', 999999999999, 1, f6)))
+f2 BETWEEN 1e10 AND ' '
+hasAny(f3)
+f6 IN ("hello world")
+f3 === 0.0000000001
+(f4 CONTAINS "abc") AND (has(f2, f4))
+f1 IN [1 2 3]
+hasToken(f4, "abc")
+(hasAny(f2, f6)) AND ((hasToken(f4, f6)) AND (hasToken(f6, 6.02e23)))
+f4 <> f1
+hasAny(f1)
+f2 NOT REGEXP "hello world"
+has(f5, "\n")
+()
+f6 BETWEEN 6.02e23 AND TRUE
+f2 NOT LIKE "abc"
+f4 NOT CONTAINS ''
+f4 = "xyz%")
+hasAny(f5, 999999999999)
+f6 BETWEEN f5 AND "hello world"
+f2 REGEXP "hello world"
+f6 <> "abc"
+hasToken(f6, f5)
+f1 IN ("hello world", .5, TRUE, "\t", 3.14)
+has(f3, "\t")
+f4 IN ("xyz%", f3)
+f5 BETWEEN ' ' AND f4
+f4 OR OR 'O''Reilly'
+f1 <= f1
+f6 IN (,)
+f6 NOT ILIKE "a_b%"
+f3 REGEXP 'test'
+f3 IN [1 2 3]
+f4 ILIKE "hello world"
+(f4 IN ("a_b%")) AND (f1 BETWEEN 0 AND 6.02e23)
+f4 BETWEEN '' AND 10
+f4 OR OR "a_b%"
+has(f4, .5)
+(f5 = 10
+has(f6, ' ')
+f5 IN (-3.5e-2, 6.02e23)
+f3 LIKE
+hasAll(f5, "hello world")
+()
+f5 NOT REGEXP "\n"
+f4 = 999999999999)
+f6 IS NULL
+NOT
+hasToken(f5, -.5)
+f1 BETWEEN 1e10 AND 'test'
+f1 BETWEEN f6 AND ' '
+f1 NOT ILIKE "xyz%"
+f6 BETWEEN TRUE AND 10
+(f6 IN (TRUE, "a_b%", "xyz%", -10, "hello world")) OR (f5 <> f1)
+f4 IN (1e10)
+(f6 = -1
+f1 BETWEEN 10 AND ''
+f5 < "hello world"
+f3 = -2.7
+(f3 BETWEEN 10 AND TRUE) OR ((f4 LIKE "a_b%") AND (f5 IN (f6)))
+f6 IN [1 2 3]
+hasToken(f3, "hello world")
+f5 BETWEEN -1 AND -1e-10
+f1 BETWEEN "\n" AND 1
+f2 >= f1
+f3 LIKE
+(f2 <= TRUE) AND (f4 BETWEEN f2 AND -1e-10)
+f5 === "abc"
+hasAny(f1, 'O''Reilly')
+f6 BETWEEN 1e10 AND f6
+(f4 IN ("\t", "\t", TRUE)) AND ((f5 IN (-1)) AND ((hasAll(f5, 999999999999)) AND (f4 IN (10, 3.14, "a_b%"))))
+((f4 IN (-2.7, 10, f4, f3, "hello world")) AND (f5 IN (.5, ' ', .5, 'test', "hello world"))) OR (f1 NOT REGEXP 'O''Reilly')
+f1 = TRUE
+hasToken(f4)
+f6 BETWEEN AND "\t"
+f3 BETWEEN 'test' AND -.5
+hasToken(f1, 1e10)
+f3 REGEXP "\n"
+hasToken(f6, -2.7)
+f5 BETWEEN 0.0000000001 AND "\t"
+f5 IN ('')
+f2 LIKE
+f4 IS NULL
+f5 IN ()
+f5 ILIKE "hello world"
+hasAll(f3, -1e-10)
+(f6 IN ('O''Reilly', 0, f2, 'O''Reilly')) OR (f1 IN (-1e-10, f4, 6.02e23, TRUE))
+f3 CONTAINS "a_b%"
+has(f5, "\n")
+f6 BETWEEN 'test' AND "xyz%"
+f1 = "a_b%"
+f1 IN (-.5, 'test', -2.7, '', -.5)
+f2 REGEXP ''
+f4 == f2
+(f3 NOT LIKE 'O''Reilly') OR (f2 IN (f5, ' '))
+f1 IN (,)
+f3 = 'unclosed
+(has(f1, 0)) OR (f5 > f4)
+(f1 IN (' ', -2.7, "hello world")) OR (f5 IN (f5, 999999999999))
+f4 != "\t"
+f5 = "xyz%"
+has(f5, "\n")
+f3 IN (,)
+f3 REGEXP "a_b%"
+f6 = "\n"
+f3 IN (10)
+hasAny(f4, 999999999999)
+f4 BETWEEN "\n" AND "abc"
+f4 BETWEEN 1e10 AND -3.5e-2
+f2 CONTAINS "\n"
+f1 IS NULL
+f3 BETWEEN 6.02e23 AND -3.5e-2
+(f5 IN (10, ' ')) AND (hasAny(f4, 'O''Reilly'))
+f1 BETWEEN AND -1e-10
+hasToken(f5, -3.5e-2)
+f6 > 3.14
+(f4 < 3.14) AND (has(f5, -1e-10))
+f3 LIKE "\t"
+()
+()
+f5 IN ('', -3.5e-2, 6.02e23)
+(f4 IN (1e10, "hello world", f2)) OR (f4 IN ("a_b%", -2.7, -3.5e-2))
+hasAll(f6, f1)
+f4 BETWEEN f5 AND TRUE
+f1 NOT ILIKE "xyz%"
+f2 != -10
+(hasAll(f4, 999999999999)) OR (f1 BETWEEN 'O''Reilly' AND 'test')
+f3 BETWEEN 'test' AND "%wild%"
+f4 OR OR -.5
+f2 IN ()
+(f4 LIKE "%wild%") AND ((f1 NOT REGEXP ' ') OR (f1 LIKE ''))
+f1 <> 1
+f6 != 999999999999
+f1 IN (-2.7, TRUE)
+f2 BETWEEN -1e-10 AND 6.02e23
+f1 IN (-.5, -3.5e-2, TRUE)
+f6 = NULL
+(f3 IN ("\t")) OR (hasToken(f4, f6))
+f1 = 'unclosed
+f6 = 'unclosed
+((f1 > f2) AND (hasAny(f4, 1e10))) AND ((f3 < "%wild%") OR (f4 BETWEEN f4 AND f1))
+f6 BETWEEN "\n" AND 0
+f2 IN ()
+f1 IN (f1, f5, "\t", 999999999999)
+f5 == 'test'
+(f4 IN (1e10)) AND ((has(f6, -1)) AND (f1 IN ("%wild%", .5, f5)))
+f3 = NULL
+hasToken(f5, TRUE)
+f5 IN ()
+(f3 NOT LIKE 'O''Reilly') OR (f2 CONTAINS "a_b%")
+f6 IN (3.14, 1)
+f4 NOT LIKE "\t"
+f6 BETWEEN 10 AND 6.02e23
+has(f4, "%wild%")
+hasAny(f4, "%wild%")
+f3 === -3.5e-2
+f3 BETWEEN f1 AND -1
+(has(f5, -1)) OR (f6 == "a_b%")
+f6 IN ('test')
+f5 > 0
+((f6 REGEXP "hello world") OR (f4 BETWEEN "xyz%" AND -10)) AND (f4 BETWEEN 'O''Reilly' AND f2)
+((((f3 > 999999999999) OR (f1 < -.5)) OR (f5 == f3)) OR ((f2 IN ("abc", "\t", "%wild%")) AND (f4 ILIKE "abc"))) AND (has(f6, -3.5e-2))
+f4 NOT LIKE 'O''Reilly'
+hasAny(f5)
+f6 > -10
+f6 IN ("abc", .5)
+f6 BETWEEN ' ' AND 999999999999
+has(f4, "\n")
+(f4 NOT REGEXP '') OR (f3 BETWEEN -1e-10 AND f3)
+f1 BETWEEN .5 AND "a_b%"
+f1 BETWEEN 0 AND -1e-10
+hasAll(f2)
+f3 == TRUE
+hasAll(f3, -3.5e-2)
+(f1 BETWEEN '' AND 'O''Reilly') AND (f5 = 999999999999)
+((f2 == ' ') OR ((f6 BETWEEN "\n" AND f1) OR (f2 <= 'O''Reilly'))) OR ((f1 IN ("a_b%", -3.5e-2, 1e10)) AND (f2 BETWEEN "a_b%" AND 999999999999))
+f5 IS NULL
+f6 BETWEEN 0.0000000001 AND ' '
+(f1 CONTAINS 'O''Reilly') AND (f3 NOT LIKE "hello world")
+((f3 IN (6.02e23)) OR (f4 IN (999999999999, 0, f2, "%wild%", 0))) AND (f2 ILIKE ' ')
+f6 BETWEEN "hello world" AND .5
+f6 > -.5
+hasToken(f6, -1e-10)
+f4 BETWEEN -10
+f2 = NULL
+f4 BETWEEN f6 AND TRUE
+f1 <> 999999999999
+f5 ILIKE "xyz%"
+f1 LIKE
+f3 = 'unclosed
+hasAny(f3, "\t")
+f5 ILIKE "hello world"
+f4 IN ()
+f5 IN (-1e-10, -3.5e-2)
+f5 LIKE ''
+f4 = -1e-10
+(f6 IN (-10, 3.14, 1e10, 10)) AND (f2 LIKE "\t")
+f5 BETWEEN '' AND "%wild%"
+f6 != 6.02e23
+()
+f5 BETWEEN ' ' AND -10
+f2 >= f4
+(f2 = -3.5e-2
+hasAll(f6, 1e10)
+f4 NOT REGEXP "xyz%"
+(hasAll(f4, f3)) OR (f1 BETWEEN "\t" AND 6.02e23)
+f4 === 'O''Reilly'
+f5 IN [1 2 3]
+f1 IN (.5, -10, f2, TRUE, "abc")
+hasAll(f1)
+f2 = .5)
+f5 NOT ILIKE "\t"
+NOT
+f1 NOT REGEXP ' '
+f1 IN ("abc")
+f2 BETWEEN TRUE AND "%wild%"
+f6 > -.5
+hasAll(f2, 3.14)
+f2 = f1)
+f3 LIKE
+f5 IN (,)
+f2 BETWEEN '' AND "abc"
+AND f6 = f6
+f4 IN (3.14, "\t")
+f4 LIKE "hello world"
+f5 ILIKE ' '
+(hasToken(f3, f6)) OR (f5 == -1e-10)
+f5 NOT
+f6 = 1e10
+f2 IN ()
+AND f3 = 1
+NOT
+hasAny(f2, "hello world")
+f3 == ''
+f2 = 999999999999
+f4 NOT LIKE ' '
+(f6 CONTAINS '') OR (f3 ILIKE "\t")
+AND f5 = -.5
+f3 IN (10, "a_b%", '')
+f4 IN (-3.5e-2, 3.14, 0.0000000001, TRUE)
+f6 LIKE
+(f1 BETWEEN 1 AND -10) OR (f6 <= f1)
+NOT
+f6 = -3.5e-2)
+f4 IN (-2.7, f1, "a_b%")
+f4 NOT LIKE "a_b%"
+f1 == -.5
+f1 NOT LIKE ''
+f6 > -1e-10
+f5 OR OR ''
+f3 = "abc"
+hasAll(f6, 10)
+AND f4 = f6
+hasToken(f6, '')
+f6 = -10
+f5 BETWEEN 999999999999 AND 0
+f1 IN ("abc")
+f3 REGEXP "\t"
+f1 < -1
+f4 BETWEEN f2
+f6 BETWEEN f3 AND 0
+f4 BETWEEN -10 AND .5
+f5 BETWEEN TRUE AND "hello world"
+hasToken(f2, -.5)
+f1 CONTAINS 'test'
+f6 NOT CONTAINS "xyz%"
+(f2 IN (TRUE, 'O''Reilly', 1e10, "\n", -2.7)) OR (f6 IN (f3, 3.14, "xyz%", -2.7, -.5))
+f4 BETWEEN f4 AND -1
+hasAll(f4, "%wild%")
+f2 REGEXP 'O''Reilly'
+f5 IN [1 2 3]
+f1 NOT CONTAINS 'O''Reilly'
+()
+f6 = NULL
+(f3 BETWEEN f2 AND 1e10) AND (f6 ILIKE ' ')
+(f2 = 'test'
+f2 IN (-10, -1)
+f5 BETWEEN AND "a_b%"
+f4 IS NULL
+has(f3, 3.14)
+f2 BETWEEN AND ' '
+f6 =
+f3 OR OR "\n"
+f4 BETWEEN '' AND f1
+f1 BETWEEN -3.5e-2 AND .5
+hasAny(f5, 999999999999)
+f3 <> f3
+((((f1 >= 1e10) AND (f6 <> 6.02e23)) OR (hasAny(f5, 6.02e23))) AND ((f3 CONTAINS ' ') OR (hasToken(f3, "\n")))) OR (f2 BETWEEN "hello world" AND .5)
+f3 OR OR -1
+(f3 NOT REGEXP "\t") OR (hasToken(f3, 'O''Reilly'))
+(f3 BETWEEN -.5 AND f2) AND (f4 IN (-.5, '', 3.14, "\t", ' '))
+(f2 NOT REGEXP "xyz%") AND (hasToken(f4, "\t"))
+(f3 IN (f4, f5, f2, 'O''Reilly', f2)) OR (f5 BETWEEN f2 AND -10)
+f1 = 10)
+hasToken(f5, f2)
+f6 IN (0, "%wild%")
+f6 > f4
+f4 IN (6.02e23, -10)
+f4 IN (3.14, "\t", "a_b%")
+NOT
+f5 LIKE ''
+((f3 NOT LIKE "\t") OR (f4 LIKE "xyz%")) OR (f6 > "abc")
+f1 NOT LIKE "a_b%"
+f2 BETWEEN "\n" AND 'O''Reilly'
+f3 BETWEEN "\n" AND ''
+((f6 IN (f2, -1e-10, "a_b%", .5)) OR (hasAny(f2, 0))) AND (f4 BETWEEN .5 AND 3.14)
+f5 = 10
+(has(f5, -1)) OR (f6 NOT REGEXP "a_b%")
+(f3 BETWEEN 999999999999 AND 6.02e23) AND (f5 BETWEEN -10 AND -1e-10)
+(f5 <> TRUE) OR (hasAll(f6, "abc"))
+has(f6, "hello world")
+hasAny(f4, -.5)
+f3 REGEXP "a_b%"
+f1 NOT ILIKE ' '
+f3 BETWEEN 'O''Reilly' AND "\t"
+f5 IS NULL
+f4 != f1
+(hasToken(f5, 1e10)) OR (f3 IN ("abc", 3.14, 6.02e23, "hello world"))
+AND f6 = 1e10
+f1 BETWEEN "%wild%" AND -2.7
+f6 BETWEEN "\n"
+f6 <= "%wild%"
+f4 BETWEEN 0 AND 0
+f4 === ''
+f4 === "abc"
+f5 IN (f1, "hello world", 0.0000000001)
+f2 != 999999999999
+f5 OR OR f4
+has(f2, f1)
+f3 IN ()
+f5 IN (-1e-10, -3.5e-2, 999999999999, 1, f4)
+f1 IN ("%wild%", f3)
+f4 LIKE ' '
+hasAny(f6, 'O''Reilly')
+(f6 IN ("a_b%", f2, -10, -2.7)) AND (f3 <= f5)
+(f3 BETWEEN -3.5e-2 AND "\n") OR (f5 IN (0.0000000001, "hello world", f1, 'test'))
+f6 BETWEEN -2.7 AND 0
+f1 = NULL
+f4 BETWEEN -10 AND 6.02e23
+f1 BETWEEN 0 AND 1e10
+f2 LIKE ' '
+f6 REGEXP "\n"
+f1 OR OR "hello world"
+f5 BETWEEN "%wild%" AND 1
+f1 >= 0
+f1 != 1e10
+f3 <> -.5
+f5 <> ' '
+f5 = 'test'
+f4 == 0
+f3 = 'unclosed
+f4 NOT REGEXP "abc"
+hasAll(f5, f3)
+f2 >= -1e-10
+f2 > 10
+f3 IN ("\t")
+f2 NOT
+f6 NOT
+f3 != f6
+f1 = .5
+f3 NOT ILIKE ' '
+f6 NOT LIKE "abc"
+f2 = NULL
+f6 BETWEEN 6.02e23 AND 999999999999
+f3 IN (.5)
+f4 >= "\t"
+hasToken(f4, 3.14)
+(f1 > 3.14) AND (hasAny(f4, "hello world"))
+f5 BETWEEN 999999999999 AND 999999999999
+f5 BETWEEN "\t"
+f3 BETWEEN ''
+(f5 <> -.5) AND (f1 REGEXP 'O''Reilly')
+hasAll(f6, 1)
+f6 BETWEEN 3.14 AND "abc"
+(f1 IN ('O''Reilly', 1e10, 0.0000000001, -3.5e-2, "\t")) OR (f4 IN (-10))
+f2 NOT ILIKE ' '
+f1 <= ''
+f3 < f5
+f5 NOT ILIKE "xyz%"
+hasToken(f2, -3.5e-2)
+f4 NOT REGEXP "%wild%"
+f6 =
+f4 IN (-2.7, 3.14, 1e10, -.5)
+f6 =
+f2 IN ("\n", -1e-10)
+f5 IN (f6, TRUE)
+f1 BETWEEN "\t"
+hasAll(f4, -3.5e-2)
+f5 ILIKE "a_b%"
+(f5 = f3
+f3 BETWEEN 'test' AND -2.7
+f5 > 0.0000000001
+hasAny(f5, 3.14)
+f2 = NULL
+(f2 BETWEEN f6 AND 3.14) AND (f6 NOT CONTAINS "xyz%")
+f4 BETWEEN AND f2
+f4 LIKE
+hasAll(f1, 0)
+f1 = 3.14
+f6 != .5
+has(f5, "xyz%")
+f1 = NULL
+NOT
+(f5 NOT LIKE "a_b%") AND (f4 BETWEEN "%wild%" AND f2)
+f6 == 'test'
+(f5 != 0) AND (f5 BETWEEN -.5 AND "\n")
+f5 >= "\n"
+f2 <= "\t"
+has(f5, "\n")
+hasAny(f5, f3)
+f6 OR OR f3
+f4 =
+f3 LIKE "%wild%"
+f6 BETWEEN "abc" AND f4
+f5 BETWEEN "abc" AND "hello world"
+f6 IN (1e10)
+hasToken(f5, "%wild%")
+f2 NOT REGEXP 'O''Reilly'
+f1 = 'unclosed
+f5 IN (-3.5e-2, f6, 0, -3.5e-2)
+NOT
+f6 LIKE ' '
+has(f6, 0)
+f6 BETWEEN 3.14 AND ' '
+f3 BETWEEN 'test' AND 3.14
+f3 NOT CONTAINS "abc"
+f5 IN (f5, .5, .5, f2)
+f2 BETWEEN AND 'test'
+NOT
+f5 BETWEEN f5 AND 10
+(f1 BETWEEN '' AND "\t") OR (f1 NOT LIKE "\t")
+f1 IN [1 2 3]
+f2 LIKE
+f5 IN ()
+f1 IN ("xyz%", 3.14, "hello world", TRUE)
+f3 OR OR "abc"
+f3 NOT LIKE "a_b%"
+f2 LIKE 'test'
+f5 BETWEEN TRUE AND 'O''Reilly'
+f1 IN (f2)
+f3 OR OR -10
+f4 IN ("\t")
+hasToken(f4, f5)
+f2 < -10
+f2 IN ("hello world", f1, "hello world")
+f1 IN ()
+f3 = 'unclosed
+f1 LIKE "abc"
+(f2 <= "hello world") AND (hasToken(f3, 1))
+hasAny(f1, 1)
+hasToken(f1, 999999999999)
+(f6 BETWEEN "abc" AND "\t") AND (f5 IN (-.5, f1))
+(f6 != 'test') AND (f5 BETWEEN 999999999999 AND 0)
+f4 = .5)
+f4 >= "\t"
+(f1 NOT CONTAINS "\n") AND (f4 != 6.02e23)
+(hasAny(f1, 999999999999)) OR (f1 BETWEEN '' AND "abc")
+f6 BETWEEN f3 AND -.5
+f6 IN ("hello world")
+(has(f3, "hello world")) OR ((f4 != 1e10) AND (hasAny(f6, 'test')))
+has(f2, "\t")
+f5 BETWEEN f5 AND 0
+f6 REGEXP "\t"
+f6 === 6.02e23
+f2 IN (,)
+f5 BETWEEN f5 AND "hello world"
+hasAll(f1, "xyz%")
+(f4 REGEXP 'test') OR (f1 IN (' '))
+f6 IN ("\n")
+f3 BETWEEN 999999999999 AND 1e10
+(f3 IN (0.0000000001, "hello world", '')) AND (hasAll(f5, "a_b%"))
+f5 IS NULL
+f4 ILIKE "a_b%"
+f1 IS NULL
+f3 OR OR -.5
+hasAny(f6, 0)
+f5 ILIKE "abc"
+NOT
+f2 = 'unclosed
+(f5 NOT LIKE 'test') AND ((f5 ILIKE "\n") AND (f3 BETWEEN 3.14 AND 1))
+(f4 BETWEEN -.5 AND '') OR (hasAny(f5, "%wild%"))
+f6 IN (,)
+f6 >= f4
+f2 >= -2.7
+f1 IN ("a_b%", 6.02e23, 'test', "\n")
+hasAll(f5, -3.5e-2)
+(f1 = f6
+f1 IN [1 2 3]
+f2 =
+f2 IN [1 2 3]
+f6 BETWEEN "%wild%"
+f1 BETWEEN AND 'O''Reilly'
+f2 BETWEEN "\t" AND 0.0000000001
+f5 IN ()
+hasToken(f6, TRUE)
+f6 < 0.0000000001
+f4 == -10
+f1 BETWEEN .5 AND f6
+f5 IN (.5, 6.02e23, "\n")
+has(f3, f4)
+f6 CONTAINS "%wild%"
+f3 <> 3.14
+f3 LIKE "abc"
+has(f5, .5)
+(f1 = "abc"
+f5 IN (3.14, f6, f6)
+hasAll(f4, "a_b%")
+f5 NOT LIKE "a_b%"
+f4 BETWEEN -1 AND 999999999999
+hasAll(f6, 999999999999)
+f5 IN (10, -1, -10)
+f4 > "\t"
+f5 <> -1e-10
+hasAny(f2)
+f3 LIKE "a_b%"
+has(f5, f1)
+has(f1, "\n")
+f5 == f2
+f1 IN ("a_b%")
+f5 <= "%wild%"
+f3 REGEXP "a_b%"
+(f5 BETWEEN -1e-10 AND 3.14) OR ((f6 NOT REGEXP 'O''Reilly') AND (f4 IN (-2.7, 6.02e23, TRUE, f6, .5)))
+((f6 NOT ILIKE "hello world") AND (f5 >= -1)) AND (f4 == f3)
+f2 BETWEEN 1e10 AND "a_b%"
+has(f5, 3.14)
+((f6 BETWEEN f2 AND f3) OR (f3 == 1)) OR (hasAll(f3, -.5))
+f4 LIKE "abc"
+(f5 IN (TRUE, "a_b%", f5, 3.14)) AND (f3 IN (' ', 'O''Reilly', f2))
+f1 IN ("\t", -10, "xyz%", 1, -10)
+f6 === 1
+f2 IN (TRUE)
+hasToken(f5, 999999999999)
+f6 NOT
+f1 BETWEEN "abc" AND -2.7
+f3 NOT
+f4 >= 0.0000000001
+f1 IN (TRUE, f6, 10, -2.7, -.5)
+f4 = 1e10)
+f6 NOT CONTAINS "hello world"
+f3 BETWEEN -.5
+f2 IN (0, 3.14, -.5, 999999999999)
+f6 BETWEEN 10 AND 10
+(f3 <= f4) OR (f4 == '')
+f1 > "\t"
+hasAll(f2, TRUE)
+(f3 NOT ILIKE "\t") AND (hasAny(f3, "abc"))
+has(f2, ' ')
+(f3 NOT REGEXP '') OR (f4 <= -1e-10)
+f6 BETWEEN 10 AND 999999999999
+AND f2 = f1
+f1 === f5
+hasAny(f2, 'test')
+(f5 NOT LIKE "\n") OR (f6 IN ('', f4, f1))
+hasToken(f6, 6.02e23)
+f4 NOT LIKE "xyz%"
+(f2 < '') OR ((f6 >= "%wild%") OR (f5 IN (999999999999, 0)))
+f2 BETWEEN 'test' AND 1e10
+f1 CONTAINS "%wild%"
+f6 BETWEEN -1e-10 AND ' '
+f5 IS NULL
+f1 LIKE
+f4 <> -10
+f5 == 1
+(f3 = 'O''Reilly'
+f5 === 3.14
+(f5 BETWEEN 1e10 AND 0) AND (f2 IN ('O''Reilly', "hello world"))
+hasToken(f1, TRUE)
+(f3 NOT CONTAINS ' ') OR (f3 IN (' ', -3.5e-2))
+f3 <= "abc"
+(f2 = -10
+hasToken(f3, .5)
+f2 BETWEEN 999999999999 AND "hello world"
+(f3 IN ('O''Reilly', 'O''Reilly', ' ', "\t")) OR (f3 IN ("xyz%"))
+(f2 NOT LIKE 'O''Reilly') AND (f6 LIKE ' ')
+f5 BETWEEN 3.14 AND "hello world"
+hasToken(f2, "\t")
+AND f6 = .5
+f6 = 'unclosed
+hasToken(f6, 1)
+hasAny(f5, "xyz%")
+f2 LIKE ' '
+f5 BETWEEN .5 AND 3.14
+NOT
+(f1 IN (-1, "\t", f6)) AND (f1 IN ("xyz%"))
+f5 NOT REGEXP "%wild%"
+f6 IN (,)
+hasAll(f1, "hello world")
+f4 IN (,)
+(f5 BETWEEN "xyz%" AND "a_b%") OR (f3 IN (3.14))
+f2 BETWEEN -10 AND f6
+f2 == -.5
+f3 === 0.0000000001
+f1 IN (f1, TRUE, f2, -1)
+f6 BETWEEN AND "\t"
+f6 = f4
+f6 IN (TRUE, 1e10, '')
+has(f3, .5)
+f3 BETWEEN "%wild%" AND -1e-10
+f3 BETWEEN 0.0000000001 AND "xyz%"
+f4 BETWEEN "xyz%" AND "\n"
+f4 BETWEEN 10 AND f1
+f4 IN ('test', 1, 999999999999)
+f5 IN (1e10, .5)
+(f6 IN (1e10, 1, ' ', '')) OR (f2 BETWEEN -2.7 AND "\t")
+f6 =
+hasToken(f2, 10)
+f5 BETWEEN f6 AND 'test'
+(f5 = -2.7
+f6 IN (' ', 'test')
+f6 LIKE
+f6 BETWEEN f2 AND 1
+f4 BETWEEN "xyz%" AND -.5
+f1 = NULL
+has(f1, "xyz%")
+hasAll(f1, 1)
+f2 IN (f2, 'test', -1)
+f4 IN ("xyz%")
+hasToken(f5, f5)
+f3 IN [1 2 3]
+f4 < 0
+f4 NOT ILIKE 'test'
+hasAll(f6, f4)
+f5 IS NULL
+f4 NOT
+f6 IN (,)
+f6 == -2.7
+NOT
+f5 ILIKE "a_b%"
+f3 BETWEEN 999999999999 AND 1e10
+f1 == 1
+hasAny(f5, .5)
+f5 IN ()
+f4 IN (3.14, "a_b%", f4)
+f5 < -.5
+hasAny(f1, -10)
+f6 IN (6.02e23, "xyz%", f4, 0, f6)
+f6 = -1e-10)
+f3 BETWEEN "hello world" AND 1e10
+(f2 <= -2.7) OR ((f4 CONTAINS "\n") AND (f4 != f3))
+f6 BETWEEN .5 AND f2
+f5 OR OR ' '
+()
+f2 >= -1e-10
+f6 BETWEEN "\n" AND "hello world"
+f1 IN (f3, 10, "xyz%")
+f1 IN ("abc", f5, -3.5e-2)
+(f1 ILIKE 'test') AND (f6 = 0)
+f5 BETWEEN f4 AND 0
+f6 ILIKE "\t"
+f6 IN (-1e-10, 0, 6.02e23)
+f1 BETWEEN -.5 AND f6
+f5 LIKE 'test'
+f3 IN (,)
+f1 IN (10, 999999999999, 3.14, "xyz%")
+f5 IN (,)
+f1 NOT CONTAINS "xyz%"
+(hasAny(f4, 6.02e23)) AND (f6 BETWEEN 0.0000000001 AND f2)
+f6 IS NULL
+f1 LIKE 'O''Reilly'
+f5 BETWEEN AND f5
+f5 IN (10, 999999999999, f2)
+f2 = NULL
+f6 CONTAINS ' '
+has(f5)
+f5 BETWEEN 999999999999 AND f5
+f5 IS NULL
+f5 != f3
+f5 IN [1 2 3]
+f3 IS NULL
+f2 LIKE "xyz%"
+(f1 == f2) OR ((f6 IN (f3, f3, 'test', f4)) AND (f1 IN (TRUE)))
+f3 IN (f6, -1, f5)
+f6 IN [1 2 3]
+f2 BETWEEN 'O''Reilly'
+(f5 BETWEEN -1e-10 AND 10) AND (hasAny(f1, ''))
+f2 >= 0.0000000001
+(f6 IN ("hello world")) AND (hasToken(f5, ''))
+hasAny(f4, -.5)
+(f4 BETWEEN -1 AND 6.02e23) AND ((hasToken(f5, 999999999999)) AND ((f2 LIKE 'O''Reilly') OR (f5 CONTAINS 'test')))
+(f2 = -1
+hasToken(f6, "xyz%")
+f5 IN (.5)
+f1 == "%wild%"
+f4 BETWEEN 1e10 AND "a_b%"
+f2 LIKE "xyz%"
+f6 =
+(f2 NOT CONTAINS "a_b%") AND (f6 > -3.5e-2)
+(f2 BETWEEN -10 AND .5) OR (f3 BETWEEN -10 AND "\n")
+f5 BETWEEN -3.5e-2 AND TRUE
+f5 IN (-.5, f3, f2, f3)
+hasAll(f5, TRUE)
+f6 BETWEEN 'O''Reilly' AND "\t"
+f3 = NULL
+(f2 ILIKE "\n") AND (f4 NOT ILIKE "%wild%")
+f3 = NULL
+f5 != TRUE
+(f5 >= 10) AND (f2 BETWEEN "a_b%" AND 10)
+f5 <> 0.0000000001
+f2 BETWEEN f4 AND "xyz%"
+f3 IN ('test', 'test', f4)
+f4 IN (,)
+f5 CONTAINS ' '
+hasAll(f6, -.5)
+(f6 = -1e-10
+hasAll(f2, 999999999999)
+f5 IN ()
+f4 === .5
+AND f4 = -3.5e-2
+f5 =
+f2 > -.5
+f2 IN (-1, -10)
+has(f6, 6.02e23)
+hasToken(f4, f1)
+f6 NOT
+hasToken(f2, ' ')
+f4 REGEXP ''
+(f6 <= f5) AND (hasAll(f3, -10))
+f5 < f1
+has(f3, "xyz%")
+f5 REGEXP "\t"
+hasAll(f2, 10)
+f1 BETWEEN f2
+((f2 != "%wild%") AND (((f2 >= -3.5e-2) OR (f3 < '')) OR ((f2 = f2) OR (f5 != "%wild%")))) OR (f4 NOT CONTAINS "hello world")
+f4 NOT CONTAINS ''
+f4 > 3.14
+hasToken(f1, f1)
+f5 REGEXP "abc"
+hasToken(f1, 999999999999)
+f2 BETWEEN .5 AND f5
+hasAny(f1, "\t")
+(f3 IN (1, 1e10, 3.14)) OR (f3 LIKE "\t")
+(f6 = 0.0000000001
+f2 BETWEEN 0.0000000001 AND ' '
+f1 OR OR TRUE
+f1 NOT CONTAINS "abc"
+f2 IN (-2.7, f5, '')
+f4 != f1
+f1 IN [1 2 3]
+f1 BETWEEN f5
+f5 NOT CONTAINS ''
+f1 IN [1 2 3]
+hasToken(f5, 'test')
+(f2 BETWEEN 3.14 AND f4) OR (hasAll(f3, "a_b%"))
+f6 NOT CONTAINS "abc"
+hasAll(f6, "%wild%")
+hasAny(f6, 'O''Reilly')
+f4 IN (0.0000000001, -3.5e-2, f3)
+f1 IN ("a_b%")
+f4 BETWEEN f3 AND 10
+AND f6 = "\n"
+has(f2, -1)
+f4 IN (-2.7, f1)
+f6 IN (-1, "\t", "\t", 'O''Reilly')
+f2 BETWEEN "abc" AND f5
+(f5 BETWEEN -1e-10 AND 0.0000000001) AND ((f5 IN (6.02e23, ' ')) OR (hasAny(f3, f6)))
+f6 = NULL
+(f5 = 1) AND (has(f1, -1))
+f6 BETWEEN TRUE AND "\t"
+f4 = f6
+f3 REGEXP "\n"
+AND f5 = "\t"
+f5 OR OR 6.02e23
+(f3 = f3
+f4 = NULL
+f1 IN (,)
+AND f4 = .5
+f2 = NULL
+((f3 NOT LIKE 'O''Reilly') AND (f3 CONTAINS "%wild%")) AND (f5 BETWEEN f3 AND -1e-10)
+f2 OR OR TRUE
+f6 BETWEEN 3.14
+f5 IN ("abc", 0, 3.14)
+f4 IN [1 2 3]
+f3 IN (-10, 0)
+(hasToken(f5, 0)) OR (f2 <= 1)
+f2 = NULL
+f1 = 'test'
+f3 IN (' ', "%wild%")
+(f2 ILIKE "hello world") AND ((f3 IN (-2.7, f3, 3.14)) AND (f4 IN (999999999999, 6.02e23, 999999999999, TRUE)))
+NOT
+f6 IS NULL
+f3 <> 0
+f4 ILIKE ' '
+AND f2 = "%wild%"
+f2 ILIKE "a_b%"
+f3 BETWEEN 999999999999 AND f3
+((f1 BETWEEN -10 AND "xyz%") OR (f4 IN ('', 1, "abc", 10))) OR ((f5 > -3.5e-2) AND (f5 BETWEEN f5 AND -2.7))
+f1 IN [1 2 3]
+hasAny(f5, "xyz%")
+has(f4, 10)
+f4 REGEXP "\t"
+f3 IN ('O''Reilly', 6.02e23, -3.5e-2, ' ', 1e10)
+AND f4 = ' '
+f4 NOT REGEXP "abc"
+f2 BETWEEN '' AND -.5
+f3 REGEXP "hello world"
+f2 LIKE
+f5 = NULL
+f1 BETWEEN 1e10 AND "xyz%"
+hasToken(f2, 999999999999)
+f1 BETWEEN f5 AND "%wild%"
+f2 BETWEEN f3 AND -1e-10
+f4 CONTAINS 'test'
+(f5 IN (f6, 6.02e23, f3)) OR (f3 IN (-10, ' ', f5, 0.0000000001))
+((has(f3, "hello world")) OR ((hasAny(f5, TRUE)) OR (f1 LIKE ' '))) OR (f3 <= 3.14)
+(f3 IN (-1)) OR (f5 IN (.5, "\t", "\n", -2.7, 3.14))
+has(f5, -10)
+(f2 NOT CONTAINS "abc") AND ((f5 NOT ILIKE "\t") AND (f4 IN ("xyz%", 1e10)))
+f3 == -2.7
+f4 LIKE "a_b%"
+f2 IN (-.5, -10, 'O''Reilly', f2)
+(((f4 BETWEEN -2.7 AND -1) OR (f2 BETWEEN "%wild%" AND f2)) OR (has(f2, 1e10))) AND (f2 < f6)
+(f4 IN (999999999999, 3.14, f2)) AND (f6 = "hello world")
+()
+()
+f2 > 'test'
+f1 NOT
+f4 REGEXP ' '
+hasToken(f6, -.5)
+f2 IN (.5, -1e-10, 3.14, 'test')
+NOT
+has(f3, 1e10)
+f6 NOT CONTAINS "%wild%"
+f1 BETWEEN 10 AND f1
+f4 OR OR 'test'
+()
+f2 REGEXP 'O''Reilly'
+(f1 < -3.5e-2) OR (f6 NOT REGEXP 'O''Reilly')
+f4 BETWEEN "abc" AND "%wild%"
+f5 IN (-.5, 'O''Reilly', TRUE, f6)
+f6 === -3.5e-2
+f3 CONTAINS "\t"
+f2 BETWEEN "xyz%" AND f5
+f2 === "%wild%"
+AND f6 = -1
+f1 BETWEEN AND -1e-10
+f2 IN [1 2 3]
+f4 BETWEEN "%wild%" AND f6
+has(f3, f4)
+f6 IN (0.0000000001)
+f3 IN ("a_b%", "abc", -3.5e-2)
+f4 NOT ILIKE ' '
+f5 = "\t")
+f3 BETWEEN 1e10 AND f6
+f5 IN (,)
+f4 LIKE "a_b%"
+f6 IN (.5, -10, "xyz%", -1, f1)
+f4 IN (' ', -2.7, 1e10, f1)
+((hasToken(f1, ' ')) AND (f1 IN (f6, "abc"))) OR (f4 IN (999999999999, 0.0000000001))
+hasToken(f3, "%wild%")
+(f2 BETWEEN 999999999999 AND 10) OR (f4 LIKE "a_b%")
+f4 NOT REGEXP "\t"
+(f1 = -2.7
+hasAny(f4, f6)
+f6 IN (-2.7, 'test')
+f4 BETWEEN 999999999999 AND "%wild%"
+(hasAny(f1, 3.14)) AND (((hasToken(f4, "xyz%")) OR (f5 CONTAINS '')) OR (f2 BETWEEN 0 AND f3))
+f1 <= "xyz%"
+f6 != "\t"
+f4 NOT
+f1 = NULL
+f1 REGEXP "hello world"
+f3 LIKE 'O''Reilly'
+f2 BETWEEN "%wild%" AND f6
+f6 BETWEEN f3 AND 1
+f6 <> ' '
+f2 IN (.5)
+f6 IN (1e10, "xyz%", "\t", -1, .5)
+f2 BETWEEN AND ' '
+f5 <= f1
+f3 != ' '
+NOT
+f5 IN ("hello world", f6, f5, "\t", 3.14)
+f3 REGEXP "xyz%"
+f1 BETWEEN AND 6.02e23
+f4 BETWEEN 6.02e23 AND 0.0000000001
+f3 NOT ILIKE "%wild%"
+f5 BETWEEN f4 AND 10
+f1 CONTAINS "hello world"
+f5 IN [1 2 3]
+f1 REGEXP "%wild%"
+f5 IN (f6, ' ')
+f1 <= f1
+hasToken(f4, f2)
+f2 IN ('O''Reilly', f2)
+f2 =
+hasToken(f6, .5)
+((f6 BETWEEN -1e-10 AND "\t") AND (f6 LIKE "\t")) AND (f1 NOT CONTAINS "xyz%")
+f5 IN (1, f3, 'test', "\t", .5)
+f3 <= "%wild%"
+f3 CONTAINS "%wild%"
+f6 NOT ILIKE "%wild%"
+((f5 BETWEEN 6.02e23 AND -.5) AND (f1 BETWEEN 'test' AND 1e10)) AND (f2 >= 1e10)
+f3 BETWEEN 3.14
+f6 IN [1 2 3]
+f5 IN (,)
+f3 LIKE "\t"
+f1 IN ('test', 3.14, 3.14, 0.0000000001)
+hasAny(f2, TRUE)
+(hasAny(f2, f1)) AND (f2 = 1)
+f2 BETWEEN -1e-10 AND "abc"
+f6 = f5)
+f3 IN (3.14, "a_b%", -2.7, f6)
+f1 <= 'test'
+f5 BETWEEN 1e10 AND -3.5e-2
+()
+has(f6, 0)
+f2 BETWEEN 6.02e23 AND f5
+(has(f2, 3.14)) OR (f1 IN (f6))
+AND f2 = "hello world"
+f1 IN (f6, "%wild%", "xyz%", f4)
+f2 <> -.5
+(f1 == '') OR (f5 == 0)
+f6 BETWEEN f2 AND 1e10
+f2 BETWEEN 'O''Reilly'
+f2 NOT LIKE "abc"
+f2 IN ()
+f6 NOT CONTAINS "hello world"
+f2 LIKE 'O''Reilly'
+hasAll(f4, 3.14)
+f6 < -10
+f5 != ' '
+f6 = f4)
+f1 IN (6.02e23, f6, f6)
+f3 <= 1
+f3 = NULL
+f3 != 10
+f4 === f2
+(f3 IN (0.0000000001)) AND ((f5 IN (1e10)) AND (f2 >= f4))
+f2 BETWEEN 999999999999 AND "a_b%"
+f3 BETWEEN 1 AND f1
+f6 IN ('')
+f5 <> -3.5e-2
+f1 REGEXP "xyz%"
+f2 IN ("hello world", 0.0000000001, 'O''Reilly')
+f6 != 'O''Reilly'
+f6 BETWEEN AND "a_b%"
+f2 = "%wild%"
+f5 == ''
+f2 IN (0, f1, -.5)
+f5 IN ("hello world")
+hasAll(f6, "abc")
+f2 BETWEEN 999999999999 AND -10
+hasToken(f2, ' ')
+has(f3, -3.5e-2)
+f1 IN ()
+f6 BETWEEN "hello world" AND "\t"
+hasAll(f2, -2.7)
+f6 != -1
+f1 IN (f6, 0.0000000001, "hello world", 1)
+f1 CONTAINS "\t"
+(hasAny(f6, .5)) OR (f3 BETWEEN f1 AND -1e-10)
+f3 IN ("abc", f3)
+f3 === f5
+f6 = -1
+hasToken(f2, "%wild%")
+f1 =
+()
+f1 IN (,)
+((f4 IN (1e10, f5, TRUE, -1e-10)) AND (f3 > 3.14)) OR ((f1 REGEXP "a_b%") AND ((f1 BETWEEN 'test' AND 0.0000000001) OR (has(f3, ''))))
+f5 = NULL
+()
+(f5 BETWEEN 3.14 AND -10) AND ((f4 > '') OR (hasAny(f4, -10)))
+f2 IN (,)
+NOT
+hasToken(f1, 3.14)
+f6 NOT LIKE "\n"
+(f6 = .5
+f3 IN ('O''Reilly', f1)
+AND f4 = f2
+f4 === "xyz%"
+f5 IN (1e10, "xyz%", '')
+f2 <> "abc"
+hasAll(f1, "hello world")
+(f6 IN ("xyz%")) AND ((hasAny(f6, f4)) AND (f6 REGEXP "\n"))
+hasAll(f3, f5)
+f5 IN (,)
+f1 BETWEEN AND 0.0000000001
+f3 IN ("\t", -1e-10, 'test')
+f3 == ' '
+f6 NOT LIKE ''
+f3 ILIKE "hello world"
+f6 LIKE
+hasToken(f2, "hello world")
+f3 NOT REGEXP "%wild%"
+hasAny(f6, '')
+f2 NOT ILIKE ' '
+f2 LIKE
+f1 BETWEEN f5 AND 10
+f5 > 999999999999
+(f3 = 10
+f4 IN (f4, "xyz%", 'test')
+f4 NOT CONTAINS 'test'
+f1 BETWEEN "\t" AND 1
+f1 IN (f6, f3)
+hasToken(f1)
+f4 IN (-2.7, "a_b%")
+(f4 BETWEEN f3 AND 3.14) AND (f6 NOT CONTAINS "abc")
+f1 NOT LIKE "%wild%"
+f2 BETWEEN 6.02e23 AND .5
+((f5 IN (-10, 'O''Reilly', "xyz%")) OR (f6 ILIKE "abc")) OR (f2 IN (f2, "\n"))
+f5 NOT LIKE "%wild%"
+f2 REGEXP 'test'
+(f2 LIKE "abc") OR (hasAny(f5, 999999999999))
+(has(f5, f4)) OR (f6 BETWEEN '' AND TRUE)
+f1 BETWEEN -2.7 AND f6
+f5 LIKE
+f3 IN (,)
+(f6 ILIKE "\n") AND (((f4 ILIKE "\n") AND (hasAny(f4, "\t"))) OR (f6 BETWEEN f1 AND f5))
+f2 CONTAINS "%wild%"
+f2 IN ("abc", "\t", 0, 1)
+NOT
+has(f5, -2.7)
+f2 IN (-.5, 0, f4, 0, f5)
+(((hasToken(f6, .5)) AND (f4 IN (TRUE))) OR (f1 IN (0, -.5))) AND (f2 BETWEEN 1e10 AND 'O''Reilly')
+f4 NOT LIKE "%wild%"
+f6 NOT REGEXP ''
+f2 CONTAINS "a_b%"
+f1 IN [1 2 3]
+f4 BETWEEN -10 AND f3
+f5 IN ('', f2, f2, 'test', -3.5e-2)
+f5 IN ("xyz%", 10, f3, 1, "a_b%")
+f1 BETWEEN -.5 AND f1
+f6 NOT REGEXP "hello world"
+f4 REGEXP ' '
+hasToken(f1, TRUE)
+f2 NOT LIKE "abc"
+f4 >= f4
+(f2 != 0) AND (((f3 ILIKE 'test') AND (f2 BETWEEN "%wild%" AND "a_b%")) AND (f1 BETWEEN 'O''Reilly' AND -2.7))
+f3 IN (1e10, -2.7, 6.02e23, 1)
+f6 IN ("xyz%")
+f5 BETWEEN "\t" AND "%wild%"
+f3 BETWEEN "a_b%" AND -2.7
+f3 CONTAINS "\n"
+f3 NOT REGEXP "abc"
+f6 = 'unclosed
+f3 <> 0
+f2 IN (f6, f6)
+f5 = NULL
+f3 IN (10, f5, -2.7, -2.7, 0.0000000001)
+f4 IN (10, "\n", f3, f6, "a_b%")
+f2 == 6.02e23
+f4 LIKE "a_b%"
+((f1 IN ("%wild%", 999999999999, "xyz%", 1e10, f2)) AND (f5 BETWEEN f3 AND f5)) AND (f5 BETWEEN 0 AND 1)
+f3 <> -3.5e-2
+(((f6 IN (.5, 0, "xyz%")) AND (f2 BETWEEN 0 AND -1)) OR (f5 IN (1e10, -1e-10, 0.0000000001, "xyz%"))) OR (hasAny(f1, 'O''Reilly'))
+hasAll(f1)
+f1 IN (-2.7, "%wild%", TRUE)
+f1 BETWEEN 1e10 AND "hello world"
+f6 >= 6.02e23
+f6 CONTAINS "xyz%"
+f2 > 999999999999
+f3 <= "hello world"
+f2 NOT CONTAINS 'test'
+f5 NOT CONTAINS "a_b%"
+f2 BETWEEN "\n" AND -1e-10
+f6 == "a_b%"
+hasAny(f5)
+f1 REGEXP "\t"
+(f6 BETWEEN f6 AND TRUE) AND (f2 REGEXP 'test')
+f5 BETWEEN f3 AND -1e-10
+()
+hasAny(f6, .5)
+f6 != f4
+f6 BETWEEN 'test' AND f2
+f3 LIKE
+(f2 IN ("\t")) AND (f4 IN (f4, "%wild%", f2, -2.7))
+f1 != 6.02e23
+(f1 < -3.5e-2) AND (hasAll(f6, 1e10))
+hasAll(f4, ' ')
+f1 IN ("a_b%", "a_b%", "xyz%", "%wild%", f6)
+()
+f3 IN (,)
+(f1 BETWEEN 1 AND 1e10) AND (f4 NOT CONTAINS 'test')
+hasAll(f1, 0.0000000001)
+hasAny(f2, -1e-10)
+()
+((has(f6, 0.0000000001)) AND (f2 IN (-.5, ' '))) OR ((f3 == f1) AND (f3 ILIKE "hello world"))
+(f6 > 'O''Reilly') OR (f6 IN (' ', 0, 6.02e23, 'O''Reilly', TRUE))
+f6 == "\n"
+f1 =
+f6 === 'O''Reilly'
+f2 != 'O''Reilly'
+f1 IN (-3.5e-2)
+hasToken(f3, 999999999999)
+f3 === -10
+f2 IN (-3.5e-2)
+f5 CONTAINS "%wild%"
+f4 IN ("\t", f6, -1e-10)
+f2 BETWEEN -1 AND 'test'
+f4 > -1e-10
+has(f5, f4)
+f1 = NULL
+f5 BETWEEN -.5 AND "hello world"
+NOT
+f6 IS NULL
+f2 ILIKE 'test'
+f5 IN (-3.5e-2, 3.14)
+f3 BETWEEN 0 AND "\t"
+f6 REGEXP "%wild%"
+f5 ILIKE ' '
+f1 IN (TRUE, ' ', -3.5e-2)
+f6 NOT LIKE 'test'
+f6 BETWEEN -10 AND 6.02e23
+f5 = NULL
+f6 IN (10, 'O''Reilly', 6.02e23)
+f2 IN ("a_b%", "\n", 6.02e23, f1)
+f1 REGEXP "%wild%"
+f6 = f2
+f4 CONTAINS "abc"
+(f3 = 'test'
+(f4 BETWEEN f4 AND f4) AND (f6 IN ("xyz%", -3.5e-2))
+f6 IN (1e10)
+f6 === -2.7
+(hasToken(f5, f2)) OR ((f5 < -1) OR ((f2 >= ' ') OR (f6 = 'test')))
+NOT
+f2 REGEXP ' '
+f3 CONTAINS "\n"
+((f1 IN (1, "%wild%")) OR (f3 != f6)) AND ((hasAll(f4, f3)) OR (f1 <= "\n"))
+f1 OR OR f5
+f6 IN (,)
+f3 OR OR TRUE
+f3 = 10
+f1 IN ("\t")
+f1 NOT REGEXP ''
+hasAny(f3, "xyz%")
+(hasAll(f1, f6)) AND (f2 BETWEEN '' AND f5)
+f1 <= "\n"
+(f5 BETWEEN 1e10 AND 3.14) OR (hasToken(f5, ' '))
+f6 IN ()
+hasAny(f2, "\n")
+(f5 IN ('test', f3)) OR (f1 BETWEEN 0.0000000001 AND 'test')
+f4 REGEXP "a_b%"
+(f4 = TRUE
+f3 >= f6
+f4 LIKE "xyz%"
+hasToken(f2, -2.7)
+f3 = NULL
+(f2 LIKE "xyz%") OR (hasAll(f5, "\t"))
+()
+f3 IN (1, "\t")
+()
+f3 = 'unclosed
+f6 BETWEEN 0.0000000001 AND -3.5e-2
+NOT
+(f5 IN ('test', f5, -2.7, 3.14)) OR (f2 IN (-1, f1, -2.7))
+f5 IN (,)
+f1 = 1e10)
+hasToken(f4, -3.5e-2)
+f4 = 'unclosed
+f5 ILIKE 'O''Reilly'
+has(f5, -.5)
+f1 = '')
+((f1 NOT LIKE "hello world") AND (((f6 > 'test') AND (f4 < "\n")) AND (f6 NOT LIKE "a_b%"))) AND (f4 <= ' ')
+NOT
+f5 OR OR 10
+hasToken(f4, 'O''Reilly')
+f3 IN (10, 3.14)
+f2 < 6.02e23
+f6 NOT CONTAINS "hello world"
+f1 REGEXP "%wild%"
+f6 LIKE "\t"
+f6 LIKE
+f3 <= "%wild%"
+f3 LIKE "\t"
+f4 <= ' '
+(f4 BETWEEN TRUE AND -3.5e-2) AND (f1 BETWEEN "\n" AND -10)
+f1 BETWEEN "abc" AND 1
+f1 IN ("\n", "abc", "xyz%", f5, -1e-10)
+f5 =
+(f4 = f3
+f1 CONTAINS "hello world"
+f2 BETWEEN 1e10 AND ''
+(f4 NOT LIKE "abc") AND (f1 BETWEEN "\t" AND "%wild%")
+f5 LIKE
+hasAny(f5, 10)
+f3 IN (3.14, "\t", f4, 1e10, 3.14)
+f1 BETWEEN "hello world" AND -.5
+f1 IN ()
+f4 === TRUE
+f6 IN ("abc")
+f5 NOT
+(f3 IN ("\t")) OR (f3 != -.5)
+hasToken(f4, "hello world")
+f4 === -3.5e-2
+NOT
+has(f6, TRUE)
+f5 LIKE ''
+f2 > 0.0000000001
+f6 IS NULL
+f4 BETWEEN '' AND ''
+f4 IN (f5)
+f6 ILIKE "\n"
+f6 IN (-10, -10, f2, 6.02e23)
+f6 IN ()
+(f4 BETWEEN 10 AND 6.02e23) AND ((f1 != TRUE) AND (f1 <> 0))
+f1 BETWEEN 3.14 AND 'O''Reilly'
+(hasAll(f2, -10)) OR (f1 BETWEEN -10 AND -3.5e-2)
+f2 NOT LIKE 'test'
+f5 BETWEEN f4 AND 1e10
+f1 NOT ILIKE "abc"
+f5 BETWEEN f4 AND "\t"
+f6 = 0
+f6 NOT CONTAINS "\n"
+f6 BETWEEN f3 AND f3
+hasAll(f4, 6.02e23)
+has(f5, -1e-10)
+f3 LIKE
+f3 === -3.5e-2
+hasAll(f6, "%wild%")
+has(f1)
+hasToken(f6, 'test')
+f6 LIKE ''
+(f3 IN (f5, f5, "%wild%", "abc")) AND ((f5 NOT ILIKE "a_b%") AND (f3 BETWEEN f4 AND 3.14))
+f6 IN (,)
+f1 BETWEEN TRUE AND 3.14
+f6 NOT
+f3 IN ()
+f5 NOT
+NOT
+f3 BETWEEN 999999999999 AND -3.5e-2
+f3 BETWEEN '' AND .5
+f1 BETWEEN TRUE AND ''
+f2 LIKE
+f5 NOT ILIKE "\t"
+NOT
+f2 IN (.5, "\n", f1, "a_b%")
+f3 IN (-3.5e-2, "xyz%")
+f3 BETWEEN f5 AND f1
+AND f4 = ''
+f5 BETWEEN -1e-10 AND "\t"
+f6 = -10
+(f2 NOT LIKE "\t") AND (hasAny(f5, 1))
+f1 LIKE
+f1 <= -10
+f6 BETWEEN f1 AND "hello world"
+f6 IN (,)
+f2 NOT REGEXP "abc"
+f5 < f3
+hasAny(f1)
+(f2 BETWEEN "%wild%" AND 6.02e23) AND (f6 ILIKE "xyz%")
+has(f2, "abc")
+(f1 != f3) AND (hasAll(f1, 3.14))
+(f6 LIKE "a_b%") OR (f2 BETWEEN 999999999999 AND -1)
+f5 NOT CONTAINS "%wild%"
+AND f5 = "hello world"
+f4 IN (f4, 999999999999)
+f1 <> 0
+f4 <= 6.02e23
+(f2 IN (.5)) AND (((has(f3, 0)) AND (f2 > -.5)) AND (f6 NOT LIKE ''))
+(f3 <= ' ') OR (f6 NOT ILIKE ' ')
+f6 < "abc"
+f2 NOT CONTAINS "a_b%"
+f3 BETWEEN "abc" AND "a_b%"
+f4 IN (-.5, 6.02e23)
+(f4 CONTAINS "abc") AND (hasAll(f4, 0))
+f6 != "\n"
+f3 BETWEEN -2.7 AND ''
+f5 > 'O''Reilly'
+f5 IN ("\t", "%wild%", f1, 0, "xyz%")
+f3 IN ("a_b%", "\n", f3)
+f3 IN ()
+f3 = NULL
+hasAll(f6, -3.5e-2)
+f6 BETWEEN -2.7 AND f3
+f1 BETWEEN 'O''Reilly' AND 0.0000000001
+f1 BETWEEN -.5 AND 'O''Reilly'
+f1 IS NULL
+f6 >= 0.0000000001
+f6 <> "\n"
+hasToken(f4, "xyz%")
+hasAll(f5, 999999999999)
+(f3 BETWEEN "a_b%" AND "abc") OR (f6 IN ("%wild%", .5, "a_b%", "hello world", -2.7))
+f2 =
+AND f5 = "\t"
+(hasToken(f6, -1e-10)) AND (f3 NOT CONTAINS "\n")
+f3 > 1
+f4 <> "%wild%"
+f3 IN (0, "a_b%", 1e10)
+NOT
+f5 NOT
+f2 >= ''
+((f3 != "%wild%") AND (f6 BETWEEN -1e-10 AND f1)) AND (f5 NOT ILIKE 'O''Reilly')
+f1 = "hello world"
+has(f5, 'test')
+f3 NOT ILIKE 'O''Reilly'
+f1 BETWEEN f1 AND TRUE
+f2 IS NULL
+hasAll(f6)
+hasAny(f6, -10)
+((has(f1, -1)) AND (hasToken(f4, -1e-10))) AND (f4 >= -2.7)
+f6 IN (,)
+f2 = NULL
+f5 IN (-2.7)
+f3 = NULL
+hasAny(f3, "a_b%")
+f4 IN [1 2 3]
+f1 <> 1e10
+f1 = NULL
+f3 IN ('', ' ', 10)
+(f6 >= "\n") AND (f2 IN (TRUE, -.5, 'test', 'O''Reilly'))
+f4 LIKE 'O''Reilly'
+(f1 = 10) AND ((f5 IN (-1e-10)) OR ((f3 NOT REGEXP "%wild%") OR (f3 BETWEEN 6.02e23 AND f5)))
+f1 BETWEEN f2 AND f5
+(f1 = TRUE
+f4 BETWEEN -1e-10 AND "xyz%"
+f5 IN (-10, 10, 1, 1, 1)
+f1 BETWEEN -10 AND -.5
+f1 CONTAINS "%wild%"
+AND f2 = ''
+f5 IN (1e10, 3.14, f4)
+()
+(f4 BETWEEN f4 AND .5) OR (f6 <= 'test')
+f6 IN ()
+(f5 >= "abc") AND (f1 BETWEEN f4 AND -1)
+hasAll(f2, -3.5e-2)
+f5 IN (,)
+f4 IN [1 2 3]
+f1 = -10
+f3 = 'unclosed
+(hasToken(f4, -1)) AND (f2 BETWEEN "abc" AND '')
+f6 BETWEEN "%wild%" AND -3.5e-2
+(hasAll(f6, '')) OR (f2 == f4)
+(f1 <> -3.5e-2) OR (f1 NOT CONTAINS 'test')
+f3 == "hello world"
+f4 BETWEEN ' ' AND f2
+f6 IN ()
+(hasToken(f4, '')) OR (hasAll(f1, -10))
+f3 IN (f2)
+hasAll(f4, 6.02e23)
+f4 BETWEEN 10 AND .5
+f3 >= -3.5e-2
+(f2 = "a_b%"
+f1 IN (0, "%wild%", "hello world", 0, 1)
+(has(f6, "hello world")) AND (f4 <= -2.7)
+hasToken(f1, f1)
+has(f6, 0.0000000001)
+has(f4, f3)
+f3 >= "xyz%"
+(f4 NOT LIKE "%wild%") OR (f4 LIKE "\t")
+f4 NOT CONTAINS ''
+f6 <= 1e10
+hasAny(f3, '')
+f1 IN ("%wild%")
+()
+f1 <= f5
+f5 = "\t")
+f6 NOT LIKE "%wild%"
+f1 IN (-1e-10, -2.7)
+hasAny(f2)
+f6 IN ()
+f6 BETWEEN "hello world" AND 10
+hasAny(f4, -1)
+f3 >= "\t"
+f1 OR OR 6.02e23
+f5 = 'unclosed
+f2 NOT CONTAINS "hello world"
+f1 = 'unclosed
+NOT
+(hasAll(f2, .5)) OR (f3 <= f5)
+f2 IN (3.14, -10, f1, 999999999999)
+has(f5, -1)
+f2 LIKE "hello world"
+hasAny(f5, 999999999999)
+has(f4, f2)
+f3 != 'O''Reilly'
+f3 IN (3.14, -1)
+f2 BETWEEN AND 999999999999
+f6 BETWEEN "%wild%" AND "xyz%"
+f5 <> -2.7
+has(f1, "abc")
+f2 OR OR -1
+hasToken(f2, ' ')
+hasToken(f5, '')
+f1 === f6
+hasAll(f4, -3.5e-2)
+(f1 = 'test'
+hasAll(f5, 10)
+f4 = -10)
+f2 < .5
+f1 IN [1 2 3]
+f4 =
+f2 NOT LIKE 'O''Reilly'
+f5 != "hello world"
+f5 BETWEEN ' ' AND 'O''Reilly'
+f4 IN ("\n", 'test', 6.02e23, "\t", .5)
+f2 REGEXP ' '
+f2 NOT
+f2 >= 'test'
+AND f6 = f4
+has(f1)
+f6 IN [1 2 3]
+f1 NOT ILIKE 'O''Reilly'
+f1 CONTAINS "\t"
+f6 BETWEEN AND -.5
+f3 OR OR "hello world"
+f4 NOT ILIKE "\n"
+has(f1, -.5)
+f4 <> "abc"
+f3 NOT CONTAINS "\n"
+f3 CONTAINS ' '
+f4 IN (f5, "\n", "\t", f2)
+f5 === 'O''Reilly'
+f2 BETWEEN .5 AND f1
+(f3 = .5
+f3 <> "a_b%"
+f1 IN (,)
+f3 == 0.0000000001
+f2 IN (f3, -1, -1, "a_b%", f3)
+f2 BETWEEN AND "xyz%"
+f3 BETWEEN "hello world" AND ''
+f3 LIKE "hello world"
+hasAny(f3, 6.02e23)
+f6 > "a_b%"
+f1 BETWEEN 6.02e23 AND -2.7
+hasAll(f3, 1e10)
+f1 BETWEEN AND f2
+f1 >= 0
+hasAny(f1, 6.02e23)
+f5 BETWEEN -1e-10 AND "\t"
+f3 IN (.5, f4, 6.02e23, -10, TRUE)
+f5 IN (-10)
+f4 IN (f5, 1e10, "\n", .5, .5)
+f1 ILIKE "xyz%"
+hasAll(f3, -1)
+f3 LIKE
+f6 != 'O''Reilly'
+(f4 CONTAINS "hello world") AND (f6 BETWEEN "\n" AND 1e10)
+f5 BETWEEN "hello world" AND "xyz%"
+f1 NOT LIKE 'O''Reilly'
+f6 != 0
+hasAll(f3, "xyz%")
+f3 = 'unclosed
+f2 OR OR "hello world"
+f6 = f2
+f3 ILIKE "a_b%"
+f3 BETWEEN "\n"
+AND f4 = "%wild%"
+(hasToken(f3, "abc")) OR (f4 NOT CONTAINS 'test')
+f5 BETWEEN "\t" AND 1e10
+f2 NOT ILIKE ''
+f3 IN (1, .5, 3.14, 1e10)
+f6 BETWEEN ' ' AND -1e-10
+f2 OR OR 6.02e23
+f3 IS NULL
+f4 < 3.14
+f4 IN (-3.5e-2, 6.02e23, "hello world", 'test', -.5)
+f1 IN ('O''Reilly', 999999999999, "abc", 0.0000000001)
+has(f4, "\t")
+f2 ILIKE 'test'
+hasAll(f2, f4)
+f6 = 'unclosed
+(hasToken(f4, '')) AND (f5 REGEXP '')
+(hasToken(f6, 'test')) OR (f5 IN (f3, f5))
+(f5 IN (.5)) OR (f6 <> "\t")
+(f2 NOT LIKE "xyz%") OR (f1 IN ("xyz%"))
+(hasAny(f2, 3.14)) OR (f4 != ' ')
+hasAll(f2, "xyz%")
+f2 === f6
+f5 OR OR 'O''Reilly'
+f6 IN (,)
+(f4 BETWEEN .5 AND -3.5e-2) OR (f4 != .5)
+f1 BETWEEN 0.0000000001 AND ''
+f5 BETWEEN f2 AND "%wild%"
+(((f2 IN (-1, '', '')) OR (f2 BETWEEN '' AND -10)) OR (f2 IN (6.02e23, f2))) OR (f2 > 'test')
+f3 IN (-.5, -3.5e-2, -1)
+((f5 BETWEEN .5 AND 1e10) OR (f2 NOT ILIKE "\t")) OR ((f4 BETWEEN 1 AND f1) AND (f2 BETWEEN 10 AND 0))
+f1 NOT REGEXP "a_b%"
+f4 IN ()
+f6 BETWEEN AND f1
+f2 <= "\t"
+has(f4, -.5)
+has(f4, f3)
+has(f3, "%wild%")
+f5 <= "%wild%"
+f2 BETWEEN f6 AND f6
+f6 NOT LIKE ' '
+f4 IN (0)
+f1 IN ('')
+f5 IN [1 2 3]
+((f3 NOT REGEXP "abc") AND (has(f4, f1))) OR ((f6 >= -10) AND ((f3 BETWEEN TRUE AND -2.7) AND (f3 IN (1e10, "xyz%", 1))))
+NOT
+AND f2 = -1e-10
+f3 BETWEEN "a_b%" AND 10
+f5 IS NULL
+hasToken(f1, 0)
+f6 IN (TRUE)
+f1 IN (0.0000000001)
+(f6 == 'test') OR (f4 = "hello world")
+hasAny(f5, "a_b%")
+f2 ILIKE 'O''Reilly'
+f6 IN (-3.5e-2, 6.02e23, 'test')
+f1 <> "xyz%"
+hasAny(f1, TRUE)
+hasToken(f2, '')
+f3 BETWEEN 1e10 AND f4
+f6 BETWEEN TRUE AND f6
+f1 CONTAINS "\n"
+f5 REGEXP ' '
+has(f2, '')
+(f3 NOT LIKE "hello world") AND (hasAll(f6, "xyz%"))
+f6 NOT
+(f6 != 0.0000000001) AND (f4 NOT LIKE 'O''Reilly')
+f6 IN (6.02e23)
+f1 == f6
+f5 NOT LIKE "abc"
+has(f6, 0.0000000001)
+f1 == -1
+f5 < "hello world"
+f3 IN (0.0000000001, -.5, ' ')
+f1 BETWEEN -10 AND "%wild%"
+f1 < ''
+(f3 ILIKE "xyz%") OR (f3 IN ('O''Reilly'))
+hasToken(f2)
+f2 ILIKE "hello world"
+f4 IN (-1e-10, 3.14, "hello world", 0.0000000001, ' ')
+has(f1, f5)
+f4 NOT LIKE "\n"
+has(f6, "abc")
+f4 NOT ILIKE "xyz%"
+f3 BETWEEN -1e-10 AND f3
+f3 IN [1 2 3]
+(f3 CONTAINS ' ') AND (f5 BETWEEN f3 AND 3.14)
+has(f2, 10)
+(f6 IN ('', "a_b%", f3, -1, "xyz%")) AND (f2 IN (f3, TRUE, TRUE, f4))
+f3 BETWEEN "hello world" AND "\t"
+f1 ILIKE ''
+f4 BETWEEN -.5 AND 999999999999
+f4 IN (6.02e23)
+(f5 BETWEEN "\n" AND "\n") AND (f2 REGEXP "hello world")
+f6 < -3.5e-2
+f6 IN ('test', "\t", 0)
+((hasAll(f5, f6)) AND (f1 BETWEEN -10 AND 0.0000000001)) AND ((f3 IN (-2.7, f4)) OR (f3 BETWEEN ' ' AND TRUE))
+f6 IN ('test')
+f3 BETWEEN 1 AND 'O''Reilly'
+(f4 <> 3.14) OR (((f3 NOT LIKE ' ') AND (f1 <> 0.0000000001)) OR (hasAll(f1, f2)))
+f1 BETWEEN -.5 AND -1
+(f3 = "a_b%") OR (hasAny(f1, -2.7))
+f5 = f2
+AND f3 = 10
+hasToken(f4, f2)
+hasToken(f3, 10)
+f6 IN (-1)
+hasAll(f3, -10)
+(f1 IN (f5, -3.5e-2, .5, 6.02e23)) OR (f6 > 6.02e23)
+f1 CONTAINS ' '
+hasAny(f4, f4)
+f1 <= "xyz%"
+f3 IN (3.14, "abc", 0.0000000001, -.5)
+hasToken(f1, 999999999999)
+f2 = -1
+f4 BETWEEN 6.02e23 AND ''
+f5 NOT LIKE "\t"
+(((f3 == f5) OR (f3 BETWEEN 0 AND "hello world")) OR (f1 LIKE "xyz%")) AND (f6 NOT LIKE "\n")
+hasToken(f1, 3.14)
+f6 BETWEEN 6.02e23 AND f1
+f4 NOT LIKE 'O''Reilly'
+(hasToken(f1, '')) AND (f4 BETWEEN 'O''Reilly' AND -1e-10)
+f2 > -10
+((f5 == -.5) OR (f3 != -10)) AND (f6 <> 999999999999)
+f1 BETWEEN -1 AND "\n"
+f6 BETWEEN -3.5e-2 AND f6
+hasAll(f6, f3)
+(f4 IN (-2.7, 1, 'O''Reilly')) OR (f1 BETWEEN f4 AND -.5)
+f3 = 'unclosed
+f1 IN (,)
+(f5 = 3.14
+f3 BETWEEN "a_b%" AND f1
+f2 LIKE
+((f2 NOT ILIKE "%wild%") OR ((hasAny(f1, .5)) AND ((f6 != 6.02e23) AND (f1 == -2.7)))) AND (hasAny(f5, 10))
+hasAny(f5, 0.0000000001)
+has(f6, -1e-10)
+(f6 <= 1) AND (f5 != TRUE)
+(has(f6, .5)) OR (f2 BETWEEN "a_b%" AND TRUE)
+hasAll(f2, f6)
+f3 >= f5
+has(f4, f3)
+f5 LIKE "hello world"
+f3 REGEXP "hello world"
+AND f6 = "\n"
+f3 REGEXP "hello world"
+f2 = 'unclosed
+hasAll(f1, "\t")
+hasToken(f4, -2.7)
+f3 BETWEEN "xyz%" AND "%wild%"
+f3 NOT
+f1 NOT LIKE "xyz%"
+NOT
+hasAll(f1, f4)
+f1 CONTAINS "xyz%"
+f2 != 999999999999
+f3 IN [1 2 3]
+f3 IN (,)
+(((hasToken(f1, 'test')) OR (f6 NOT REGEXP ' ')) OR (hasToken(f2, 999999999999))) OR (has(f6, -1))
+f5 IS NULL
+f3 NOT ILIKE 'test'
+f5 >= 10
+f1 IN (-1e-10)
+f2 IN (f4)
+((hasAny(f4, -2.7)) OR (f6 BETWEEN "xyz%" AND 1)) AND (f1 LIKE "xyz%")
+hasAny(f3, "\n")
+f2 BETWEEN 3.14 AND -1
+hasAll(f6, f4)
+(f4 IN (-1, '')) OR (f1 BETWEEN 3.14 AND 3.14)
+f5 ILIKE ' '
+f6 BETWEEN 'O''Reilly' AND -1
+has(f5, 'test')
+((f5 == f6) AND (f1 NOT REGEXP "xyz%")) AND (f5 < -3.5e-2)
+hasToken(f2, TRUE)
+f2 IN ("xyz%", f1, 0.0000000001, '', f2)
+hasToken(f6, -1e-10)
+f4 IN (f3, 'test')
+f3 >= 1e10
+(f5 NOT ILIKE "xyz%") AND (f1 ILIKE 'test')
+f5 NOT LIKE "\t"
+f3 > "hello world"
+f2 NOT
+f3 OR OR -1e-10
+f4 <> -.5
+f4 IN (,)
+f6 >= "%wild%"
+(f6 <= TRUE) OR ((hasAny(f2, f5)) AND (f6 LIKE ' '))
+hasToken(f1, 1e10)
+AND f4 = "abc"
+hasAny(f6, 3.14)
+((f3 CONTAINS ' ') OR (f3 IN (-1e-10, 1e10, 6.02e23, "%wild%"))) AND (f3 IN (f3, 'test', f6, 0))
+()
+f6 IN (,)
+has(f6, .5)
+(f6 BETWEEN "hello world" AND -3.5e-2) OR (f6 <= TRUE)
+f5 BETWEEN "%wild%" AND 0.0000000001
+f1 IN (6.02e23, 0)
+f3 = "%wild%"
+f2 BETWEEN 6.02e23 AND "hello world"
+f2 != 3.14
+(f5 LIKE "abc") OR (has(f3, TRUE))
+f5 BETWEEN 0.0000000001 AND ''
+f4 <> 1e10
+(f1 = 0.0000000001
+f1 = -1e-10)
+f3 NOT LIKE "a_b%"
+f1 IN [1 2 3]
+f1 != "abc"
+((f5 BETWEEN -.5 AND "a_b%") AND (f2 IN (0.0000000001, "a_b%", -1, 1e10))) AND (f6 < 3.14)
+f1 == "%wild%"
+f1 BETWEEN 0 AND "%wild%"
+hasAll(f6, 1e10)
+()
+f4 = 'unclosed
+f6 NOT CONTAINS "abc"
+f1 IN ('O''Reilly')
+hasAny(f5, 1)
+(f2 LIKE "\t") AND (hasAny(f5, 1e10))
+f4 BETWEEN '' AND 6.02e23
+(f5 BETWEEN f3 AND -.5) OR (((f6 > "\n") OR (f6 NOT CONTAINS "\n")) AND (f4 NOT LIKE "hello world"))
+hasAll(f3, 1)
+f3 >= -.5
+f2 BETWEEN -3.5e-2 AND 'O''Reilly'
+f5 = NULL
+f4 NOT
+f1 CONTAINS "%wild%"
+f5 BETWEEN "a_b%"
+()
+f1 NOT REGEXP "\t"
+f5 IN (-2.7, f4, 6.02e23, .5)
+has(f5, "a_b%")
+f2 = -.5)
+hasAny(f5, 999999999999)
+(f5 > 6.02e23) AND ((f3 NOT REGEXP "\n") AND (f3 BETWEEN "xyz%" AND 10))
+f4 IN ('', 3.14, f4)
+(has(f3, "xyz%")) OR (((f6 IN (-.5, 1, '', "hello world", "a_b%")) OR (f5 IN (1e10))) AND (f1 >= 'test'))
+NOT
+f3 =
+f4 IN ("\n", 'test', -10, f1, -1e-10)
+f5 BETWEEN -10 AND 0
+(f3 = f6
+f1 <= "\n"
+f4 IN (f1, 0.0000000001)
+((f3 BETWEEN -1 AND 3.14) OR (f3 LIKE ' ')) OR (f6 IN ('test', 3.14, "xyz%", "\n"))
+f4 IS NULL
+f6 <= .5
+(f4 = 'O''Reilly'
+f3 NOT REGEXP ''
+f1 NOT LIKE "abc"
+f4 CONTAINS "\n"
+f3 BETWEEN TRUE AND 6.02e23
+f2 IN (1e10, f6, "a_b%", 3.14)
+f6 BETWEEN 999999999999 AND f5
+f4 IN ('test', -10, f5, 999999999999)
+f4 BETWEEN 10 AND .5
+f5 CONTAINS ' '
+(f2 IN ("%wild%", -1, 999999999999)) OR (has(f6, f1))
+(f3 IN (10, "\t", -2.7, f6, 'O''Reilly')) OR (f5 IN ("\n", 0, '', f2))
+()
+f4 = 0.0000000001)
+f4 IN (f3, 0.0000000001, 10, "\n")
+f1 IS NULL
+f4 IN (TRUE, ' ', f4, .5)
+f2 != "\t"
+((f3 BETWEEN "xyz%" AND "%wild%") OR (f3 BETWEEN "xyz%" AND 3.14)) OR (f3 ILIKE "%wild%")
+has(f6, 1)
+f6 IN (f6, -10, "abc", 999999999999)
+f4 = 0.0000000001
+(f4 IN (f4, 0, "%wild%", -1e-10)) AND ((f5 > 3.14) AND (hasToken(f6, 10)))
+f6 ILIKE 'O''Reilly'
+f5 OR OR -1e-10
+f5 BETWEEN 1 AND "xyz%"
+f3 IN ("\n")
+f6 NOT LIKE 'test'
+f4 IN (,)
+f1 BETWEEN AND f6
+hasToken(f2, -10)
+()
+(f5 = "a_b%"
+f6 IN (f2, -3.5e-2, 'test')
+(f2 CONTAINS 'test') AND (f1 IN (3.14, TRUE))
+f5 CONTAINS 'test'
+f4 IS NULL
+(f1 > -1) AND (f2 IN (f1))
+f2 BETWEEN "a_b%" AND "\t"
+f3 BETWEEN -1e-10 AND "abc"
+f1 ILIKE "abc"
+NOT
+hasAny(f4, f6)
+f3 BETWEEN '' AND "\t"
+(f1 BETWEEN 10 AND f4) OR (((f1 LIKE "\t") OR (f5 <= f3)) OR (f2 IN (0.0000000001, "hello world", '')))
+f4 =
+f1 == "abc"
+f1 BETWEEN 1e10 AND -1e-10
+f4 ILIKE "%wild%"
+f2 LIKE ''
+hasAny(f1, "%wild%")
+(f2 IN ("\t")) AND (hasAll(f6, 0))
+f5 IN (-2.7, -10, f1)
+hasAny(f6, -3.5e-2)
+f3 <> "\n"
+f5 IN (0.0000000001, -1e-10, "xyz%", "\n")
+f4 CONTAINS ''
+f1 BETWEEN 1 AND f5
+f2 >= f5
+f3 NOT ILIKE ''
+f5 != ''
+f3 < "%wild%"
+f3 IN [1 2 3]
+hasAll(f1, 'test')
+f5 REGEXP ''
+f1 BETWEEN .5 AND f1
+f5 = f2)
+f1 IN (,)
+hasAll(f6, -1e-10)
+f5 BETWEEN 0 AND ''
+f2 REGEXP ' '
+f6 IN (,)
+f5 BETWEEN -3.5e-2 AND ''
+f5 IN ('test')
+hasAll(f4, "a_b%")
+f6 <> -2.7
+f1 IN ()
+(f3 == f5) OR (f6 IN (1))
+f2 ILIKE "%wild%"
+hasAny(f3)
+hasToken(f4, "\t")
+f4 BETWEEN 1 AND 0.0000000001
+f1 = NULL
+hasAll(f3, -2.7)
+f1 IN (TRUE, f6, 999999999999, -3.5e-2, f4)
+f5 BETWEEN 10 AND f6
+f4 BETWEEN .5 AND 1
+f1 ILIKE 'test'
+has(f5, "hello world")
+f2 BETWEEN f5 AND 1e10
+f6 BETWEEN f5 AND "a_b%"
+NOT
+f3 >= f2
+f4 <> .5
+has(f2, "\t")
+(has(f4, 3.14)) AND (hasAny(f2, "hello world"))
+()
+()
+f3 > "xyz%"
+hasToken(f2)
+f4 = 'unclosed
+f4 BETWEEN 999999999999 AND -1e-10
+f4 =
+f4 BETWEEN 0.0000000001 AND ' '
+f5 != 3.14
+(f3 REGEXP '') AND (has(f4, -3.5e-2))
+f2 IN (f2, 1, -1, .5, 10)
+f4 IN (6.02e23, -10, -.5)
+AND f3 = 6.02e23
+f4 <= ' '
+f6 CONTAINS ' '
+f4 BETWEEN 10 AND f2
+f5 > ''
+f2 IN (-.5, "%wild%", f2, "xyz%", 999999999999)
+f4 == ' '
+NOT
+NOT
+f5 > f4
+f2 NOT LIKE "abc"
+NOT
+has(f1, -1e-10)
+f1 IS NULL
+f2 BETWEEN f4 AND f6
+(f2 BETWEEN .5 AND "hello world") OR (f1 != "\t")
+(f6 ILIKE "\n") AND (f4 ILIKE 'test')
+f1 <> 'test'
+f3 >= f1
+f6 BETWEEN f6 AND "\t"
+f5 OR OR "\t"
+f6 BETWEEN ' ' AND f6
+f2 NOT CONTAINS 'O''Reilly'
+hasAny(f6, 'O''Reilly')
+hasToken(f1, .5)
+f5 BETWEEN .5 AND f5
+f5 BETWEEN -3.5e-2 AND 0.0000000001
+(f3 REGEXP "xyz%") AND (has(f4, ''))
+f3 === "%wild%"
+f2 <= -1
+f1 = NULL
+f4 NOT
+f3 IS NULL
+f2 BETWEEN "\t" AND ' '
+f3 BETWEEN 'O''Reilly' AND "hello world"
+f6 NOT LIKE "hello world"
+f4 IN [1 2 3]
+f3 BETWEEN f6 AND ''
+f6 IN (-.5)
+f5 > "abc"
+(f1 CONTAINS "\t") OR (f1 <> f5)
+hasToken(f4, -.5)
+f4 BETWEEN "\n" AND -.5
+f1 > "abc"
+f3 < f5
+f3 = "a_b%"
+f3 IS NULL
+f4 OR OR -2.7
+f5 BETWEEN -2.7 AND f3
+(f5 < f4) OR (f6 IN (-10, .5))
+f3 IN (TRUE)
+((hasAny(f5, "abc")) OR (f1 LIKE "\n")) OR (f1 IN (TRUE, -.5, f5, ' ', f5))
+()
+(f3 REGEXP "xyz%") AND (f1 <> -3.5e-2)
+f3 CONTAINS "hello world"
+(f2 NOT ILIKE "%wild%") AND (hasAll(f6, 3.14))
+f2 != "\t"
+has(f6, 1e10)
+hasAny(f6, 10)
+f1 IN (-3.5e-2, f1)
+hasToken(f1, f3)
+(f3 BETWEEN f3 AND -1e-10) OR (f4 BETWEEN -2.7 AND -.5)
+f6 IN (6.02e23, "a_b%")
+f1 == 3.14
+f2 <> 1
+has(f5, -10)
+f1 BETWEEN -.5 AND "xyz%"
+(f3 ILIKE "xyz%") AND (f1 >= "hello world")
+f6 > 10
+has(f1, f3)
+hasAll(f1, .5)
+(f1 IN (-2.7, -3.5e-2, -3.5e-2)) OR (f1 == -3.5e-2)
+f4 IN [1 2 3]
+hasToken(f1, -2.7)
+f4 BETWEEN -2.7 AND 3.14
+f1 IN (.5, "xyz%", "\n")
+hasToken(f1, "a_b%")
+f1 IS NULL
+f4 BETWEEN 1e10 AND 'O''Reilly'
+f4 =
+f5 BETWEEN AND -10
+f6 = NULL
+f4 >= ''
+f2 NOT CONTAINS "xyz%"
+(f1 < 1e10) AND (f1 BETWEEN f4 AND 999999999999)
+()
+((f1 CONTAINS "\n") AND (f5 > "abc")) OR ((f3 IN (f2)) OR (hasAll(f1, 'O''Reilly')))
+f2 = 'unclosed
+f1 IN (-2.7, 0.0000000001, 0.0000000001, -1e-10, "hello world")
+f5 = NULL
+f4 IN ()
+f2 >= f6
+hasToken(f4, -3.5e-2)
+f1 BETWEEN 10 AND f2
+f2 =
+f4 IN ("\t", 0, "%wild%", 0)
+hasAny(f1, '')
+(hasToken(f5, -1e-10)) OR ((f1 IN (0, "xyz%", .5, 1)) AND (f1 IN (-2.7, f5, f2, -.5)))
+f5 NOT CONTAINS 'test'
+f3 <> -1e-10
+NOT
+f1 IN (999999999999, 3.14)
+f6 REGEXP 'O''Reilly'
+f1 =
+f5 IN (0.0000000001, f6, 6.02e23, f1, 6.02e23)
+f1 BETWEEN AND 6.02e23
+((hasToken(f3, "a_b%")) OR (f6 <= f2)) AND (f1 IN (f1))
+f4 OR OR 6.02e23
+f6 == f5
+f2 > f3
+hasAny(f1, TRUE)
+f4 <= ''
+hasAny(f1, f3)
+f1 IS NULL
+f5 IN (.5, f4)
+f2 NOT
+hasAll(f5, "a_b%")
+f1 >= f2
+f4 IN ("abc", "a_b%", f5, 0)
+f6 = 'unclosed
+(f3 IN (f2, 0)) AND (f2 <= 1e10)
+f6 ILIKE "hello world"
+f4 NOT LIKE "\n"
+f2 =
+hasAny(f4, "xyz%")
+f1 > f5
+f4 BETWEEN "%wild%" AND -.5
+f1 LIKE "%wild%"
+f4 CONTAINS "a_b%"
+f3 NOT
+f2 CONTAINS 'O''Reilly'
+f1 ILIKE "xyz%"
+f5 IN (f2, f1, 'O''Reilly', -10, "a_b%")
+(f1 BETWEEN "abc" AND -10) AND (f5 BETWEEN "\n" AND "abc")
+f6 === f6
+f4 = TRUE)
+hasAll(f3, 6.02e23)
+f4 BETWEEN f4 AND f4
+f2 ILIKE 'O''Reilly'
+f5 > ''
+f5 REGEXP ' '
+f6 CONTAINS "abc"
+(hasToken(f1, f5)) AND (f1 CONTAINS "\n")
+f3 IN (1e10, -1e-10, "\n")
+f3 BETWEEN f5 AND -1
+f3 BETWEEN AND -3.5e-2
+f4 = -1
+hasAll(f2, 6.02e23)
+(f6 NOT CONTAINS "%wild%") OR (f2 IN (0.0000000001, -2.7))
+(has(f5, '')) OR (f5 < f6)
+f3 NOT LIKE "xyz%"
+f5 LIKE
+hasAny(f5)
+f6 >= -3.5e-2
+f1 IN (-.5, -.5, "\t", -10, "\t")
+f3 < "\n"
+has(f3, .5)
+f3 BETWEEN 10 AND 0
+f3 IN ('test')
+f3 BETWEEN f2 AND .5
+f4 BETWEEN f5 AND 1
+(f2 BETWEEN f5 AND -.5) AND (has(f2, 6.02e23))
+hasAll(f5)
+f4 = 'unclosed
+f2 REGEXP 'O''Reilly'
+NOT
+f6 === 'O''Reilly'
+(f4 IN (f5)) OR (hasAll(f2, "hello world"))
+f4 <> 1
+has(f6, f6)
+f6 OR OR -3.5e-2
+f4 NOT
+f1 != 0.0000000001
+f5 NOT REGEXP "xyz%"
+f3 IN ('O''Reilly', 'test', "hello world")
+f5 BETWEEN f3 AND 0.0000000001
+f5 NOT ILIKE "hello world"
+f2 = NULL
+f2 <> -10
+f3 NOT ILIKE "xyz%"
+f3 NOT REGEXP "%wild%"
+hasToken(f4, ' ')
+hasToken(f1)
+f2 = 'unclosed
+has(f3, 10)
+f6 BETWEEN "xyz%" AND 3.14
+f4 BETWEEN -1e-10 AND -.5
+((f1 BETWEEN 3.14 AND f3) AND (hasAny(f2, f1))) AND (f5 CONTAINS "\t")
+()
+f4 IN [1 2 3]
+f1 IN [1 2 3]
+f3 NOT ILIKE "hello world"
+f5 REGEXP ''
+f6 BETWEEN -.5 AND 10
+f2 = "\t"
+f2 IN (,)
+AND f1 = "%wild%"
+f3 NOT CONTAINS ''
+has(f1, 0)
+f1 NOT ILIKE "hello world"
+f6 = f6
+f5 =
+AND f2 = -2.7
+f1 CONTAINS "abc"
+f1 LIKE
+f1 IN (,)
+f6 BETWEEN AND 6.02e23
+f3 IN (-10, "hello world")
+f4 BETWEEN "a_b%" AND "abc"
+f3 >= 1e10
+f1 IN ("\n", 6.02e23, -1e-10, 0.0000000001)
+f4 = NULL
+NOT
+(f2 LIKE ' ') AND (f2 ILIKE "\t")
+f5 IN ("abc", "\t", 999999999999)
+f1 NOT LIKE 'test'
+hasAll(f5)
+f5 IN (-.5, 999999999999, "hello world", 6.02e23)
+f3 BETWEEN -.5 AND 6.02e23
+f1 == "xyz%"
+f2 BETWEEN 0 AND ''
+f3 NOT CONTAINS ' '
+(f6 != ' ') AND (f3 NOT ILIKE 'O''Reilly')
+f5 < "abc"
+(f5 = TRUE
+hasAny(f1, "\t")
+(f3 NOT REGEXP "xyz%") AND (f4 CONTAINS "xyz%")
+f6 CONTAINS "\t"
+f3 BETWEEN AND f3
+f4 BETWEEN f3 AND 'O''Reilly'
+f6 IN (1e10, "%wild%", 'test', "a_b%", f3)
+f3 IN (-3.5e-2, -1, 10, -2.7)
+(hasAll(f2, -3.5e-2)) AND (f4 BETWEEN -.5 AND "xyz%")
+f3 <= ''
+f2 IN (f5)
+f4 IN ("\n", f5)
+has(f2, 10)
+(f1 BETWEEN "hello world" AND -1e-10) AND (f4 >= 1)
+(f1 BETWEEN '' AND -1e-10) AND (f5 BETWEEN 'O''Reilly' AND 10)
+()
+f2 NOT LIKE "\n"
+f3 IN (10, f1, "\n", f2, "\n")
+f2 LIKE "\t"
+f6 BETWEEN ' '
+f3 LIKE
+f5 BETWEEN f2 AND f2
+f5 = 10)
+f3 BETWEEN f4 AND "\t"
+f5 BETWEEN .5 AND 1e10
+f3 IN (999999999999, f1)
+f2 LIKE 'test'
+f1 ILIKE "\t"
+()
+f4 >= f1
+(f3 <= f1) AND (f3 > "abc")
+hasAll(f5, -1e-10)
+f3 = 6.02e23)
+f3 BETWEEN "%wild%" AND "%wild%"
+f1 IN ("xyz%", ' ', -1, -1, f1)
+f4 BETWEEN 0.0000000001 AND "hello world"
+((f4 <> .5) AND (f2 BETWEEN "\n" AND -1e-10)) OR (f2 IN (1, "hello world", 0.0000000001, -1e-10, 1e10))
+f3 REGEXP 'O''Reilly'
+NOT
+f3 == ''
+f6 IN (f5)
+has(f3, f2)
+has(f6, f1)
+(f2 > f2) AND (f1 ILIKE "\n")
+f2 BETWEEN "xyz%" AND f2
+f1 CONTAINS ' '
+f3 LIKE "abc"
+f6 =
+(f6 LIKE "xyz%") OR (f4 IN (6.02e23))
+f2 NOT REGEXP "%wild%"
+f3 === ''
+f3 != 6.02e23
+f6 = 999999999999)
+f1 BETWEEN AND "hello world"
+(f2 NOT LIKE ' ') AND (f1 IN (-.5))
+f5 BETWEEN -1 AND ' '
+(f1 IN (-1e-10, "\t", -3.5e-2, "\n", 999999999999)) AND (f6 BETWEEN 'O''Reilly' AND "xyz%")
+f5 NOT LIKE ''
+f2 IN ("abc")
+f2 IN (-3.5e-2, 999999999999)
+f3 != 0.0000000001
+f3 IN (f2, 0, "xyz%", f6)
+f2 IN (,)
+(hasAll(f3, -10)) AND (hasAny(f6, f3))
+hasAny(f3, -10)
+f5 IN ("xyz%")
+f5 IN [1 2 3]
+f5 >= 10
+f4 === 6.02e23
+f1 OR OR -3.5e-2
+(f4 >= 6.02e23) AND (has(f5, f1))
+f6 IN ("%wild%")
+f2 IN (1, 10, 6.02e23)
+f1 CONTAINS "xyz%"
+f4 NOT REGEXP 'test'
+hasAll(f3, 999999999999)
+((f1 NOT LIKE '') OR (has(f5, "hello world"))) AND ((hasAny(f3, "abc")) AND (f3 < 6.02e23))
+hasToken(f3, f3)
+f4 <= .5
+f4 IN (10)
+f5 != 10
+f4 BETWEEN "a_b%"
+f3 BETWEEN "xyz%"
+f4 NOT ILIKE "\t"
+f2 NOT REGEXP "\n"
+f1 IN ()
+f1 == 1e10
+hasAny(f5, "hello world")
+f1 NOT ILIKE "\t"
+f2 > 1
+(f5 == -3.5e-2) AND ((((f2 >= '') OR (f2 < "a_b%")) AND (f6 IN ("\t", .5, TRUE))) OR (f2 BETWEEN 10 AND 0))
+f2 CONTAINS 'test'
+(f1 NOT LIKE "a_b%") AND ((((f4 <> 999999999999) OR (f5 != TRUE)) AND (f6 IN ("\t", "xyz%", ' '))) OR (f3 NOT ILIKE "xyz%"))
+f2 <= f1
+NOT
+f2 > ' '
+f6 <= ' '
+hasAll(f4, "hello world")
+f1 > TRUE
+NOT
+(f1 IN (-1e-10, -1)) AND (f2 BETWEEN 'test' AND -1e-10)
+f6 > -1
+f6 BETWEEN "abc" AND 'O''Reilly'
+((has(f1, 'O''Reilly')) AND (f4 >= "xyz%")) AND (hasAny(f2, -.5))
+f1 IN (0)
+f6 NOT CONTAINS "abc"
+f3 BETWEEN -10 AND -10
+f5 NOT
+f4 NOT ILIKE "abc"
+f2 NOT LIKE ' '
+(f2 = f6
+hasAny(f4, 'O''Reilly')
+f4 NOT ILIKE "\t"
+f5 === -2.7
+f4 REGEXP "a_b%"
+f3 IN (.5, 999999999999)
+hasAll(f1, "\n")
+f5 ILIKE 'test'
+f6 IN (,)
+f3 BETWEEN -1 AND -2.7
+hasToken(f5, -2.7)
+f4 IN ()
+f4 BETWEEN "a_b%" AND 0
+(f1 NOT ILIKE "hello world") AND (f1 IN ("abc", -3.5e-2, -3.5e-2, -1e-10))
+(f6 >= 3.14) AND (f2 = f4)
+f4 NOT LIKE "\n"
+f1 NOT CONTAINS "\n"
+f4 NOT
+hasToken(f2, '')
+f1 >= 999999999999
+f1 =
+f2 NOT CONTAINS 'test'
+f4 NOT ILIKE 'O''Reilly'
+NOT
+AND f1 = 'O''Reilly'
+hasAny(f4, f4)
+f3 IN (f6, f3, f4, -2.7, '')
+hasAny(f6, f5)
+f6 != ' '
+f2 BETWEEN -10 AND f5
+f6 IN ()
+((f1 == -.5) AND (f4 NOT REGEXP "%wild%")) OR (f5 BETWEEN 999999999999 AND f5)
+(f2 ILIKE "%wild%") OR (f4 BETWEEN TRUE AND f2)
+f1 < -.5
+(f3 = f3
+(f4 REGEXP ' ') OR (has(f4, "a_b%"))
+f2 == 1
+f1 ILIKE "\n"
+f2 REGEXP "a_b%"
+(f1 LIKE "xyz%") OR (hasToken(f1, -10))
+f6 NOT REGEXP "\n"
+f3 = NULL
+f6 IN (999999999999, 6.02e23, 1e10)
+f2 >= "hello world"
+f6 OR OR f2
+(f2 BETWEEN 1 AND f4) AND (f6 > "\n")
+(f4 REGEXP "xyz%") OR (hasToken(f4, "a_b%"))
+f6 IN (f5)
+f3 > 1
+f4 REGEXP 'O''Reilly'
+(has(f2, 'O''Reilly')) AND (hasAll(f4, -3.5e-2))
+f6 IN [1 2 3]
+f6 = "%wild%")
+hasAny(f5, TRUE)
+f2 IN (-2.7, f3, -10)
+f5 LIKE
+hasToken(f2, f3)
+f4 =
+f3 IN (-10, "\n", 'test', -10)
+hasAll(f1, -1)
+hasAny(f4, 0.0000000001)
+((f3 != f3) AND (has(f2, 3.14))) AND ((f3 BETWEEN "%wild%" AND 0.0000000001) OR (f6 BETWEEN -.5 AND 'test'))
+f4 CONTAINS "hello world"
+()
+f1 IN (-10)
+(f1 > -1) AND (f1 NOT REGEXP "a_b%")
+f3 OR OR -10
+hasToken(f5, TRUE)
+f5 LIKE "\n"
+(hasAll(f6, 6.02e23)) OR (f3 == f6)
+AND f3 = "hello world"
+f3 < "\t"
+f4 IN [1 2 3]
+(hasAll(f4, 1e10)) OR (f4 IN (10))
+f5 BETWEEN 'test' AND 'test'
+has(f2)
+f6 IN (3.14, -1e-10, "\n", 3.14)
+f1 = 999999999999
+(hasAny(f6, .5)) AND (f5 <= f6)
+f1 BETWEEN f2
+(hasAll(f6, f5)) OR (f4 IN (-10, 'test', "%wild%", f3, f6))
+f5 =
+f2 OR OR 10
+f1 = "hello world")
+f4 CONTAINS ''
+f6 LIKE "%wild%"
+f1 = NULL
+f5 IN (' ', .5, "%wild%")
+f4 BETWEEN AND -1
+(f4 IN ("%wild%")) AND (((hasAny(f3, f5)) OR (f3 LIKE "%wild%")) AND (f5 NOT REGEXP 'test'))
+(hasAny(f4, "\n")) AND (f6 IN (-10))
+f2 IN (,)
+f1 BETWEEN ' ' AND 'test'
+(hasAll(f4, -2.7)) OR (hasToken(f2, 1e10))
+f4 IN ("abc", -1)
+((f1 IN (f4)) OR (f3 > -1e-10)) OR (f2 NOT LIKE ' ')
+f2 = "abc")
+has(f4, f4)
+hasAll(f5, '')
+f1 <> f1
+f5 = NULL
+f4 NOT
+f2 LIKE
+hasAll(f1, "xyz%")
+f5 BETWEEN 3.14 AND 'O''Reilly'
+f1 IN (-.5, f4)
+f3 < f1
+f3 BETWEEN '' AND -.5
+f4 IN (,)
+f2 NOT CONTAINS ''
+f2 = f1)
+AND f3 = 1
+f6 IN ("xyz%")
+f3 REGEXP "abc"
+f3 IN (3.14, -3.5e-2)
+(f5 IN (0.0000000001, 6.02e23)) OR (f3 BETWEEN 'O''Reilly' AND ' ')
+f2 = 'unclosed
+f2 IN (f4, 'test', 1e10, -3.5e-2)
+f1 CONTAINS 'O''Reilly'
+f3 BETWEEN .5 AND 'test'
+f6 IN (-.5, "\n", -1, "a_b%")
+hasAll(f3, ' ')
+f5 IN (-2.7, 10, 0.0000000001, "hello world", f4)
+f3 IN (' ', "%wild%", 999999999999, -2.7, .5)
+f1 LIKE
+f6 =
+(hasAny(f5, 999999999999)) AND (f4 BETWEEN "a_b%" AND 6.02e23)
+f1 = f2
+hasToken(f5, -10)
+f3 = "\n")
+has(f6, "a_b%")
+f5 NOT
+f5 IN (,)
+has(f3, f3)
+f2 === 3.14
+f3 BETWEEN 1e10 AND 999999999999
+f1 =
+f1 < -1
+hasAny(f5, -.5)
+f6 BETWEEN 'O''Reilly' AND f6
+has(f2, f5)
+f5 IN (f6, f4, 999999999999, "hello world")
+f2 IN ("\t", f4, "\t", f2, f3)
+f6 = 'unclosed
+f6 < "\t"
+f1 != -1e-10
+f4 BETWEEN AND 6.02e23
+f2 NOT REGEXP "\t"
+f3 IN ("hello world")
+f4 NOT CONTAINS "\t"
+hasAll(f6, .5)
+f4 BETWEEN f6 AND 0
+has(f5, -1e-10)
+f5 CONTAINS 'O''Reilly'
+hasToken(f1, ' ')
+f3 BETWEEN 1e10
+f2 = f3
+hasAny(f6)
+f6 > f6
+f6 IS NULL
+f2 IS NULL
+f1 IN (-1, 'test', f3, -10)
+has(f5, "\n")
+(f1 IN (3.14, .5)) OR (f5 BETWEEN TRUE AND f2)
+f1 IN ()
+(has(f6, -3.5e-2)) OR (f5 REGEXP "\n")
+f3 NOT REGEXP ''
+f5 IN (,)
+f6 IN ('')
+f2 BETWEEN "abc" AND 999999999999
+(f4 >= 1e10) AND (f2 >= -.5)
+f6 BETWEEN AND 'O''Reilly'
+f3 IN (-1, 0)
+has(f2, '')
+f6 BETWEEN AND -1
+f6 BETWEEN f5 AND -10
+()
+f6 != -1e-10
+f6 <= 1
+f1 === "\t"
+f2 IN (f6)
+f3 === f3
+AND f5 = "abc"
+f2 === f5
+f6 IN ("%wild%", f2, 1, f4)
+f6 < .5
+f1 IN (-10, 'test')
+f4 == .5
+f1 =
+f1 IN ("hello world", "xyz%")
+f1 REGEXP "%wild%"
+f1 ILIKE 'test'
+(hasAny(f5, 1e10)) AND (f6 BETWEEN "abc" AND "\n")
+f4 BETWEEN AND 1
+(has(f5, -3.5e-2)) AND (f3 IN (-.5, "xyz%", "abc"))
+f5 IN (,)
+f1 = 0)
+f6 != "\n"
+f6 NOT CONTAINS ' '
+f3 BETWEEN -1e-10 AND -2.7
+f6 BETWEEN 999999999999 AND 'O''Reilly'
+f3 IN ('O''Reilly', 1, "%wild%", f2)
+f1 NOT CONTAINS ' '
+f4 IN ("\n", "xyz%", "abc")
+(f5 CONTAINS 'test') AND (has(f6, "a_b%"))
+f5 BETWEEN AND TRUE
+f2 LIKE 'O''Reilly'
+f1 IN (' ')
+f2 NOT LIKE "abc"
+hasToken(f5, "abc")
+(f3 BETWEEN f4 AND -2.7) OR ((f5 IN ("\t", f4, 0.0000000001, 10, -1e-10)) AND (f5 NOT CONTAINS "hello world"))
+f1 IN ()
+(f6 IN (999999999999, "hello world", "\t", f1)) OR (f6 IN (f4, 10, 3.14, "%wild%", 'test'))
+f6 BETWEEN AND -.5
+has(f1)
+f2 IN [1 2 3]
+((f3 <> 0) AND (f6 BETWEEN f5 AND 10)) OR (f4 BETWEEN "\t" AND 1e10)
+f6 ILIKE ' '
+f4 IN (f1)
+f1 IN (-10, f1, 6.02e23, 0.0000000001)
+f2 IN (' ', '', "%wild%", f2)
+f4 = ' ')
+f6 = 'unclosed
+hasToken(f2, -3.5e-2)
+f4 === ''
+f3 IN (-.5, "abc", 6.02e23, 0, -2.7)
+f1 <= -1e-10
+f6 == f1
+hasAny(f2, "%wild%")
+NOT
+f3 >= 0
+has(f6, -1e-10)
+f5 BETWEEN AND f3
+f2 BETWEEN "abc" AND 'O''Reilly'
+((hasAny(f6, "abc")) AND (f2 BETWEEN f2 AND f5)) AND ((f3 BETWEEN 10 AND "a_b%") AND (hasAll(f6, f6)))
+has(f5, "a_b%")
+AND f3 = ' '
+f2 IS NULL
+has(f4, 'test')
+f5 = 'unclosed
+(f5 NOT ILIKE '') AND (f4 IN (.5))
+f2 >= f1
+f3 = 'unclosed
+hasAny(f1, f5)
+f4 BETWEEN -3.5e-2 AND 1e10
+f3 IN ()
+(has(f4, "\t")) OR (f4 = 'O''Reilly')
+hasToken(f3, -3.5e-2)
+f1 IN ()
+f2 IN (0, '', 0.0000000001)
+f5 IN (999999999999, -1)
+f1 >= 0.0000000001
+f3 NOT LIKE 'test'
+f4 != "\n"
+f6 IN ("abc", 0.0000000001, "\n")
+(has(f5, f2)) AND ((f4 BETWEEN -2.7 AND "a_b%") AND (f4 BETWEEN "abc" AND f4))
+(f6 = f3
+f5 BETWEEN -1e-10 AND "%wild%"
+f5 NOT LIKE "abc"
+f2 IN (,)
+f6 <> "%wild%"
+f1 REGEXP 'O''Reilly'
+f3 >= f5
+f2 IN ("%wild%")
+f6 NOT LIKE "xyz%"
+f3 CONTAINS "a_b%"
+f4 > "abc"
+(f4 <= ' ') AND (f2 BETWEEN 10 AND 'O''Reilly')
+f6 < -3.5e-2
+f4 IN ("xyz%")
+f5 IN (10, -10, -1e-10)
+f3 BETWEEN "%wild%" AND 1
+f2 BETWEEN 10 AND 1
+(hasToken(f6, "a_b%")) AND (f5 <> -3.5e-2)
+f3 IN ('O''Reilly', 0.0000000001, -2.7, 1)
+f6 != 1
+f6 NOT REGEXP ''
+f4 IN (f4)
+f4 === 1e10
+hasToken(f1, "xyz%")
+has(f5, .5)
+f1 >= f4
+f3 LIKE 'test'
+f6 NOT LIKE "a_b%"
+f4 REGEXP "abc"
+hasToken(f6, 0)
+f1 <> 1
+f5 IN (,)
+f3 IN [1 2 3]
+f1 IN (1, 'O''Reilly', -.5, TRUE, 1)
+f4 IN (10, f5)
+hasAny(f3, -.5)
+f4 IN ('test', -1e-10)
+f6 LIKE
+f4 IN (999999999999, -3.5e-2, ' ')
+f4 NOT
+hasToken(f1, "hello world")
+AND f2 = f5
+(((f6 BETWEEN -.5 AND f6) OR (f6 != f1)) AND (f6 > -.5)) AND (f1 LIKE '')
+f4 >= f4
+f3 NOT ILIKE "hello world"
+f2 NOT CONTAINS ' '
+f6 REGEXP "hello world"
+hasToken(f3, -3.5e-2)
+f5 = 'unclosed
+f6 <= 3.14
+f5 = -2.7
+f3 =
+f1 != -1e-10
+f2 CONTAINS 'O''Reilly'
+hasToken(f1)
+f6 = -10)
+hasAny(f4, 0.0000000001)
+f1 = 3.14
+f3 IN ('')
+f3 NOT
+hasToken(f1, 1e10)
+hasAny(f3, "abc")
+f2 BETWEEN AND "\t"
+f2 CONTAINS "%wild%"
+f5 OR OR -2.7
+f4 IN ("xyz%", f5)
+f3 BETWEEN 999999999999 AND 'test'
+hasAll(f2, 6.02e23)
+hasToken(f2, 0.0000000001)
+f3 IN (,)
+hasToken(f5, 0)
+f6 BETWEEN f3 AND f5
+f2 IN (,)
+(f1 LIKE ' ') AND (f5 LIKE "%wild%")
+f3 IN ()
+f6 REGEXP "hello world"
+f4 <= ' '
+f5 IN (,)
+f4 CONTAINS "hello world"
+(hasToken(f4, "abc")) OR (has(f4, 1e10))
+f1 NOT
+f4 != ' '
+f6 IS NULL
+f6 <> "\t"
+(f6 < f1) OR (f5 NOT ILIKE 'test')
+has(f3, 6.02e23)
+f5 CONTAINS "\t"
+f6 = 'unclosed
+hasAll(f4, 3.14)
+f2 = -10
+hasToken(f1, f5)
+f2 LIKE
+f5 IN (f4, -1e-10, f6)
+f1 NOT
+f4 CONTAINS ' '
+(hasToken(f5, "\n")) OR (f2 IN (-1e-10, f3))
+f1 >= 'O''Reilly'
+f2 == -1
+f2 NOT REGEXP 'test'
+f3 NOT LIKE 'O''Reilly'
+f1 BETWEEN AND -3.5e-2
+(f2 IN (-10, 6.02e23, 0)) OR (f3 IN ("\t", f5, 10))
+f3 NOT CONTAINS "abc"
+(f1 = -2.7
+f1 LIKE "xyz%"
+f1 BETWEEN -2.7 AND ''
+(f4 BETWEEN 1 AND -1) OR (f1 CONTAINS 'test')
+f6 IS NULL
+hasAll(f1, f5)
+f2 BETWEEN -10 AND -1e-10
+f4 NOT REGEXP 'test'
+f2 BETWEEN "a_b%" AND "\n"
+f1 IN (' ', 3.14, f3, "\t", "abc")
+(f4 BETWEEN "\n" AND '') OR (hasToken(f4, f3))
+f6 NOT REGEXP "%wild%"
+f6 > TRUE
+f1 BETWEEN "\n" AND 999999999999
+f6 LIKE
+hasAny(f3, "\n")
+f1 = NULL
+()
+f1 CONTAINS ' '
+f3 BETWEEN 0 AND 3.14
+(f4 = f1
+hasAny(f2, "abc")
+f4 BETWEEN f5 AND "abc"
+f6 IN (10, 3.14, f4)
+f1 != 1
+f2 IN (,)
+(hasAny(f5, -.5)) OR (f2 BETWEEN "hello world" AND 1)
+f5 IN ("abc", "a_b%", 'test', f1)
+f2 BETWEEN "\n" AND f1
+f5 BETWEEN f1 AND "\n"
+NOT
+f5 BETWEEN AND 3.14
+(f1 NOT ILIKE "xyz%") OR (f4 <> "abc")
+f2 BETWEEN 999999999999 AND -1e-10
+hasAll(f5, "%wild%")
+AND f3 = ' '
+f4 NOT LIKE 'test'
+(f6 LIKE "\n") AND (f1 BETWEEN "abc" AND 'O''Reilly')
+()
+f6 BETWEEN -.5 AND f1
+has(f1, 1e10)
+f1 BETWEEN AND f6
+(f4 = "\n"
+f2 == f5
+()
+(f2 NOT CONTAINS "a_b%") AND (hasToken(f4, f5))
+f2 REGEXP "\t"
+f1 = NULL
+hasAll(f6, "abc")
+hasToken(f3)
+hasToken(f2)
+f2 <= .5
+f3 <= 1
+f3 === 1
+f2 NOT CONTAINS "xyz%"
+f3 ILIKE "abc"
+f6 BETWEEN "%wild%" AND "xyz%"
+f6 ILIKE 'test'
+f2 IN (f3, 'test', 6.02e23)
+has(f5, "a_b%")
+f3 CONTAINS "a_b%"
+hasToken(f3, '')
+(f1 NOT ILIKE "hello world") OR ((hasAll(f4, -2.7)) OR (f4 BETWEEN 0.0000000001 AND ' '))
+has(f2, -3.5e-2)
+AND f1 = -1e-10
+hasToken(f5)
+f6 LIKE "\n"
+f6 NOT REGEXP "\t"
+f1 CONTAINS "xyz%"
+(f4 == f1) AND (f4 CONTAINS "\n")
+f2 IN ("abc", 0.0000000001)
+f5 IN (,)
+f6 IN (-10, 3.14, f2, 0)
+f6 IN (-10, '', -1e-10)
+f3 > -10
+(f1 BETWEEN 0.0000000001 AND 6.02e23) AND ((f6 <= f4) AND (f5 IN ('')))
+f1 = f5
+f4 <= f6
+f1 IN ('test', 10, f1, 'test')
+f3 < 'test'
+(hasToken(f2, -.5)) OR (f5 BETWEEN -10 AND .5)
+f4 = NULL
+has(f3, 0.0000000001)
+f3 NOT ILIKE 'test'
+hasAny(f2, 3.14)
+f4 < "\n"
+f4 IN (-.5, 1e10, 'O''Reilly', f3, TRUE)
+f2 NOT REGEXP ' '
+f3 NOT LIKE 'test'
+(f2 CONTAINS ' ') OR (f1 BETWEEN 999999999999 AND f1)
+f4 IN (,)
+(f5 NOT CONTAINS "a_b%") AND (f5 < "abc")
+(f2 CONTAINS "abc") AND (f3 IN (.5, '', f3, f5))
+f5 < "hello world"
+f6 IN ("\t", 3.14, "xyz%", -1, f3)
+f1 IN ('test', -2.7, 6.02e23, "\n", "xyz%")
+f3 IN [1 2 3]
+f6 BETWEEN 10 AND "a_b%"
+f2 IN ()
+f5 IS NULL
+has(f1, ' ')
+f4 IN (10)
+f5 NOT CONTAINS 'test'
+(f1 = "abc"
+f1 = 1e10)
+f6 <= f3
+AND f3 = -1
+f3 IS NULL
+AND f3 = f4
+hasAll(f1, 1)
+f1 IN (0, '', 999999999999)
+f4 IN ('')
+(hasToken(f5, "%wild%")) AND ((f4 <> 1e10) OR (f4 IN (f6, "abc", 6.02e23, -.5, -10)))
+f1 LIKE ''
+hasAll(f1, 10)
+f5 IN (f3, ' ', "abc", 999999999999)
+hasAll(f2, f6)
+f3 IN (-1, TRUE, f5)
+hasAny(f1, f6)
+f2 BETWEEN -2.7 AND -2.7
+(((f3 NOT ILIKE 'test') OR (f4 NOT ILIKE '')) AND (hasAny(f2, f2))) AND (f6 NOT CONTAINS ' ')
+f1 BETWEEN 'O''Reilly' AND 1e10
+has(f3, f2)
+(f1 = f1
+f6 BETWEEN 1 AND 3.14
+f3 === -10
+(f6 NOT CONTAINS 'test') AND ((f6 IN ("xyz%")) AND (((f3 == .5) OR (f6 = 1e10)) AND (f6 BETWEEN 999999999999 AND 3.14)))
+(f6 = TRUE) AND (f3 BETWEEN 6.02e23 AND 10)
+f5 BETWEEN 0.0000000001
+f2 LIKE "xyz%"
+f5 IN ('', TRUE, -1e-10)
+f3 IN (0, '', 0.0000000001)
+f3 CONTAINS ''
+f3 IN ('')
+f4 >= 1e10
+hasAny(f4, 6.02e23)
+f6 BETWEEN 'test' AND TRUE
+hasAll(f3, TRUE)
+f2 ILIKE ' '
+f6 >= "\t"
+((f6 REGEXP "\t") AND (f1 < f3)) OR (f5 NOT REGEXP 'test')
+f1 NOT CONTAINS "xyz%"
+f5 < f4
+(f6 > "\n") AND (f6 BETWEEN 'O''Reilly' AND f3)
+f2 == 'test'
+f4 BETWEEN -2.7 AND 10
+f6 BETWEEN "\t"
+(f3 ILIKE "hello world") AND (f5 LIKE "%wild%")
+f3 NOT LIKE ''
+f1 BETWEEN -10 AND "\t"
+(hasAny(f3, f1)) AND (f4 BETWEEN 3.14 AND -2.7)
+()
+(f6 IN ('O''Reilly')) OR (f2 NOT ILIKE '')
+f4 LIKE "\n"
+f5 <= f3
+f6 <= "hello world"
+f3 <= 10
+(has(f5, 6.02e23)) AND (f2 ILIKE "hello world")
+(f5 BETWEEN f2 AND f6) AND (f2 < f5)
+f5 <= f5
+f5 IS NULL
+()
+f6 NOT REGEXP "abc"
+f1 BETWEEN -1e-10 AND 999999999999
+()
+hasAny(f5, f5)
+f6 BETWEEN -3.5e-2 AND 'test'
+hasAny(f1, "\n")
+f4 BETWEEN "hello world" AND ' '
+(f6 NOT ILIKE "\n") OR (f5 == -.5)
+hasAny(f3, f5)
+hasToken(f3, 1e10)
+f4 = NULL
+f6 LIKE
+f1 = 'unclosed
+f4 = -2.7)
+f3 IN ("xyz%", "a_b%")
+f6 BETWEEN f3 AND -.5
+(f2 IN (f2, -.5, -1, 3.14, 'test')) AND (hasAny(f2, f4))
+f3 BETWEEN "\n" AND TRUE
+f3 BETWEEN .5
+f3 NOT LIKE "xyz%"
+f2 > ''
+f5 = 10
+(f4 IN (f4, 1e10, -2.7, -1e-10)) OR (f1 < 999999999999)
+f6 <= "abc"
+hasToken(f2, -.5)
+(f2 = -10
+f6 == f1
+f5 LIKE "abc"
+f2 NOT LIKE "a_b%"
+f6 LIKE "abc"
+f5 IN (3.14, f5, 10, 1e10)
+(f3 IN (0, -2.7, f2)) AND (f6 > 1e10)
+f2 IN (-.5, ' ')
+f2 IN ("xyz%", -3.5e-2)
+f2 BETWEEN 3.14 AND 1e10
+f1 BETWEEN 6.02e23 AND "%wild%"
+(f6 BETWEEN 1 AND 999999999999) OR ((f2 BETWEEN -.5 AND f5) OR ((f3 >= "xyz%") OR (f6 NOT ILIKE "abc")))
+(f1 = f2) AND ((f4 CONTAINS ' ') OR (f2 IN ('test', -1e-10)))
+f6 IN (f6, 'O''Reilly', 0.0000000001, f3)
+f6 == f6
+f6 = NULL
+f1 IN (1, "a_b%", 10, 0.0000000001)
+(f1 <= "abc") OR (hasAll(f3, f2))
+f4 BETWEEN -3.5e-2 AND ' '
+hasAny(f2)
+f4 BETWEEN -.5 AND f2
+has(f4, -.5)
+f6 IN (1)
+f3 NOT LIKE "xyz%"
+f5 BETWEEN "abc" AND "xyz%"
+NOT
+f1 NOT ILIKE "abc"
+hasAll(f2, 'O''Reilly')
+f1 BETWEEN 999999999999 AND 'test'
+f2 BETWEEN 3.14 AND "abc"
+f2 = 'unclosed
+f5 BETWEEN -1e-10 AND 0
+hasAny(f4, 1)
+f3 ILIKE "abc"
+(f3 IN (999999999999, 3.14, f6, f1)) AND (f6 ILIKE 'test')
+f1 =
+f5 IN (-.5, f5, TRUE, "abc")
+(f4 NOT ILIKE "\t") AND (f2 IN ("abc", f2, "\n", f5))
+f3 OR OR 0
+hasAny(f5)
+hasAll(f4, -3.5e-2)
+f3 =
+AND f6 = ''
+f1 < 3.14
+hasAll(f6, 3.14)
+NOT
+f5 BETWEEN '' AND -1
+hasAll(f5, -3.5e-2)
+()
+f6 IN (999999999999, "\n", 6.02e23, 6.02e23)
+f4 IN (f1, "%wild%")
+f3 >= f2
+f3 BETWEEN ' ' AND 3.14
+f2 IN [1 2 3]
+f4 IN (f2)
+f4 BETWEEN 10 AND TRUE
+f3 IN (0, f1, f5, 'O''Reilly')
+((f1 ILIKE "\t") OR ((f6 >= -10) AND (f4 < f6))) AND (f2 BETWEEN 6.02e23 AND ' ')
+has(f4, 10)
+f5 IN ()
+(f5 BETWEEN TRUE AND 10) OR (hasAny(f1, 1e10))
+NOT
+()
+f5 NOT CONTAINS "\t"
+f3 IN (f2, .5, 3.14, f4, -.5)
+hasToken(f1, 1)
+f2 = 'unclosed
+f6 NOT LIKE 'test'
+f6 IN (0.0000000001, "\t", 'O''Reilly', 10, f4)
+f1 BETWEEN 1e10 AND 6.02e23
+hasAll(f6)
+f2 NOT
+f5 IN ("%wild%", "xyz%")
+f3 BETWEEN AND .5
+((has(f2, ' ')) AND (f2 < -10)) OR (hasAny(f3, -1e-10))
+f2 IN ("abc", ' ', -.5, f2, 10)
+f4 NOT LIKE 'O''Reilly'
+f4 REGEXP "hello world"
+hasToken(f1, -1)
+f3 BETWEEN 1e10 AND 1e10
+f4 >= 6.02e23
+f6 BETWEEN -1
+f4 BETWEEN AND 0
+has(f3, -3.5e-2)
+f6 < -1e-10
+f3 OR OR f4
+f4 BETWEEN f1
+f3 IN ("\n", 0, TRUE, -3.5e-2)
+f4 BETWEEN f5 AND 'O''Reilly'
+has(f6, f4)
+hasAll(f1)
+NOT
+has(f2)
+f5 IS NULL
+f3 REGEXP "abc"
+f6 > f4
+(f3 = "\n") AND (f1 LIKE "a_b%")
+hasAny(f4, ' ')
+f3 IN (,)
+hasAny(f2)
+f5 BETWEEN 10 AND "\n"
+(f4 = 10
+f3 > 1
+f1 REGEXP "abc"
+hasToken(f4, .5)
+f4 BETWEEN AND 10
+f1 < -.5
+f5 NOT REGEXP "abc"
+hasAll(f5, f3)
+hasAny(f5, "\n")
+has(f3)
+f2 BETWEEN 999999999999 AND -3.5e-2
+f2 IN ("a_b%", "a_b%", f5, -.5)
+f3 != "a_b%"
+f5 >= 6.02e23
+hasAll(f4, f2)
+f6 NOT CONTAINS ''
+f5 = NULL
+f4 <= 999999999999
+f4 IN ("\n", ' ', f2, 'O''Reilly', f6)
+f5 =
+hasAll(f1, 10)
+has(f5, 3.14)
+f1 BETWEEN ' ' AND 0
+f6 IN (999999999999, '', -1e-10, 'O''Reilly', "a_b%")
+hasAny(f3, "%wild%")
+f3 == f2
+f3 = NULL
+hasToken(f1, ' ')
+f6 BETWEEN '' AND 6.02e23
+(hasToken(f2, 10)) OR ((f5 IN (1, "xyz%", 0, -10, "abc")) OR ((has(f5, f6)) OR (f6 BETWEEN 1e10 AND "hello world")))
+f3 IN ()
+f5 BETWEEN "\t" AND "%wild%"
+(((f1 BETWEEN 10 AND f1) AND (hasAll(f4, -.5))) AND ((f6 >= 0.0000000001) OR (has(f1, -1e-10)))) AND ((f4 IN ('O''Reilly')) OR (f3 != 6.02e23))
+f1 BETWEEN 1e10 AND "%wild%"
+hasAll(f5, "a_b%")
+f2 BETWEEN AND 0.0000000001
+(f3 BETWEEN .5 AND "hello world") AND (f2 IN ('', "a_b%", TRUE, .5, f3))
+f1 = 'unclosed
+f1 > 1e10
+f2 NOT CONTAINS 'O''Reilly'
+f1 < "hello world"
+has(f5, ' ')
+f5 < 'test'
+f1 != "%wild%"
+f5 =
+f2 >= "abc"
+f3 = -2.7)
+(hasAll(f6, 10)) OR (f5 <> -1e-10)
+hasToken(f5, ' ')
+f1 IN (-.5)
+(f6 < "\t") OR (f5 IN (999999999999))
+f1 BETWEEN "\t" AND -10
+(f1 == f2) OR (hasToken(f5, "a_b%"))
+f4 IN (0)
+f4 IN ()
+f5 IN (-1, 1e10, -1e-10, 0.0000000001, TRUE)
+f6 BETWEEN AND 'O''Reilly'
+f5 CONTAINS "a_b%"
+f5 BETWEEN "abc" AND -10
+f6 BETWEEN "a_b%" AND f6
+f2 NOT
+f4 <= 3.14
+f2 < 1
+f6 IS NULL
+f5 BETWEEN "abc" AND .5
+f1 BETWEEN AND "\n"
+f2 IN ("%wild%", f6, "\t", 10)
+f1 IN (-1e-10, -1e-10, 0.0000000001, 1, 6.02e23)
+f5 ILIKE "hello world"
+f5 BETWEEN 'test' AND "%wild%"
+AND f5 = 999999999999
+f2 LIKE
+f1 BETWEEN "a_b%" AND -1
+f3 IN ("abc")
+hasToken(f6, 1e10)
+f6 BETWEEN TRUE AND 'test'
+f4 LIKE ' '
+f3 IN (1e10, -10, ' ', ' ')
+f3 ILIKE "xyz%"
+f5 > f5
+has(f3, 0)
+f5 IN (f1)
+(hasAny(f6, 6.02e23)) OR (f6 <= f1)
+(has(f4, 0)) OR (f5 IN (0, 0, TRUE, 3.14, -1))
+f2 == ''
+f4 NOT REGEXP "hello world"
+f2 NOT REGEXP "\n"
+f2 IN (,)
+has(f5, "a_b%")
+NOT
+(f2 BETWEEN .5 AND -3.5e-2) AND (f4 BETWEEN 999999999999 AND TRUE)
+f3 > 1e10
+f2 = NULL
+(f2 IN ('test', -1e-10, 0, f4, -10)) OR (f4 LIKE "\n")
+(f6 < 10) AND (f2 BETWEEN -2.7 AND "abc")
+f6 LIKE "a_b%"
+f6 BETWEEN 10 AND f2
+f3 <= f5
+f4 =
+f6 IN [1 2 3]
+f3 OR OR ' '
+f6 IN (0.0000000001, -3.5e-2, 1e10, -10)
+hasAny(f1, f6)
+f1 IS NULL
+f4 > "\t"
+f6 IN (f2, "\t", f1, .5, 6.02e23)
+f4 REGEXP 'O''Reilly'
+f4 IN (f2, 'test', 999999999999)
+f4 =
+f2 BETWEEN "hello world"
+f1 IN (-2.7, 'O''Reilly', 3.14, -1e-10)
+f4 IN (6.02e23, f5, 'O''Reilly')
+(f4 IN ("a_b%", "hello world", 999999999999)) AND ((hasAny(f1, 1e10)) OR (f1 IN ("xyz%", f2)))
+hasToken(f2, 0.0000000001)
+f6 = ' '
+f6 BETWEEN 3.14 AND 1e10
+f2 IN ()
+f5 = 'unclosed
+f6 =
+f6 == "hello world"
+f3 = 'unclosed
+(f2 IN (f4, f1, 'test', -3.5e-2, f6)) OR ((has(f3, 6.02e23)) OR (f4 > "\t"))
+f2 LIKE
+has(f1, -2.7)
+f4 IN (,)
+f2 IN (f3)
+f1 BETWEEN f5 AND "abc"
+f1 NOT LIKE "%wild%"
+f4 != "a_b%"
+f1 >= f4
+f6 NOT CONTAINS "%wild%"
+(f6 <= "\n") AND (f3 NOT REGEXP '')
+NOT
+f3 IN (f6, f1)
+(f1 IN (TRUE, "%wild%")) AND (f4 CONTAINS ' ')
+()
+(f2 = ''
+f5 IN (TRUE, f5, f5)
+f3 IN (f6, 1e10, f1, "abc")
+f2 IN ('', 1e10)
+hasToken(f6, 0)
+f3 BETWEEN "\t"
+f1 ILIKE "xyz%"
+f1 IN ("hello world", f6, f3, "xyz%", 6.02e23)
+f6 IN (f3, .5, -3.5e-2)
+(f4 BETWEEN '' AND f3) AND (f6 BETWEEN 1e10 AND -1)
+f1 <> f1
+f2 IN (f4, 'test', 0, -3.5e-2, -1e-10)
+f2 IN ("a_b%", "xyz%")
+hasAny(f4, 999999999999)
+f6 BETWEEN 'test'
+f1 NOT ILIKE "\n"
+((f6 NOT REGEXP "xyz%") AND (f2 IN (-.5, "a_b%", "xyz%"))) OR (f5 IN (999999999999, -1e-10, "abc", "%wild%", f4))
+f5 NOT REGEXP 'test'
+f5 IN ("hello world", 1, "hello world", f2, f3)
+f4 IN (,)
+f6 < "\n"
+f1 IS NULL
+f3 BETWEEN '' AND -3.5e-2
+f4 NOT
+(f1 BETWEEN 3.14 AND -.5) AND ((hasToken(f3, "abc")) AND (f5 BETWEEN -2.7 AND f4))
+f6 =
+(f5 = .5
+(hasToken(f6, "%wild%")) AND (f6 IN (TRUE, "xyz%"))
+has(f4, ' ')
+f2 IN (-1)
+f2 = NULL
+f5 <> 1
+f3 IN (10, 0, f5, f3)
+f6 >= f1
+f3 REGEXP "\n"
+f3 IN (0.0000000001, "abc", "xyz%", f6, "\n")
+f4 IN (10, 0, -.5, 1e10, 0)
+f4 REGEXP "%wild%"
+f6 >= ''
+hasToken(f3, -.5)
+(f2 IN (0.0000000001, 'O''Reilly')) AND (f5 BETWEEN "abc" AND 'test')
+NOT
+f2 IN (-10, "\n", -2.7, -1e-10, "xyz%")
+hasAny(f2, -.5)
+f1 CONTAINS 'test'
+f5 IN (.5)
+f3 BETWEEN .5 AND 1e10
+(f4 = f1
+(f5 = 1e10
+((hasToken(f6, 10)) AND ((hasAll(f5, 999999999999)) OR (f4 == f5))) OR (f2 BETWEEN f6 AND -.5)
+f1 IN ("abc")
+f3 NOT CONTAINS "\n"
+has(f1, "abc")
+f2 BETWEEN "xyz%" AND 0
+f6 BETWEEN -3.5e-2 AND 3.14
+(f6 IN (999999999999, -10, 6.02e23)) OR ((f3 LIKE "abc") OR (f3 <> f2))
+f1 IN ('')
+(f1 CONTAINS 'test') OR (f3 == -1e-10)
+f4 IN (0.0000000001, '')
+f5 NOT LIKE ''
+f1 BETWEEN TRUE AND f5
+f5 BETWEEN TRUE AND -10
+f3 IN (3.14, 'test', 'test', -.5, "abc")
+f6 BETWEEN -2.7 AND "a_b%"
+f2 BETWEEN -3.5e-2 AND 'O''Reilly'
+f4 IN ()
+f2 > f2
+f5 = NULL
+f5 BETWEEN 999999999999 AND f1
+hasAll(f3, f5)
+f1 BETWEEN 999999999999 AND "a_b%"
+f3 == .5
+f3 = 'unclosed
+(hasAny(f2, "a_b%")) AND ((hasToken(f2, .5)) AND (f1 IN ("\t", 1e10, "%wild%", -2.7)))
+f2 IS NULL
+has(f6)
+(f5 = -3.5e-2
+f3 IN ("a_b%")
+f1 BETWEEN "%wild%"
+f1 <> "xyz%"
+f2 IN (0.0000000001, -2.7)
+f5 BETWEEN -.5 AND 6.02e23
+f2 NOT
+f1 =
+((f2 <= 'test') AND (f6 != ' ')) OR (f4 < "\n")
+f4 NOT REGEXP "xyz%"
+f6 NOT CONTAINS "a_b%"
+f2 NOT
+has(f2, 1)
+f5 IN (999999999999)
+f2 IN (,)
+f3 IN ("\n", f1, -1e-10)
+(f4 NOT REGEXP '') AND ((has(f3, "\t")) OR (f3 IN ('', -10, "%wild%", f3)))
+(f6 BETWEEN 0.0000000001 AND 10) AND (f5 BETWEEN f6 AND -1e-10)
+f3 === 'test'
+f6 BETWEEN AND f6
+f3 <= f4
+f2 <= "xyz%"
+NOT
+f6 BETWEEN f6 AND f1
+hasAny(f4, 'test')
+f5 IN (-1e-10, '', f4, -.5)
+((f2 IN (-1, '', f3, 'test')) AND (f4 IN (.5, 1, -1))) AND ((f3 IN ('', -10, 1e10, "xyz%")) OR (f2 NOT CONTAINS "\t"))
+has(f3, 10)
+f6 <> -3.5e-2
+AND f5 = 10
+f5 == ''
+f4 IN (-3.5e-2, 1e10)
+AND f2 = -.5
+(hasAny(f5, -3.5e-2)) AND (has(f5, -.5))
+f3 BETWEEN -1e-10 AND -1
+f6 < "%wild%"
+(f4 BETWEEN f6 AND ' ') OR (f1 BETWEEN -.5 AND 999999999999)
+hasAll(f3, f4)
+f3 <= f4
+((f5 != .5) AND ((f1 <> -3.5e-2) OR (f1 IN (.5, f1)))) OR ((f3 NOT ILIKE 'O''Reilly') AND (has(f5, '')))
+(f4 = -2.7
+has(f3)
+f5 = ' '
+f6 <> 10
+f2 IN ("a_b%", "%wild%", '')
+f2 LIKE "a_b%"
+f1 IN [1 2 3]
+f5 BETWEEN TRUE AND f3
+has(f4)
+f6 BETWEEN -3.5e-2 AND "abc"
+f2 IN (f5, "xyz%")
+f6 NOT REGEXP "%wild%"
+f4 BETWEEN f4 AND 'O''Reilly'
+f2 === 0.0000000001
+f2 BETWEEN AND f5
+f5 IN ()
+f5 == TRUE
+f3 === ''
+(f3 BETWEEN 6.02e23 AND "hello world") OR (f6 == "a_b%")
+f2 IS NULL
+f5 = 'unclosed
+f5 BETWEEN AND TRUE
+f4 IN ("hello world", -3.5e-2, 'test', "hello world")
+(f5 BETWEEN 3.14 AND f6) AND (f3 BETWEEN '' AND 3.14)
+f4 LIKE
+has(f6, "\t")
+f2 BETWEEN "\t" AND 0.0000000001
+f1 IN (1e10)
+f3 = 999999999999
+f4 <= 0
+has(f4, -1e-10)
+f4 NOT
+f2 IN [1 2 3]
+f1 BETWEEN -10 AND 6.02e23
+has(f3, "a_b%")
+f3 IN (.5, f6)
+f6 > -1
+f2 BETWEEN -10 AND TRUE
+f6 = NULL
+f5 BETWEEN "abc" AND "xyz%"
+f4 IN (,)
+f1 =
+f5 NOT
+has(f6)
+f5 IN (,)
+f2 IS NULL
+f2 BETWEEN ' ' AND "xyz%"
+hasAny(f3, -1e-10)
+hasAll(f6)
+has(f5, -3.5e-2)
+f4 IN (1e10)
+hasToken(f1, "\n")
+f5 IN (TRUE, f4, "\n")
+f4 BETWEEN f6 AND ' '
+f2 >= 10
+f5 <> TRUE
+f6 BETWEEN f5 AND 0
+f6 NOT
+f2 IN (TRUE, -10)
+f3 IN ()
+f1 = -2.7
+hasAll(f1, -1)
+(((f4 < "a_b%") AND ((f5 == -1) OR (f6 <> "%wild%"))) OR (f5 >= 6.02e23)) OR (f3 BETWEEN "hello world" AND ' ')
+f5 IN ('test', f5)
+f6 BETWEEN "a_b%" AND "xyz%"
+f2 ILIKE "abc"
+f6 == "\n"
+f4 BETWEEN 'O''Reilly' AND f1
+f4 NOT LIKE "\n"
+f5 BETWEEN f3 AND "\t"
+f3 NOT REGEXP "a_b%"
+f5 REGEXP 'test'
+(f4 BETWEEN "\n" AND f2) AND (f4 != ' ')
+f2 BETWEEN 0.0000000001 AND "\t"
+has(f6, f4)
+f6 BETWEEN f3 AND "%wild%"
+f6 BETWEEN f3 AND -.5
+f2 == "a_b%"
+f2 LIKE ' '
+f5 BETWEEN "xyz%" AND f4
+(f3 IN (f2)) OR (f2 IN (999999999999, "hello world", 3.14, -2.7, 1e10))
+AND f4 = TRUE
+f4 < f3
+(f6 IN (0.0000000001)) OR (f1 IN (TRUE))
+f4 IN ("hello world")
+f5 OR OR 1e10
+hasToken(f3, "xyz%")
+f3 NOT ILIKE "\n"
+f6 LIKE
+f4 REGEXP 'O''Reilly'
+has(f4, "%wild%")
+()
+f6 IN (0)
+(f6 >= f1) AND (f6 BETWEEN "xyz%" AND '')
+f6 >= -1e-10
+f2 IN ("hello world", 6.02e23, 3.14, 6.02e23)
+f2 BETWEEN 10 AND 'test'
+has(f1, 10)
+f6 NOT REGEXP 'test'
+f1 IN (TRUE, 1)
+f4 BETWEEN f2 AND "hello world"
+has(f4, "xyz%")
+f4 != 'test'
+f5 ILIKE "\t"
+f2 =
+has(f3, 0.0000000001)
+f1 IN (f3, .5, "\t")
+f1 IN (,)
+f6 IN (f2)
+f2 <> ' '
+f2 NOT REGEXP 'O''Reilly'
+f4 = 0)
+f2 LIKE
+f4 NOT LIKE ' '
+f2 OR OR -3.5e-2
+f5 IN ("%wild%", 1, .5, 1e10, 0)
+f1 = -3.5e-2
+has(f6, 0)
+f5 = f2
+hasAny(f3, 'O''Reilly')
+f5 BETWEEN -1 AND f1
+f6 NOT CONTAINS "xyz%"
+()
+f6 = 'unclosed
+f3 ILIKE "hello world"
+f5 NOT ILIKE "abc"
+(f3 > 999999999999) AND (f2 BETWEEN -3.5e-2 AND 3.14)
+f1 <> "\n"
+f6 = "%wild%")
+hasAny(f3, TRUE)
+f3 CONTAINS "hello world"
+hasAny(f5, "abc")
+f1 BETWEEN "xyz%" AND 'test'
+f6 = NULL
+f5 LIKE "xyz%"
+(f4 = "xyz%"
+f1 != -1e-10
+(f3 = f4) OR (f3 != 3.14)
+f3 < "abc"
+f2 >= -2.7
+(hasToken(f6, 6.02e23)) AND (has(f1, -1))
+hasAll(f3, 3.14)
+f5 BETWEEN 6.02e23 AND .5
+AND f4 = f1
+f1 CONTAINS "xyz%"
+(f5 <= 1) OR (f2 > -1)
+f6 = f3)
+f3 BETWEEN f3 AND 1
+f4 BETWEEN -1e-10 AND f4
+f6 NOT
+f1 BETWEEN "abc" AND 999999999999
+f5 IN (0, -10)
+f5 IN (10, f2, -10, -.5)
+f1 IN (f3)
+f6 IN (-1e-10)
+hasAll(f4, "\t")
+((f1 >= "\n") OR (f2 >= 3.14)) AND (f1 NOT REGEXP 'O''Reilly')
+hasAll(f5, "\t")
+f1 <> -1e-10
+f1 = "abc"
+(f5 BETWEEN -1e-10 AND .5) OR (f6 IN (6.02e23, 3.14))
+has(f5, 3.14)
+(hasAny(f1, "\n")) OR (((f2 IN (6.02e23, 10, "\n", "abc")) OR ((f2 < -10) OR (f6 != f5))) AND (f1 BETWEEN 3.14 AND "a_b%"))
+f3 BETWEEN 10 AND 'test'
+f3 NOT
+f1 NOT REGEXP 'O''Reilly'
+f2 NOT
+f6 BETWEEN 1e10 AND 1e10
+f5 NOT LIKE "abc"
+f5 < 10
+(f4 >= -3.5e-2) AND (f4 BETWEEN "abc" AND '')
+f4 <> f6
+f2 IN (999999999999, '', f1)
+has(f3, ' ')
+(hasToken(f3, -2.7)) OR (f3 IN (TRUE, -1e-10, f5))
+f1 >= -2.7
+f2 = 0
+f1 IN (TRUE, -2.7, 1e10, -3.5e-2, "\n")
+f6 = f2)
+f2 IS NULL
+f2 BETWEEN 0 AND "abc"
+f6 LIKE
+AND f6 = "hello world"
+f1 BETWEEN '' AND -10
+has(f5, "%wild%")
+f4 =
+f3 > -.5
+f5 = NULL
+f3 NOT REGEXP "hello world"
+hasAll(f5, f2)
+f5 BETWEEN .5 AND "\n"
+f4 REGEXP "xyz%"
+f6 IN (f3, 1, -10, ' ', -.5)
+NOT
+f3 IN [1 2 3]
+(hasToken(f6, "abc")) AND (((f3 BETWEEN 0 AND ' ') AND (f2 >= "xyz%")) AND (f2 CONTAINS "\n"))
+f1 BETWEEN "%wild%" AND f1
+f3 <> 6.02e23
+f6 OR OR "\t"
+f2 >= "\t"
+(f6 CONTAINS '') AND (f5 BETWEEN .5 AND 1)
+f5 >= 'O''Reilly'
+hasAny(f5, TRUE)
+(f6 <> -10) AND (hasToken(f3, -3.5e-2))
+f2 IN (1, f6)
+f4 === 10
+f2 NOT CONTAINS ''
+f1 OR OR "abc"
+f4 NOT CONTAINS 'O''Reilly'
+f6 IN ('')
+f5 BETWEEN TRUE AND 3.14
+f5 = f4)
+(hasToken(f4, 6.02e23)) AND (f1 IN (f3, f6, "\t", f6, -1))
+hasToken(f5, f6)
+f3 BETWEEN "\t" AND f2
+(f5 > 'test') AND ((f1 NOT CONTAINS "%wild%") AND (f5 CONTAINS ' '))
+f5 NOT
+f5 IN (f6, 0.0000000001, -10, "hello world", -1e-10)
+f5 BETWEEN AND ' '
+hasToken(f6, '')
+f2 BETWEEN f6 AND -1
+f5 == f5
+f1 IN (f1, f3, "%wild%", TRUE, "\n")
+f1 NOT CONTAINS "\t"
+(f6 IN (f3)) OR (has(f4, "abc"))
+hasAll(f2, f4)
+(f1 IN ('O''Reilly')) OR (f5 > 10)
+f1 NOT ILIKE "abc"
+f6 = "a_b%")
+hasAny(f4, 'test')
+f6 IS NULL
+f2 <> 10
+(f1 = f1
+(f4 >= TRUE) OR ((f1 NOT REGEXP ' ') OR (f1 BETWEEN ' ' AND -1))
+has(f1, -1)
+(f1 CONTAINS "hello world") AND (f1 = "\n")
+f5 = 6.02e23)
+f2 REGEXP "a_b%"
+f1 IN (-1, f4, 'test')
+AND f6 = 6.02e23
+f3 NOT ILIKE "a_b%"
+f3 BETWEEN TRUE AND .5
+f5 IN (,)
+f4 ILIKE "xyz%"
+f6 IN (f6, 'O''Reilly', "hello world", f4, 3.14)
+((f6 NOT LIKE ' ') OR (f5 ILIKE "\t")) OR (hasAll(f1, .5))
+f3 =
+f4 IN ()
+hasAny(f5, "%wild%")
+f1 <= 1
+f6 > 'O''Reilly'
+AND f3 = "a_b%"
+(f5 IN ("a_b%", "hello world", "hello world", 0, 0)) OR (hasAny(f5, -.5))
+f6 = NULL
+f1 IN (f6, 0.0000000001, -1e-10, "%wild%", "abc")
+has(f1, 1e10)
+f2 IS NULL
+f3 IN (-1e-10, -3.5e-2, 6.02e23)
+(f5 == f2) AND (hasAll(f6, f5))
+f3 IN [1 2 3]
+f4 LIKE
+hasAny(f2, 999999999999)
+(f5 = -3.5e-2
+f6 = NULL
+(f5 BETWEEN TRUE AND 1) OR (f6 >= 'O''Reilly')
+f3 != 'test'
+f5 >= 3.14
+f1 = NULL
+f4 != "\t"
+f5 IN (f5, f6, "abc")
+f6 = 6.02e23
+f6 IN (' ', 1e10, f6)
+f6 NOT LIKE ' '
+AND f6 = f4
+((f4 BETWEEN 0 AND f1) OR (f5 REGEXP 'O''Reilly')) OR (hasAny(f3, 3.14))
\ No newline at end of file