Open in app

Sign In

Write

Sign In

Rif Kiamil
Rif Kiamil

181 Followers

Home

Lists

About

Published in Google Cloud - Community

·Pinned

Full relational diagram for Ethereum public data on Google BigQuery

Full relational diagram for Ethereum data with SQL examples covering Internal Transactions, Ethereum Trace, Tokens and Smart Contracts.

Ethereum

4 min read

Full relational diagram for Ethereum public data on Google BigQuery
Full relational diagram for Ethereum public data on Google BigQuery
Ethereum

4 min read


Jan 24, 2022

Easy pivot() in BigQuery, finally
455
11

Felipe Hoffa

In May 2021 https://cloud.google.com/bigquery/docs/release-notes#May_10_2021

In May 2021 https://cloud.google.com/bigquery/docs/release-notes#May_10_2021 we got this feature for Google BigQuery https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#pivot_operator

1 min read

1 min read


Jun 4, 2021

Hello Rif, thank you for the article!
1

Guangyecao

In regards to bigquery-public-data:crypto_ethereum.token_transfers

In regards to bigquery-public-data:crypto_ethereum.token_transfers "The most popular type of transaction on the Ethereum blockchain invokes a contract of type ERC20 to perform a transfer operation, moving some number of tokens from one 20-byte address to another 20-byte address. This table contains the subset of those transactions and has further processed and denormalized the data to make it easier to consume for analysis of token transfer events." Ethereum ETL opensource code would cover any other items. Does that help? Do you have any other questions?

1 min read

1 min read


Feb 18, 2021

Simplified relational diagram for Ethereum public data on Google BigQuery

Find a simplified relational diagram for the Ethereum data coming from an amazing opensource project https://github.com/blockchain-etl. The full Ethereum diagram can be used if you want more details on the trace table and internal transactions. You can also find a simplified and full diagram for Bitcoin ₿.

Ethereum

2 min read

Simplified relational diagram for Ethereum public data on Google BigQuery
Simplified relational diagram for Ethereum public data on Google BigQuery
Ethereum

2 min read


Published in Google Cloud - Community

·Feb 17, 2021

The fastest way to learn SQL with Bitcoin data on a live database from Google — Part 2

In Part 1, we ran two different SQL queries on real databases and experienced the realities of working with large amounts of data. What I will cover in Part 2: Databases terms using a spreadsheet analogy Write our first SQL query to get Bitcoin data. Understanding SELECT, FROM and WHERE clause in SQL Databases terms using a spreadsheet analogy You will find a…

Sql

8 min read

The fastest way to learn SQL with Bitcoin data on a live database from Google — Part 2
The fastest way to learn SQL with Bitcoin data on a live database from Google — Part 2
Sql

8 min read


Published in Google Cloud - Community

·Feb 17, 2021

The fastest way to learn SQL with Bitcoin data on a live database from Google - Part 1

Why Learn SQL? Structured Query Language (SQL) is a language that allows you to communicate with and manipulate databases. SQL has been around for over 40 years; its the de facto language of people that work with data. Why Learn SQL with Bitcoin? When learning something new, it can often be best to find a catalyst or real-world…

Sql

5 min read

The fastest way to learn SQL with Bitcoin data on a live database from Google - Part 1
The fastest way to learn SQL with Bitcoin data on a live database from Google - Part 1
Sql

5 min read


Published in Google Cloud - Community

·Feb 12, 2021

Full relational diagram for Bitcoin public data on Google BigQuery

Find a full relational diagram for the Bitcoin data coming from an amazing opensource project https://github.com/blockchain-etl/bitcoin-etl. If you prefer to deal with star or snowflake schema more check out my simplified relational diagram. Two RECORDS type fields in crypto_bitcoin.transactions As each Bitcoin transaction can move money from multiple wallets (inputs) to multiple wallets (outputs) we need…

Sql

2 min read

Full relational diagram for Bitcoin public data on Google BigQuery
Full relational diagram for Bitcoin public data on Google BigQuery
Sql

2 min read


Feb 12, 2021

Step by Step Guide of Bigquery Sandbox

Guide to setup BigQuery without a credit card. Great news for billions of people that don’t own a credit card, you can now access one of the most powerful databases on the internet. A step by step video guide can also be found on youtube. Step 1 - Go to https://console.cloud.google.com/bigquery Always use the following URL…

Bigquery

2 min read

Step by Step Guide of Bigquery Sandbox
Step by Step Guide of Bigquery Sandbox
Bigquery

2 min read


Feb 12, 2021

Simplified relational diagram for Bitcoin public data on Google BigQuery

Find a simplified relational diagram for the Bitcoin data coming from an amazing opensource project https://github.com/blockchain-etl/bitcoin-etl. Keeping cost low When working with crypto_bitcoin.blocks and crypto_bitcoin.transactions try to use partitioned field block_timestamp_month. This will speed up your queries and reduce your costs. WHERE transactions.block_timestamp_month = '2021-02-01' WHERE blocks.block_timestamp_month = '2010-12-01'

Bigquery

2 min read

Simplified relational diagram for Bitcoin public data on Google BigQuery
Simplified relational diagram for Bitcoin public data on Google BigQuery
Bigquery

2 min read


Published in Devs @ FOODit

·Sep 25, 2015

I spent $$$ on Eric Ries’ Kickstarter & found out that Computer Chips & Potato Chips have more in common than you think

I just got back from China where I got to meet 14 hardware startups as well as HighWay1: a company that’s helping them turn their prototypes into products. …

Hardware Accelerator

4 min read

I spent $3000 on Kickstarter & found out that Computer Chips & Potato Chips have more in common…
I spent $3000 on Kickstarter & found out that Computer Chips & Potato Chips have more in common…
Hardware Accelerator

4 min read

Rif Kiamil

Rif Kiamil

181 Followers

Happy to answer questions on SQL, ERP, Blockchain & Google Cloud Platform.

Following
  • Meyyappan MeenakshiSundaram

    Meyyappan MeenakshiSundaram

  • Oykun, Designer

    Oykun, Designer

  • Lak Lakshmanan

    Lak Lakshmanan

  • Felipe Hoffa

    Felipe Hoffa

  • Kenny Franks

    Kenny Franks

See all (216)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech