From 2e1b21313788eae8c86b03a68e32833ce24f20f1 Mon Sep 17 00:00:00 2001 From: Filipriec Date: Mon, 24 Aug 2026 21:46:54 +0200 Subject: [PATCH] removing steel sql access permanently --- client | 2 +- common/proto/table_script.proto | 2 -- common/src/proto/descriptor.bin | Bin 194257 -> 194114 bytes common/src/proto/komp_ac.table_script.rs | 3 --- server | 2 +- 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/client b/client index fbf3ff93..74ebcab6 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit fbf3ff93bd5486a893203d03ca422474201c0649 +Subproject commit 74ebcab618be649ce9ceb2c7fb2e56fbc891428c diff --git a/common/proto/table_script.proto b/common/proto/table_script.proto index 94fb3f5c..fe6901b5 100644 --- a/common/proto/table_script.proto +++ b/common/proto/table_script.proto @@ -36,7 +36,6 @@ service TableScript { // • Allowed always: self-references (same table) // • Structured access via steel_get_column // requires an explicit link in table_definition_links - // - Rejects raw SQL access; steel_query_sql is not part of the supported DSL // - Records dependencies for hydration and future graph analysis; circular // graphs are allowed because scripts do not recursively trigger each other // - Transforms the script to decimal-safe operations (steel_decimal) @@ -109,7 +108,6 @@ message PostTableScriptRequest { // Every related aggregate requires the `via anchor` clause. The related // table must be reachable through that anchor by an unambiguous FK path; // the path may span multiple FK hops. - // - Raw SQL access is not supported; steel_query_sql is rejected // // Math operations: // - The script is transformed by steel_decimal; supported math forms include: diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 5e87427806675ceaf6e2c2824ebbf58eec99d25d..fe56b7c8a34d8933115389d95983418771fd8255 100644 GIT binary patch delta 2628 zcmYM0e@vBS6vyv5_r33Z?~8i#mERBqnu73N@po)mIUONsg$c;iOxGW+)<5cMvAN1Q z|DZXW)t*vvZW_)QV==b7u|;NtSkdN?F~_jn7-NhaZickE*7rR3KD_^N&hvb}&pF@s zJkRC!-x)V%GCuC1cc1Vl$CB?op`;VLe%OtA5eogQ{0Q%$y5!LaH%8*$MqSGeamWi- z@U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$773 zi1@~JK7LXDs~M;O0s8H^J`%%4oZ#g=cKCmxbpw7?%>b{Mb->3PB=W~COS=Lw^j zJrwpftL-DXuCCcYw%7*bX38@i+Hh#5VPkU+HXNGq?r6xi?_8wFcR9$i^CG!}y_x9C z7RW8Ccoe@8w3vR7#GV#2NC@H9B7;ATME{76KEsU?I zNn>z3uY?j|dnJ?z+bbeDDDRlffO|Fb?HE2psjHz#AYC;d1e+kbDj(!0`TjP8eVf`b zj(<+Ig&GH%Hi{3*_2xj+Mnj9eHMr4^?_8tEFKWwpUY)o`?pSXzj2xkVUHv+qmj>63 z5t1;vZs;R~(RHC;ttD7&S4+xyUeF#&gnqlZz>cQhE*Cf}0sR~52S`#k%tdnW1|Umr zf88!ZRJlO|eD8w1T8@MrnHd#4j#3@O*(U{Ah&rgKBqtL79W6 zCLFt@G5Ha5<)%JSRg-yA@FbK7$0r6o_CWGP&@a#uaD1vhpUgGE(@-KDpBnV8=J-_5 z%jCIoO}kZo6<4RaLy26|Zi60sP^DYYuK@bE@4S%z5BFE`^27^r$9ZqVC@$!G)E`wm ze`b$)fsurL59MX=0z&xqQ0ZuWH4wtLhsKT9-NyxBui83=Yf`Ks!t2`p1+kEWq5uE@ diff --git a/common/src/proto/komp_ac.table_script.rs b/common/src/proto/komp_ac.table_script.rs index 2099cdb5..4c9e7d86 100644 --- a/common/src/proto/komp_ac.table_script.rs +++ b/common/src/proto/komp_ac.table_script.rs @@ -37,7 +37,6 @@ pub struct PostTableScriptRequest { /// Every related aggregate requires the `via anchor` clause. The related /// table must be reachable through that anchor by an unambiguous FK path; /// the path may span multiple FK hops. - /// * Raw SQL access is not supported; steel_query_sql is rejected /// /// Math operations: /// @@ -346,7 +345,6 @@ pub mod table_script_client { /// • Allowed always: self-references (same table) /// • Structured access via steel_get_column /// requires an explicit link in table_definition_links - /// * Rejects raw SQL access; steel_query_sql is not part of the supported DSL /// * Records dependencies for hydration and future graph analysis; circular /// graphs are allowed because scripts do not recursively trigger each other /// * Transforms the script to decimal-safe operations (steel_decimal) @@ -493,7 +491,6 @@ pub mod table_script_server { /// • Allowed always: self-references (same table) /// • Structured access via steel_get_column /// requires an explicit link in table_definition_links - /// * Rejects raw SQL access; steel_query_sql is not part of the supported DSL /// * Records dependencies for hydration and future graph analysis; circular /// graphs are allowed because scripts do not recursively trigger each other /// * Transforms the script to decimal-safe operations (steel_decimal) diff --git a/server b/server index 4ea5a4e8..49537094 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 4ea5a4e80dbbee9bd3e80777ca757d4d09765ed7 +Subproject commit 49537094d7de692f5f1e72856833e9549b39c36a