Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F34738265
schema.cql
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Eevans
Nov 8 2021, 7:39 PM
2021-11-08 19:39:25 (UTC+0)
Size
2 KB
Referenced Files
None
Subscribers
None
schema.cql
View Options
CREATE KEYSPACE image_recommendations WITH replication = {...};
-- Stores the metadata associated with an image recommendation.
CREATE TYPE image_recommendations.metadata (
confidence_rating float,
source text,
found_on set<text>,
);
-- The full data set; Recommendations for unillustrated articles.
CREATE TABLE image_recommendations.articles (
wiki text,
page_id int,
dataset_id timeuuid,
recommended_images map<text, frozen<metadata>>,
PRIMARY KEY((wiki, page_id))
);
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9233602
Default Alt Text
schema.cql (2 KB)
Attached To
Mode
P17599 schema.cql
Attached
Detach File
Event Timeline
Log In to Comment