-
Notifications
You must be signed in to change notification settings - Fork 26
Incompatibility: SAFE functions are not supported #94
Copy link
Copy link
Closed
Description
This incompatibility is detected by #90.
-
SAFE.prefix -
SAFE_CASTImplement SAFE_CAST in CastExpr #164 -
SAFE_ORDINAL,SAFE_OFFSETImplement generalized subscript operators #192
Spec
https://cloud.google.com/spanner/docs/reference/standard-sql/functions-reference#safe_prefix
Additionally, SAFE_CAST is needed to be supported. #115
Reproducing input
CREATE TABLE T (
id INT64,
string_field STRING(MAX),
gen BYTES(MAX) AS (SAFE.MD5(string_field)) STORED,
) PRIMARY KEY(id);
Current error
syntax error:testdata/generated_column.test:5:30: expected token: ), but: (
5: gen BYTES(MAX) AS (SAFE.MD5(string_field)) STORED,
^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels