-
Notifications
You must be signed in to change notification settings - Fork 160
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
Nomen clature for columns #1138
Comments
Totally agree that all the columns named Not so sure about the first point (or maybe I am missing the point). |
Those were just examples, there are a lot more that we would want to perhaps drill down and document , but my question was really if there is a preferred source at the moment where the column names come from (for instance, if there is a relation to the names for dbsync objects being initially built from ledger/consensus code-as-spec), if not - we should be able to brainstorm as ecosystem together across orgs/projects to perhaps have a higher level of consistency for object representation. About first point, I was referring to use of |
Adding these as well: I'd like to suggest to rename
|
Many of these changes sound reasonable. However, they would be breaking changes for exisisting applications and would require integration. |
IMO - a breaking change has been long pending, would be nice to reduce some of the backlog on these (will also allow for more freedom with tx_out table updates)? |
Hi Team,
We were thinking of adding a CIP for normalising variable names (and types) used at query layers using existing providers as baseline. Since a lot of the tooling extracts information via mini-Protocol or dbsync, would be good to know if there is a naming convention (for object representations like
block_no
,hash
) that is preferred to use as source or if there is flexibility/scope to make things more uniform where possible, couple of examples below:hash
for block and transaction itself, but then we havehash_raw
/view
for objects which often use bech32 representation (pool/stake_addresses), while foraddress
representation , we haveaddress_raw
/address
for hex/bech32 values.value
in (tx_out
collateral_tx_out
) vsamount
in account related tables (withdrawal
,reward
,reserves
,datum
) vsquantity
in asset representations (ma_tx_mint
/ma_tx_out
)There are still patterns here, so these are probably in place based on some logic. Depending on preferences (updates to dbsync vs only restrict ourselves to query layers themselves), we might be able to prepare a better initial draft and add issue/suggestions against appropriate destination repositories.
The text was updated successfully, but these errors were encountered: