-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tranche 2 parquet models #436
Conversation
rust/processor/src/db/common/models/coin_models/parquet_coin_supply.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/default_models/parquet_move_modules.rs
Outdated
Show resolved
Hide resolved
pub is_primary: bool, | ||
pub is_frozen: bool, | ||
pub amount: u64, | ||
pub transaction_timestamp: chrono::NaiveDateTime, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transaction_timestamp
-> block_timestamp
double check amount
is u64 not u128
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@larry-aptos I think the question is more like this whether it's supposed to be u128 or u64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rtso the FA expert. what's the intended behavior for balances? like octa in integer right?
rust/processor/src/db/common/models/token_v2_models/parquet_v2_collections.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_datas.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_ownerships.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/user_transactions_models/parquet_signatures.rs
Outdated
Show resolved
Hide resolved
668ab74
to
09baec7
Compare
09baec7
to
ca7ae80
Compare
rust/processor/src/db/common/models/default_models/parquet_move_modules.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/default_models/parquet_move_modules.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/default_models/parquet_move_modules.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/fungible_asset_models/mod.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/fungible_asset_models/parquet_coin_supply.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_datas.rs
Show resolved
Hide resolved
rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_ownerships.rs
Outdated
Show resolved
Hide resolved
rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_ownerships.rs
Show resolved
Hide resolved
a8e218c
to
dc1e398
Compare
dc1e398
to
4248fbd
Compare
rust/processor/src/db/common/models/default_models/parquet_transactions.rs
Show resolved
Hide resolved
@@ -103,6 +107,7 @@ impl Transaction { | |||
block_height: i64, | |||
epoch: i64, | |||
block_timestamp: chrono::NaiveDateTime, | |||
txn_size_info: Option<&TransactionSizeInfo>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lmk when you start backfill
rust/processor/src/db/common/models/events_models/parquet_events.rs
Outdated
Show resolved
Hide resolved
use serde::{Deserialize, Serialize}; | ||
|
||
#[derive( | ||
Allocative, Clone, Debug, Default, Deserialize, FieldCount, ParquetRecordWriter, Serialize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is Deserialize and Serialize required?
Description
Adding parquet models for tranche 2 for the following tables:
ans_primary_name_v2
Test plan
This is just to get aligned on the model schemas, nothing to test yet.