Skip to content

Instantly share code, notes, and snippets.

@mshakhomirov
Created March 7, 2023 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mshakhomirov/96f546934f1cfba61ddeb36dc717a7d2 to your computer and use it in GitHub Desktop.
Save mshakhomirov/96f546934f1cfba61ddeb36dc717a7d2 to your computer and use it in GitHub Desktop.
USE gcs_hive.default;
CREATE TABLE gcs_hive.fb.events_raw
WITH (
external_location = 'gs://firebase-events-archive-avro',
format = 'AVRO' -- or 'PARQUET'
);
CREATE SCHEMA gcs_hive.fb WITH (location = 'gs://firebase-events-archive-avro');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment