Skip to content

Commit 69afdc8

Browse files
committed
fix: disable ore_cllw operators
1 parent c0028d7 commit 69afdc8

File tree

7 files changed

+24
-95
lines changed

7 files changed

+24
-95
lines changed

src/operators/<=_test.sql

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -4,85 +4,6 @@ SELECT create_table_with_encrypted();
44
SELECT seed_encrypted_json();
55

66

7-
8-
-- --
9-
-- -- ORE - eql_v2_encrypted <= eql_v2_encrypted
10-
-- --
11-
-- DO $$
12-
-- DECLARE
13-
-- e eql_v2_encrypted;
14-
-- ore_term jsonb;
15-
-- BEGIN
16-
17-
-- -- Record with a Numeric ORE term of 42
18-
-- e := create_encrypted_ore_json(42);
19-
-- PERFORM seed_encrypted(e);
20-
21-
-- PERFORM assert_result(
22-
-- 'eql_v2_encrypted <= eql_v2_encrypted',
23-
-- format('SELECT e FROM encrypted WHERE e <= %L::eql_v2_encrypted', e));
24-
25-
-- PERFORM assert_count(
26-
-- format('eql_v2_encrypted <= eql_v2_encrypted'),
27-
-- format('SELECT e FROM encrypted WHERE e <= %L;', e),
28-
-- 4);
29-
30-
-- e := create_encrypted_ore_json(20);
31-
32-
-- PERFORM assert_result(
33-
-- 'eql_v2_encrypted <= eql_v2_encrypted',
34-
-- format('SELECT e FROM encrypted WHERE e <= %L::eql_v2_encrypted', e));
35-
36-
-- PERFORM assert_count(
37-
-- format('eql_v2_encrypted <= eql_v2_encrypted'),
38-
-- format('SELECT e FROM encrypted WHERE e <= %L;', e),
39-
-- 2);
40-
-- END;
41-
-- $$ LANGUAGE plpgsql;
42-
43-
44-
-- --
45-
-- -- ORE - eql_v2.lte(a eql_v2_encrypted, b eql_v2_encrypted)
46-
-- --
47-
-- DO $$
48-
-- DECLARE
49-
-- e eql_v2_encrypted;
50-
-- ore_term jsonb;
51-
-- BEGIN
52-
-- -- Reset data
53-
-- PERFORM seed_encrypted_json();
54-
55-
-- -- Record with a Numeric ORE term of 42
56-
-- e := create_encrypted_ore_json(42);
57-
-- PERFORM seed_encrypted(e);
58-
59-
-- PERFORM assert_result(
60-
-- 'eql_v2.lte(a eql_v2_encrypted, b eql_v2_encrypted)',
61-
-- format('SELECT e FROM encrypted WHERE eql_v2.lte(e, %L)', e));
62-
63-
-- -- include
64-
-- PERFORM assert_count(
65-
-- 'eql_v2.lte(a eql_v2_encrypted, b eql_v2_encrypted)',
66-
-- format('SELECT e FROM encrypted WHERE eql_v2.lte(e, %L)', e),
67-
-- 4);
68-
69-
-- -- Record with a Numeric ORE term of 30
70-
-- e := create_encrypted_ore_json(30);
71-
72-
-- PERFORM assert_result(
73-
-- 'eql_v2.get(a eql_v2_encrypted, b eql_v2_encrypted)',
74-
-- format('SELECT e FROM encrypted WHERE eql_v2.lte(e, %L)', e));
75-
76-
-- PERFORM assert_count(
77-
-- 'eql_v2.get(a eql_v2_encrypted, b eql_v2_encrypted)',
78-
-- format('SELECT e FROM encrypted WHERE eql_v2.lte(e, %L)', e),
79-
-- 3);
80-
-- END;
81-
-- $$ LANGUAGE plpgsql;
82-
83-
84-
85-
867
-- ------------------------------------------------------------------------
878
-- ------------------------------------------------------------------------
889
--

src/ore_cllw_u64_8/operator_class.sql renamed to src/ore_cllw_u64_8/operator_class.sql.skip

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
-- REQUIRE: src/schema.sql
2-
-- REQUIRE: src/ore_cllw_u64_8/types.sql
3-
-- REQUIRE: src/ore_cllw_u64_8/functions.sql
4-
-- REQUIRE: src/ore_cllw_u64_8/operators.sql
1+
-- NOTE FILE IS DISABLED
2+
-- REPLACE `!REQUIRE` with `REQUIRE` to enable in the build
3+
4+
-- !REQUIRE: src/schema.sql
5+
-- !REQUIRE: src/ore_cllw_u64_8/types.sql
6+
-- !REQUIRE: src/ore_cllw_u64_8/functions.sql
7+
-- !REQUIRE: src/ore_cllw_u64_8/operators.sql
58

69

710

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
-- REQUIRE: src/schema.sql
2-
-- REQUIRE: src/common.sql
3-
-- REQUIRE: src/ore_cllw_u64_8/types.sql
4-
-- REQUIRE: src/ore_cllw_u64_8/functions.sql
1+
-- NOTE FILE IS DISABLED
2+
-- REPLACE `!REQUIRE` with `REQUIRE` to enable in the build
3+
4+
-- !REQUIRE: src/schema.sql
5+
-- !REQUIRE: src/common.sql
6+
-- !REQUIRE: src/ore_cllw_u64_8/types.sql
7+
-- !REQUIRE: src/ore_cllw_u64_8/functions.sql
58

69

710
CREATE FUNCTION eql_v2.ore_cllw_u64_8_eq(a eql_v2.ore_cllw_u64_8, b eql_v2.ore_cllw_u64_8)
File renamed without changes.

src/ore_cllw_var_8/operator_class.sql renamed to src/ore_cllw_var_8/operator_class.sql.skip

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
-- REQUIRE: src/schema.sql
2-
-- REQUIRE: src/ore_cllw_var_8/types.sql
3-
-- REQUIRE: src/ore_cllw_var_8/functions.sql
4-
-- REQUIRE: src/ore_cllw_var_8/operators.sql
1+
-- NOTE FILE IS DISABLED
2+
-- REPLACE `!REQUIRE` with `REQUIRE` to enable in the build
53

4+
-- !REQUIRE: src/schema.sql
5+
-- !REQUIRE: src/ore_cllw_var_8/types.sql
6+
-- !REQUIRE: src/ore_cllw_var_8/functions.sql
7+
-- !REQUIRE: src/ore_cllw_var_8/operators.sql
68

79

810
CREATE OPERATOR FAMILY eql_v2.ore_cllw_var_8_variable_btree_ops USING btree;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
-- REQUIRE: src/ore_cllw_var_8/types.sql
2-
-- REQUIRE: src/ore_cllw_var_8/functions.sql
1+
-- NOTE FILE IS DISABLED
2+
-- REPLACE `!REQUIRE` with `REQUIRE` to enable in the build
33

4+
-- !REQUIRE: src/ore_cllw_var_8/types.sql
5+
-- !REQUIRE: src/ore_cllw_var_8/functions.sql
46

57

6-
-- Lexical comparison operators
7-
88

99
CREATE OR REPLACE FUNCTION eql_v2.ore_cllw_var_8_eq(a eql_v2.ore_cllw_var_8, b eql_v2.ore_cllw_var_8) RETURNS boolean AS $$
1010
SELECT eql_v2.bytea_eq(a.bytes, b.bytes)
File renamed without changes.

0 commit comments

Comments
 (0)