dnwpark

Results 43 issues of dnwpark

When migrating from: ``` global foo := 1; global bar := global foo; ``` to ``` alias foo := 1; global bar := foo; ``` `gel migration create` produces the...

bug
compiler

Followup to #8515 Currently, to use an embedding model, the user create a new type in the schema with the correct annotations before being allowed to use it. This is...

ext::ai

After ``` create type Bar { create property val { using ('hello'); create constraint exclusive; }; }; ``` An ISE is produced by: ``` create type Baz extending Bar; ```

bug
compiler

related #4309 Allow globals such as: ``` global foo -> array; ``` Which can then be set by: ``` set global foo := [[1, 2, 3], [4, 5, 6]]; ```

Given the schema: ```edgeql global N: int64; type Target; type Source { target: Target { lprop: int64; }; }; ``` And setup: ```edgeql insert Target; with x := ( for...

bug
compiler

The following types produce ISEs: ```edgeql type Ez { val: array { default := [('.', -1)]; }; }; type Hz { val: array { default := [('.', [-1])]; }; };...

bug
compiler

A query such as ``` UPDATE "Book" SET pages = 100 ``` will return `0` if selecting from `Book` is blocked by an access policy. See: - test_sql_query_42 - test_sql_query_58

bug
compiler

Using the `copy_from_query` will fail if there are query parameters in access policies. https://www.postgresql.org/message-id/12415.1550157763%40sss.pgh.pa.us See: - test_sql_query_copy_01 - test_sql_query_copy_02 - test_sql_query_copy_05 - test_sql_query_copy_06

bug
compiler