我试图从这里运行以下示例
CREATE TYPE address (
street text,
city text,
zip int
);
CREATE TABLE user_profiles (
login text PRIMARY KEY,
first_name text,
last_name text,
email text,
addresses map<text, address>
);
Run Code Online (Sandbox Code Playgroud)
但是,当我尝试创建user_profiles表时,我收到以下错误:
InvalidRequest: code=2200 [Invalid query] message="Non-frozen collections are not
allowed inside collections: map<text, address>
Run Code Online (Sandbox Code Playgroud)
有关为什么会发生这种情况的任何想法?