graphql-engine/server/tests-py/queries/event_triggers/update_query/update-setup.yaml
Rakesh Emmadi e5eb0c4f34 fix row comparison operator in event triggers (fix #2036) (#2868)
Update trigger is failing if any json/geometry columns are present in
event payload rows. Use '*<>' operator instead of '<>' to compare the
internal binary representation of rows if '<>' doesn’t work.
2019-09-12 18:22:01 -05:00

26 lines
463 B
YAML

type: bulk
args:
- type: create_event_trigger
args:
name: t1_cols
table:
schema: hge_tests
name: test_t1
update:
columns: ["c1", "c3"]
delete:
columns: "*"
webhook: http://127.0.0.1:5592/new
retry_conf:
num_retries: 5
interval_sec: 5
replace: true
- type: select
args:
table:
schema: hdb_catalog
name: event_triggers
columns: ["configuration"]
where:
name: t1_cols