Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

az-schema.sql 370 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. CREATE SCHEMA IF NOT EXISTS az;
  2. DROP TABLE IF EXISTS az.raw_ratings CASCADE;
  3. CREATE TABLE az.raw_ratings (
  4. user_key VARCHAR NOT NULL,
  5. asin VARCHAR NOT NULL,
  6. rating REAL NOT NULL,
  7. rating_time BIGINT NOT NULL
  8. );
  9. INSERT INTO stage_dep (stage_name, dep_name, dep_key)
  10. SELECT 'ag-schema', stage_name, stage_key
  11. FROM stage_status
  12. WHERE stage_name = 'common-schema';
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...