Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created July 28, 2023 08:02
Show Gist options
  • Save anna-geller/3315e5426c7aa3e4fbc4eeb547568fd6 to your computer and use it in GitHub Desktop.
Save anna-geller/3315e5426c7aa3e4fbc4eeb547568fd6 to your computer and use it in GitHub Desktop.
CREATE TABLE orders AS
SELECT *
FROM read_csv_auto('https://raw.githubusercontent.com/kestra-io/examples/main/datasets/orders.csv');
SELECT order_id,
hash(customer_name) as customer_name_hash,
md5(customer_email) as customer_email_hash,
product_id,
price,
quantity,
total
FROM orders;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment